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_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewCanvas swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewControlBar swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewFrame swig_types[103]
2570 #define SWIGTYPE_p_wxPrintData swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialogData swig_types[106]
2573 #define SWIGTYPE_p_wxPrintPreview swig_types[107]
2574 #define SWIGTYPE_p_wxPrinter swig_types[108]
2575 #define SWIGTYPE_p_wxProgressDialog swig_types[109]
2576 #define SWIGTYPE_p_wxPyApp swig_types[110]
2577 #define SWIGTYPE_p_wxPyCommandEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[113]
2580 #define SWIGTYPE_p_wxPyImageHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPyPanel swig_types[115]
2582 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[117]
2584 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintPreview swig_types[119]
2586 #define SWIGTYPE_p_wxPyPrintout swig_types[120]
2587 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPySizer swig_types[122]
2589 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[123]
2590 #define SWIGTYPE_p_wxPyVListBox swig_types[124]
2591 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxPyWindow swig_types[127]
2594 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxSashEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSashWindow swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrolledWindow swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[140]
2607 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[141]
2608 #define SWIGTYPE_p_wxSize swig_types[142]
2609 #define SWIGTYPE_p_wxSizeEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxSizerItem swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreen swig_types[146]
2613 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSplitterWindow swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStatusBar swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIcon swig_types[157]
2624 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[158]
2625 #define SWIGTYPE_p_wxTextEntryDialog swig_types[159]
2626 #define SWIGTYPE_p_wxTipWindow swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxTopLevelWindow swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _windows_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_windows_
2663 #define SWIG_name "_windows_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2746 # define LLONG_MIN LONG_LONG_MIN
2749 # define LLONG_MAX LONG_LONG_MAX
2752 # define ULLONG_MAX ULONG_LONG_MAX
2757 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2759 if (PyNumber_Check(obj
)) {
2760 if (val
) *val
= PyInt_AsLong(obj
);
2763 return SWIG_TypeError
;
2768 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2771 int res
= SWIG_AsVal_long (obj
, &v
);
2772 if (SWIG_IsOK(res
)) {
2773 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2774 return SWIG_OverflowError
;
2776 if (val
) *val
= static_cast< int >(v
);
2784 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2786 if (obj
== Py_True
) {
2787 if (val
) *val
= true;
2789 } else if (obj
== Py_False
) {
2790 if (val
) *val
= false;
2794 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2795 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2801 #define SWIG_From_long PyInt_FromLong
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_int (int value
)
2807 return SWIG_From_long (value
);
2812 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2814 if (PyNumber_Check(obj
)) {
2815 if (val
) *val
= PyFloat_AsDouble(obj
);
2818 return SWIG_TypeError
;
2822 #define SWIG_From_double PyFloat_FromDouble
2824 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2825 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2826 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2827 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2828 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2829 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2831 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2835 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2837 self
->GetFieldRect(i
, r
);
2840 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2841 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2842 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2844 #include <wx/popupwin.h>
2847 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2850 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2851 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2852 : wxPopupTransientWindow(parent
, style
) {}
2854 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2855 DEC_PYCALLBACK__(OnDismiss
);
2856 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2861 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2862 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2863 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2866 #include <wx/tipwin.h>
2868 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2869 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2872 #include <wx/tipwin.h>
2875 #include <wx/vscroll.h>
2878 class wxPyVScrolledWindow
: public wxVScrolledWindow
2880 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2882 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2884 wxPyVScrolledWindow(wxWindow
*parent
,
2885 wxWindowID id
= wxID_ANY
,
2886 const wxPoint
& pos
= wxDefaultPosition
,
2887 const wxSize
& size
= wxDefaultSize
,
2889 const wxString
& name
= wxPyPanelNameStr
)
2890 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2893 // Overridable virtuals
2895 // this function must be overridden in the derived class and it should
2896 // return the height of the given line in pixels
2897 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2900 // this function doesn't have to be overridden but it may be useful to do
2901 // it if calculating the lines heights is a relatively expensive operation
2902 // as it gives the user code a possibility to calculate several of them at
2905 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2906 // shouldn't rely on the latter being called for all lines in the interval
2907 // specified here. It is also possible that OnGetLineHeight() will be
2908 // called for the lines outside of this interval, so this is really just a
2909 // hint, not a promise.
2911 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2913 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2916 // when the number of lines changes, we try to estimate the total height
2917 // of all lines which is a rather expensive operation in terms of lines
2918 // access, so if the user code may estimate the average height
2919 // better/faster than we do, it should override this function to implement
2922 // this function should return the best guess for the total height it may
2924 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2927 // Also expose some other interesting protected methods
2930 // find the index of the line we need to show at the top of the window such
2931 // that the last (fully or partially) visible line is the given one
2932 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2933 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2935 // get the total height of the lines between lineMin (inclusive) and
2936 // lineMax (exclusive)
2937 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2938 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2940 // update the thumb size shown by the scrollbar
2941 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2943 // remove the scrollbar completely because we don't need it
2944 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2949 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2951 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2952 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2953 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2957 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2960 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2961 return SWIG_TypeError
;
2964 *val
= (unsigned long)v
;
2969 SWIGINTERNINLINE
int
2970 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2973 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2974 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2979 SWIGINTERNINLINE PyObject
*
2980 SWIG_From_unsigned_SS_long (unsigned long value
)
2982 return (value
> LONG_MAX
) ?
2983 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2987 SWIGINTERNINLINE PyObject
*
2988 SWIG_From_size_t (size_t value
)
2990 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2994 #include <wx/vlbox.h>
2996 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2998 class wxPyVListBox
: public wxVListBox
3000 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3002 wxPyVListBox() : wxVListBox() {}
3004 wxPyVListBox(wxWindow
*parent
,
3005 wxWindowID id
= wxID_ANY
,
3006 const wxPoint
& pos
= wxDefaultPosition
,
3007 const wxSize
& size
= wxDefaultSize
,
3009 const wxString
& name
= wxPyVListBoxNameStr
)
3010 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3013 // Overridable virtuals
3015 // the derived class must implement this function to actually draw the item
3016 // with the given index on the provided DC
3017 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3018 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3021 // the derived class must implement this method to return the height of the
3023 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3024 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3027 // this method may be used to draw separators between the lines; note that
3028 // the rectangle may be modified, typically to deflate it a bit before
3029 // passing to OnDrawItem()
3031 // the base class version doesn't do anything
3032 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3033 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3036 // this method is used to draw the items background and, maybe, a border
3039 // the base class version implements a reasonable default behaviour which
3040 // consists in drawing the selected item with the standard background
3041 // colour and drawing a border around the item if it is either selected or
3043 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3044 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3050 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3052 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3053 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3054 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3055 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3058 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3059 unsigned long cookie
= 0;
3060 int selected
= self
->GetFirstSelected(cookie
);
3061 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3062 PyObject
* tup
= PyTuple_New(2);
3063 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3064 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3065 wxPyEndBlockThreads(blocked
);
3068 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3069 int selected
= self
->GetNextSelected(cookie
);
3070 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3071 PyObject
* tup
= PyTuple_New(2);
3072 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3073 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3074 wxPyEndBlockThreads(blocked
);
3078 #include <wx/htmllbox.h>
3081 class wxPyHtmlListBox
: public wxHtmlListBox
3083 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3085 wxPyHtmlListBox() : wxHtmlListBox() {}
3087 wxPyHtmlListBox(wxWindow
*parent
,
3088 wxWindowID id
= wxID_ANY
,
3089 const wxPoint
& pos
= wxDefaultPosition
,
3090 const wxSize
& size
= wxDefaultSize
,
3092 const wxString
& name
= wxPyVListBoxNameStr
)
3093 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3096 // Overridable virtuals
3098 // this method must be implemented in the derived class and should return
3099 // the body (i.e. without <html>) of the HTML for the given item
3100 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3102 // this function may be overridden to decorate HTML returned by OnGetItem()
3103 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3105 // These are from wxVListBox
3106 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3107 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3110 // // this method allows to customize the selection appearance: it may be used
3111 // // to specify the colour of the text which normally has the given colour
3112 // // colFg when it is inside the selection
3114 // // by default, the original colour is not used at all and all text has the
3115 // // same (default for this system) colour inside selection
3116 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3118 // // this is the same as GetSelectedTextColour() but allows to customize the
3119 // // background colour -- this is even more rarely used as you can change it
3120 // // globally using SetSelectionBackground()
3121 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3124 // This method may be overriden to handle clicking on a link in
3125 // the listbox. By default, clicking links is ignored.
3126 virtual void OnLinkClicked(size_t n
,
3127 const wxHtmlLinkInfo
& link
);
3133 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3135 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3136 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3137 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3138 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3141 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3142 const wxHtmlLinkInfo
& link
) {
3144 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3145 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3146 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3147 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3150 wxPyEndBlockThreads(blocked
);
3152 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3157 const wxArrayString wxPyEmptyStringArray
;
3159 static const wxString
wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr
);
3163 #ifndef wxHAS_TASK_BAR_ICON
3164 // implement dummy classes for platforms that don't have it
3166 class wxTaskBarIcon
: public wxEvtHandler
3169 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3173 class wxTaskBarIconEvent
: public wxEvent
3176 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3177 { wxPyRaiseNotImplemented(); }
3178 virtual wxEvent
* Clone() const { return NULL
; }
3179 bool IsOk() const { return false; }
3180 bool IsIconInstalled() const { return false; }
3181 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3182 bool RemoveIcon() { return false; }
3183 bool PopupMenu(wxMenu
*menu
) { return false; }
3187 wxEVT_TASKBAR_MOVE
= 0,
3188 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3189 wxEVT_TASKBAR_LEFT_UP
= 0,
3190 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3191 wxEVT_TASKBAR_RIGHT_UP
= 0,
3192 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3193 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3198 // Otherwise make a class that can virtualize CreatePopupMenu
3199 class wxPyTaskBarIcon
: public wxTaskBarIcon
3201 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3203 wxPyTaskBarIcon() : wxTaskBarIcon()
3206 wxMenu
* CreatePopupMenu() {
3207 wxMenu
*rval
= NULL
;
3209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3210 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3213 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3215 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3220 wxPyEndBlockThreads(blocked
);
3222 rval
= wxTaskBarIcon::CreatePopupMenu();
3229 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3233 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3237 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3238 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3239 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3240 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3241 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3242 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3244 // for compatibility only
3245 #define wxHIDE_READONLY 0
3247 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3249 self
->GetFilenames(arr
);
3250 return wxArrayString2PyList_helper(arr
);
3252 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3254 self
->GetPaths(arr
);
3255 return wxArrayString2PyList_helper(arr
);
3257 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3258 return wxArrayInt2PyList_helper(self
->GetSelections());
3260 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
){
3261 return new wxSingleChoiceDialog(parent
, message
, caption
,
3262 choices
, choices_array
, NULL
, style
, pos
);
3264 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3266 SWIGINTERNINLINE PyObject
*
3267 SWIG_From_bool (bool value
)
3269 return PyBool_FromLong(value
? 1 : 0);
3275 // C++ version of Python aware wxWindow
3276 class wxPyWindow
: public wxWindow
3278 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3280 wxPyWindow() : wxWindow() {}
3281 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3282 const wxPoint
& pos
= wxDefaultPosition
,
3283 const wxSize
& size
= wxDefaultSize
,
3285 const wxString
& name
= wxPyPanelNameStr
)
3286 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3289 bool DoEraseBackground(wxDC
* dc
) {
3291 return wxWindow::DoEraseBackground(dc
->GetHDC());
3293 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3299 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3300 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3302 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3306 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3308 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3309 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3311 DEC_PYCALLBACK__(InitDialog
);
3312 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3313 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3314 DEC_PYCALLBACK_BOOL_(Validate
);
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3317 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3318 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3320 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3321 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3323 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3324 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3326 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3328 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3333 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3335 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3336 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3337 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3338 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3340 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3342 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3347 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3348 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3352 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3353 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3354 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3356 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3357 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3359 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3360 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3362 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3364 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3366 // C++ version of Python aware wxPanel
3367 class wxPyPanel
: public wxPanel
3369 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3371 wxPyPanel() : wxPanel() {}
3372 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3373 const wxPoint
& pos
= wxDefaultPosition
,
3374 const wxSize
& size
= wxDefaultSize
,
3376 const wxString
& name
= wxPyPanelNameStr
)
3377 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3379 bool DoEraseBackground(wxDC
* dc
) {
3381 return wxWindow::DoEraseBackground(dc
->GetHDC());
3383 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3390 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3391 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3393 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3397 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3399 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3400 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3402 DEC_PYCALLBACK__(InitDialog
);
3403 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3404 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3405 DEC_PYCALLBACK_BOOL_(Validate
);
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3408 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3409 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3411 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3412 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3414 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3415 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3417 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3419 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3424 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3426 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3427 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3428 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3429 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3431 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3433 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3436 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3438 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3439 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3441 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3443 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3444 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3445 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3447 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3448 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3451 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3453 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3455 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3457 // C++ version of Python aware wxScrolledWindow
3458 class wxPyScrolledWindow
: public wxScrolledWindow
3460 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3462 wxPyScrolledWindow() : wxScrolledWindow() {}
3463 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3464 const wxPoint
& pos
= wxDefaultPosition
,
3465 const wxSize
& size
= wxDefaultSize
,
3467 const wxString
& name
= wxPyPanelNameStr
)
3468 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3470 bool DoEraseBackground(wxDC
* dc
) {
3472 return wxWindow::DoEraseBackground(dc
->GetHDC());
3474 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3480 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3481 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3483 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3487 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3489 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3490 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3492 DEC_PYCALLBACK__(InitDialog
);
3493 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3494 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3495 DEC_PYCALLBACK_BOOL_(Validate
);
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3498 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3499 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3501 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3502 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3504 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3505 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3507 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3509 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3514 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3516 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3517 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3518 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3519 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3521 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3523 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3528 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3529 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3531 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3534 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3535 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3537 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3538 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3541 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3543 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3545 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3548 #include "wx/wxPython/printfw.h"
3551 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3552 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3553 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3555 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3556 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3557 self
->GetPrivDataLen());
3558 wxPyEndBlockThreads(blocked
);
3561 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3562 if (! PyString_Check(data
)) {
3563 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3564 "Expected string object"));
3568 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3569 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3570 wxPyEndBlockThreads(blocked
);
3574 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3576 // Since this one would be tough and ugly to do with the Macros...
3577 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3578 bool hadErr
= false;
3581 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3582 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3583 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3584 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3587 val
= PyTuple_GetItem(result
, 0);
3588 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3591 val
= PyTuple_GetItem(result
, 1);
3592 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3595 val
= PyTuple_GetItem(result
, 2);
3596 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3599 val
= PyTuple_GetItem(result
, 3);
3600 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3607 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3612 wxPyEndBlockThreads(blocked
);
3614 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3619 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3620 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3621 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3622 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3623 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3624 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3625 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3631 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3632 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3635 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3636 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3639 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3640 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3641 PyObject* win = wxPyMake_wxObject(a,false); \
3642 PyObject* dc = wxPyMake_wxObject(&b,false); \
3643 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3647 wxPyEndBlockThreads(blocked); \
3649 rval = PCLASS::CBNAME(a, b); \
3656 class wxPyPrintPreview
: public wxPrintPreview
3658 DECLARE_CLASS(wxPyPrintPreview
)
3660 wxPyPrintPreview(wxPyPrintout
* printout
,
3661 wxPyPrintout
* printoutForPrinting
,
3662 wxPrintDialogData
* data
=NULL
)
3663 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3665 wxPyPrintPreview(wxPyPrintout
* printout
,
3666 wxPyPrintout
* printoutForPrinting
,
3668 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3671 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3673 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3674 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3675 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3676 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3677 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3682 // Stupid renamed classes... Fix this in 2.5...
3683 #if defined(__WXMSW__)
3684 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3685 #elif defined(__WXMAC__)
3686 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3688 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3691 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3692 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3693 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3694 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3695 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3696 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3697 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3700 class wxPyPreviewFrame
: public wxPreviewFrame
3702 DECLARE_CLASS(wxPyPreviewFrame
)
3704 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3705 const wxString
& title
,
3706 const wxPoint
& pos
= wxDefaultPosition
,
3707 const wxSize
& size
= wxDefaultSize
,
3708 long style
= wxDEFAULT_FRAME_STYLE
,
3709 const wxString
& name
= wxPyFrameNameStr
)
3710 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3713 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3714 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3716 DEC_PYCALLBACK_VOID_(Initialize
);
3717 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3718 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3723 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3727 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3730 class wxPyPreviewControlBar
: public wxPreviewControlBar
3732 DECLARE_CLASS(wxPyPreviewControlBar
)
3734 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3737 const wxPoint
& pos
= wxDefaultPosition
,
3738 const wxSize
& size
= wxDefaultSize
,
3740 const wxString
& name
= wxPyPanelNameStr
)
3741 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3744 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3746 DEC_PYCALLBACK_VOID_(CreateButtons
);
3747 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3752 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3753 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3754 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3759 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
= 0;
3761 wxWindow
*arg1
= (wxWindow
*) 0 ;
3762 int arg2
= (int) (int)-1 ;
3763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3767 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3768 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3769 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3770 wxPanel
*result
= 0 ;
3779 bool temp6
= false ;
3780 PyObject
* obj0
= 0 ;
3781 PyObject
* obj1
= 0 ;
3782 PyObject
* obj2
= 0 ;
3783 PyObject
* obj3
= 0 ;
3784 PyObject
* obj4
= 0 ;
3785 PyObject
* obj5
= 0 ;
3786 char * kwnames
[] = {
3787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3792 if (!SWIG_IsOK(res1
)) {
3793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3798 if (!SWIG_IsOK(ecode2
)) {
3799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3801 arg2
= static_cast< int >(val2
);
3806 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3812 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3816 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3817 if (!SWIG_IsOK(ecode5
)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3820 arg5
= static_cast< long >(val5
);
3824 arg6
= wxString_in_helper(obj5
);
3825 if (arg6
== NULL
) SWIG_fail
;
3830 if (!wxPyCheckForApp()) SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3832 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3851 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3852 PyObject
*resultobj
= 0;
3853 wxPanel
*result
= 0 ;
3855 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3857 if (!wxPyCheckForApp()) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (wxPanel
*)new wxPanel();
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3870 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
= 0;
3872 wxPanel
*arg1
= (wxPanel
*) 0 ;
3873 wxWindow
*arg2
= (wxWindow
*) 0 ;
3874 int arg3
= (int) (int)-1 ;
3875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3879 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3880 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3881 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3893 bool temp7
= false ;
3894 PyObject
* obj0
= 0 ;
3895 PyObject
* obj1
= 0 ;
3896 PyObject
* obj2
= 0 ;
3897 PyObject
* obj3
= 0 ;
3898 PyObject
* obj4
= 0 ;
3899 PyObject
* obj5
= 0 ;
3900 PyObject
* obj6
= 0 ;
3901 char * kwnames
[] = {
3902 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3907 if (!SWIG_IsOK(res1
)) {
3908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3910 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3912 if (!SWIG_IsOK(res2
)) {
3913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3915 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3918 if (!SWIG_IsOK(ecode3
)) {
3919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3921 arg3
= static_cast< int >(val3
);
3926 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3932 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3936 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3937 if (!SWIG_IsOK(ecode6
)) {
3938 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3940 arg6
= static_cast< long >(val6
);
3944 arg7
= wxString_in_helper(obj6
);
3945 if (arg7
== NULL
) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3972 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3973 PyObject
*resultobj
= 0;
3974 wxPanel
*arg1
= (wxPanel
*) 0 ;
3977 PyObject
*swig_obj
[1] ;
3979 if (!args
) SWIG_fail
;
3981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3982 if (!SWIG_IsOK(res1
)) {
3983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3985 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3988 (arg1
)->SetFocusIgnoringChildren();
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 resultobj
= SWIG_Py_Void();
3999 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
= 0;
4001 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4002 SwigValueWrapper
<wxVisualAttributes
> result
;
4005 PyObject
* obj0
= 0 ;
4006 char * kwnames
[] = {
4007 (char *) "variant", NULL
4010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4013 if (!SWIG_IsOK(ecode1
)) {
4014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4016 arg1
= static_cast< wxWindowVariant
>(val1
);
4019 if (!wxPyCheckForApp()) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4032 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4036 return SWIG_Py_Void();
4039 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4040 return SWIG_Python_InitShadowInstance(args
);
4043 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
= 0;
4045 wxWindow
*arg1
= (wxWindow
*) 0 ;
4046 int arg2
= (int) (int)-1 ;
4047 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4048 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4049 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4050 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4051 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4052 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4053 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4054 wxScrolledWindow
*result
= 0 ;
4063 bool temp6
= false ;
4064 PyObject
* obj0
= 0 ;
4065 PyObject
* obj1
= 0 ;
4066 PyObject
* obj2
= 0 ;
4067 PyObject
* obj3
= 0 ;
4068 PyObject
* obj4
= 0 ;
4069 PyObject
* obj5
= 0 ;
4070 char * kwnames
[] = {
4071 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4076 if (!SWIG_IsOK(res1
)) {
4077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4082 if (!SWIG_IsOK(ecode2
)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4085 arg2
= static_cast< int >(val2
);
4090 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4096 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4100 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4101 if (!SWIG_IsOK(ecode5
)) {
4102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4104 arg5
= static_cast< long >(val5
);
4108 arg6
= wxString_in_helper(obj5
);
4109 if (arg6
== NULL
) SWIG_fail
;
4114 if (!wxPyCheckForApp()) SWIG_fail
;
4115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4116 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4135 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4136 PyObject
*resultobj
= 0;
4137 wxScrolledWindow
*result
= 0 ;
4139 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4141 if (!wxPyCheckForApp()) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4154 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
= 0;
4156 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4157 wxWindow
*arg2
= (wxWindow
*) 0 ;
4158 int arg3
= (int) (int)-1 ;
4159 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4160 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4161 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4162 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4163 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4164 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4165 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4177 bool temp7
= false ;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4180 PyObject
* obj2
= 0 ;
4181 PyObject
* obj3
= 0 ;
4182 PyObject
* obj4
= 0 ;
4183 PyObject
* obj5
= 0 ;
4184 PyObject
* obj6
= 0 ;
4185 char * kwnames
[] = {
4186 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4191 if (!SWIG_IsOK(res1
)) {
4192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4194 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4196 if (!SWIG_IsOK(res2
)) {
4197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4199 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4202 if (!SWIG_IsOK(ecode3
)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4205 arg3
= static_cast< int >(val3
);
4210 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4216 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4220 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4221 if (!SWIG_IsOK(ecode6
)) {
4222 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4224 arg6
= static_cast< long >(val6
);
4228 arg7
= wxString_in_helper(obj6
);
4229 if (arg7
== NULL
) SWIG_fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4256 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
= 0;
4258 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4263 int arg6
= (int) 0 ;
4264 int arg7
= (int) 0 ;
4265 bool arg8
= (bool) false ;
4282 PyObject
* obj0
= 0 ;
4283 PyObject
* obj1
= 0 ;
4284 PyObject
* obj2
= 0 ;
4285 PyObject
* obj3
= 0 ;
4286 PyObject
* obj4
= 0 ;
4287 PyObject
* obj5
= 0 ;
4288 PyObject
* obj6
= 0 ;
4289 PyObject
* obj7
= 0 ;
4290 char * kwnames
[] = {
4291 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4296 if (!SWIG_IsOK(res1
)) {
4297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4299 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4301 if (!SWIG_IsOK(ecode2
)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4304 arg2
= static_cast< int >(val2
);
4305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4306 if (!SWIG_IsOK(ecode3
)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4309 arg3
= static_cast< int >(val3
);
4310 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4311 if (!SWIG_IsOK(ecode4
)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4314 arg4
= static_cast< int >(val4
);
4315 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4316 if (!SWIG_IsOK(ecode5
)) {
4317 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4319 arg5
= static_cast< int >(val5
);
4321 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4322 if (!SWIG_IsOK(ecode6
)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4325 arg6
= static_cast< int >(val6
);
4328 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4329 if (!SWIG_IsOK(ecode7
)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4332 arg7
= static_cast< int >(val7
);
4335 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4336 if (!SWIG_IsOK(ecode8
)) {
4337 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4339 arg8
= static_cast< bool >(val8
);
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_Py_Void();
4354 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
= 0;
4356 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4365 PyObject
* obj0
= 0 ;
4366 PyObject
* obj1
= 0 ;
4367 PyObject
* obj2
= 0 ;
4368 char * kwnames
[] = {
4369 (char *) "self",(char *) "x",(char *) "y", NULL
4372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4374 if (!SWIG_IsOK(res1
)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4377 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4379 if (!SWIG_IsOK(ecode2
)) {
4380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4382 arg2
= static_cast< int >(val2
);
4383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4384 if (!SWIG_IsOK(ecode3
)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4387 arg3
= static_cast< int >(val3
);
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 (arg1
)->Scroll(arg2
,arg3
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 resultobj
= SWIG_Py_Void();
4401 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
= 0;
4403 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4412 char * kwnames
[] = {
4413 (char *) "self",(char *) "orient", NULL
4416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4418 if (!SWIG_IsOK(res1
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4421 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4423 if (!SWIG_IsOK(ecode2
)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4426 arg2
= static_cast< int >(val2
);
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= SWIG_From_int(static_cast< int >(result
));
4440 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
= 0;
4442 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4452 PyObject
* obj1
= 0 ;
4453 PyObject
* obj2
= 0 ;
4454 char * kwnames
[] = {
4455 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4460 if (!SWIG_IsOK(res1
)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4463 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4465 if (!SWIG_IsOK(ecode2
)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4468 arg2
= static_cast< int >(val2
);
4469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4470 if (!SWIG_IsOK(ecode3
)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4473 arg3
= static_cast< int >(val3
);
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= SWIG_Py_Void();
4487 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
= 0;
4489 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4498 PyObject
* obj0
= 0 ;
4499 PyObject
* obj1
= 0 ;
4500 PyObject
* obj2
= 0 ;
4501 char * kwnames
[] = {
4502 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4507 if (!SWIG_IsOK(res1
)) {
4508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4510 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4512 if (!SWIG_IsOK(ecode2
)) {
4513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4515 arg2
= static_cast< int >(val2
);
4516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4517 if (!SWIG_IsOK(ecode3
)) {
4518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4520 arg3
= static_cast< int >(val3
);
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 (arg1
)->SetScrollRate(arg2
,arg3
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= SWIG_Py_Void();
4534 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4535 PyObject
*resultobj
= 0;
4536 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4537 int *arg2
= (int *) 0 ;
4538 int *arg3
= (int *) 0 ;
4542 int res2
= SWIG_TMPOBJ
;
4544 int res3
= SWIG_TMPOBJ
;
4545 PyObject
*swig_obj
[1] ;
4549 if (!args
) SWIG_fail
;
4551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4552 if (!SWIG_IsOK(res1
)) {
4553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4555 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4562 resultobj
= SWIG_Py_Void();
4563 if (SWIG_IsTmpObj(res2
)) {
4564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4566 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4569 if (SWIG_IsTmpObj(res3
)) {
4570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4572 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4581 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
*resultobj
= 0;
4583 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4592 PyObject
* obj0
= 0 ;
4593 PyObject
* obj1
= 0 ;
4594 PyObject
* obj2
= 0 ;
4595 char * kwnames
[] = {
4596 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4601 if (!SWIG_IsOK(res1
)) {
4602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4604 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4605 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4606 if (!SWIG_IsOK(ecode2
)) {
4607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4609 arg2
= static_cast< bool >(val2
);
4610 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4611 if (!SWIG_IsOK(ecode3
)) {
4612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4614 arg3
= static_cast< bool >(val3
);
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 (arg1
)->EnableScrolling(arg2
,arg3
);
4618 wxPyEndAllowThreads(__tstate
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4621 resultobj
= SWIG_Py_Void();
4628 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4629 PyObject
*resultobj
= 0;
4630 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4631 int *arg2
= (int *) 0 ;
4632 int *arg3
= (int *) 0 ;
4636 int res2
= SWIG_TMPOBJ
;
4638 int res3
= SWIG_TMPOBJ
;
4639 PyObject
*swig_obj
[1] ;
4643 if (!args
) SWIG_fail
;
4645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4646 if (!SWIG_IsOK(res1
)) {
4647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4649 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= SWIG_Py_Void();
4657 if (SWIG_IsTmpObj(res2
)) {
4658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4660 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4663 if (SWIG_IsTmpObj(res3
)) {
4664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4666 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4675 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
= 0;
4677 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4686 PyObject
* obj0
= 0 ;
4687 PyObject
* obj1
= 0 ;
4688 PyObject
* obj2
= 0 ;
4689 char * kwnames
[] = {
4690 (char *) "self",(char *) "xs",(char *) "ys", NULL
4693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4695 if (!SWIG_IsOK(res1
)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4698 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4699 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4700 if (!SWIG_IsOK(ecode2
)) {
4701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4703 arg2
= static_cast< double >(val2
);
4704 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4705 if (!SWIG_IsOK(ecode3
)) {
4706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4708 arg3
= static_cast< double >(val3
);
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 (arg1
)->SetScale(arg2
,arg3
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 resultobj
= SWIG_Py_Void();
4722 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4723 PyObject
*resultobj
= 0;
4724 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4728 PyObject
*swig_obj
[1] ;
4730 if (!args
) SWIG_fail
;
4732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4733 if (!SWIG_IsOK(res1
)) {
4734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4736 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= SWIG_From_double(static_cast< double >(result
));
4750 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4751 PyObject
*resultobj
= 0;
4752 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4756 PyObject
*swig_obj
[1] ;
4758 if (!args
) SWIG_fail
;
4760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4761 if (!SWIG_IsOK(res1
)) {
4762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4764 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= SWIG_From_double(static_cast< double >(result
));
4778 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4779 PyObject
*resultobj
= 0;
4780 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4787 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4789 if (!SWIG_IsOK(res1
)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4792 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4795 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4803 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4810 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4811 PyObject
*resultobj
= 0;
4812 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4815 int *arg4
= (int *) 0 ;
4816 int *arg5
= (int *) 0 ;
4824 int res4
= SWIG_TMPOBJ
;
4826 int res5
= SWIG_TMPOBJ
;
4830 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4832 if (!SWIG_IsOK(res1
)) {
4833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4835 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4836 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4837 if (!SWIG_IsOK(ecode2
)) {
4838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4840 arg2
= static_cast< int >(val2
);
4841 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4842 if (!SWIG_IsOK(ecode3
)) {
4843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4845 arg3
= static_cast< int >(val3
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4849 wxPyEndAllowThreads(__tstate
);
4850 if (PyErr_Occurred()) SWIG_fail
;
4852 resultobj
= SWIG_Py_Void();
4853 if (SWIG_IsTmpObj(res4
)) {
4854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4856 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4859 if (SWIG_IsTmpObj(res5
)) {
4860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4862 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4871 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4875 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4878 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4881 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4885 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4890 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4891 PyObject
*resultobj
= 0;
4892 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4899 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4901 if (!SWIG_IsOK(res1
)) {
4902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4904 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4907 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4922 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4923 PyObject
*resultobj
= 0;
4924 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4927 int *arg4
= (int *) 0 ;
4928 int *arg5
= (int *) 0 ;
4936 int res4
= SWIG_TMPOBJ
;
4938 int res5
= SWIG_TMPOBJ
;
4942 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4944 if (!SWIG_IsOK(res1
)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4947 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4948 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4949 if (!SWIG_IsOK(ecode2
)) {
4950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4952 arg2
= static_cast< int >(val2
);
4953 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4954 if (!SWIG_IsOK(ecode3
)) {
4955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4957 arg3
= static_cast< int >(val3
);
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4961 wxPyEndAllowThreads(__tstate
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4964 resultobj
= SWIG_Py_Void();
4965 if (SWIG_IsTmpObj(res4
)) {
4966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4968 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4971 if (SWIG_IsTmpObj(res5
)) {
4972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4974 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4983 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4987 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4990 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4993 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4997 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5002 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5003 PyObject
*resultobj
= 0;
5004 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5007 PyObject
*swig_obj
[1] ;
5009 if (!args
) SWIG_fail
;
5011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5012 if (!SWIG_IsOK(res1
)) {
5013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5015 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 (arg1
)->AdjustScrollbars();
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 resultobj
= SWIG_Py_Void();
5029 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
= 0;
5031 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5032 wxScrollWinEvent
*arg2
= 0 ;
5038 PyObject
* obj0
= 0 ;
5039 PyObject
* obj1
= 0 ;
5040 char * kwnames
[] = {
5041 (char *) "self",(char *) "event", NULL
5044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5046 if (!SWIG_IsOK(res1
)) {
5047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5049 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5051 if (!SWIG_IsOK(res2
)) {
5052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5057 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 resultobj
= SWIG_From_int(static_cast< int >(result
));
5071 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
= 0;
5073 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5074 wxWindow
*arg2
= (wxWindow
*) 0 ;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5081 char * kwnames
[] = {
5082 (char *) "self",(char *) "target", NULL
5085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5087 if (!SWIG_IsOK(res1
)) {
5088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5090 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5091 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5092 if (!SWIG_IsOK(res2
)) {
5093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5095 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 (arg1
)->SetTargetWindow(arg2
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_Py_Void();
5109 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5110 PyObject
*resultobj
= 0;
5111 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5112 wxWindow
*result
= 0 ;
5115 PyObject
*swig_obj
[1] ;
5117 if (!args
) SWIG_fail
;
5119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5120 if (!SWIG_IsOK(res1
)) {
5121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5123 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= wxPyMake_wxObject(result
, 0);
5139 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
*resultobj
= 0;
5141 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5148 char * kwnames
[] = {
5149 (char *) "self",(char *) "rect", NULL
5152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",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_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5157 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5160 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= SWIG_Py_Void();
5175 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5176 PyObject
*resultobj
= 0;
5177 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5181 PyObject
*swig_obj
[1] ;
5183 if (!args
) SWIG_fail
;
5185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5186 if (!SWIG_IsOK(res1
)) {
5187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5189 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5203 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
= 0;
5205 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5211 PyObject
* obj0
= 0 ;
5212 PyObject
* obj1
= 0 ;
5213 char * kwnames
[] = {
5214 (char *) "self",(char *) "dc", NULL
5217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5219 if (!SWIG_IsOK(res1
)) {
5220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5222 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5224 if (!SWIG_IsOK(res2
)) {
5225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5230 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 (arg1
)->DoPrepareDC(*arg2
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_Py_Void();
5244 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5247 SwigValueWrapper
<wxVisualAttributes
> result
;
5250 PyObject
* obj0
= 0 ;
5251 char * kwnames
[] = {
5252 (char *) "variant", NULL
5255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5257 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5258 if (!SWIG_IsOK(ecode1
)) {
5259 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5261 arg1
= static_cast< wxWindowVariant
>(val1
);
5264 if (!wxPyCheckForApp()) SWIG_fail
;
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5277 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5280 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5281 return SWIG_Py_Void();
5284 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5285 return SWIG_Python_InitShadowInstance(args
);
5288 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5289 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5294 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5295 PyObject
*pyobj
= 0;
5299 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5301 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5308 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5309 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5314 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5315 PyObject
*pyobj
= 0;
5319 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5321 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5328 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5329 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5334 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5335 PyObject
*pyobj
= 0;
5339 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5341 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5348 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5349 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5354 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5355 PyObject
*pyobj
= 0;
5359 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5361 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5368 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
*resultobj
= 0;
5370 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5371 bool arg2
= (bool) true ;
5376 PyObject
* obj0
= 0 ;
5377 PyObject
* obj1
= 0 ;
5378 char * kwnames
[] = {
5379 (char *) "self",(char *) "maximize", NULL
5382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5384 if (!SWIG_IsOK(res1
)) {
5385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5387 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5389 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5390 if (!SWIG_IsOK(ecode2
)) {
5391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5393 arg2
= static_cast< bool >(val2
);
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->Maximize(arg2
);
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5401 resultobj
= SWIG_Py_Void();
5408 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5409 PyObject
*resultobj
= 0;
5410 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5413 PyObject
*swig_obj
[1] ;
5415 if (!args
) SWIG_fail
;
5417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5418 if (!SWIG_IsOK(res1
)) {
5419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5421 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= SWIG_Py_Void();
5435 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
= 0;
5437 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5438 bool arg2
= (bool) true ;
5443 PyObject
* obj0
= 0 ;
5444 PyObject
* obj1
= 0 ;
5445 char * kwnames
[] = {
5446 (char *) "self",(char *) "iconize", NULL
5449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5451 if (!SWIG_IsOK(res1
)) {
5452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5454 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5456 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5457 if (!SWIG_IsOK(ecode2
)) {
5458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5460 arg2
= static_cast< bool >(val2
);
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 (arg1
)->Iconize(arg2
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= SWIG_Py_Void();
5475 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5476 PyObject
*resultobj
= 0;
5477 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5481 PyObject
*swig_obj
[1] ;
5483 if (!args
) SWIG_fail
;
5485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5486 if (!SWIG_IsOK(res1
)) {
5487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5489 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5505 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5506 PyObject
*resultobj
= 0;
5507 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5511 PyObject
*swig_obj
[1] ;
5513 if (!args
) SWIG_fail
;
5515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5516 if (!SWIG_IsOK(res1
)) {
5517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5519 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5523 wxPyEndAllowThreads(__tstate
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5535 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5536 PyObject
*resultobj
= 0;
5537 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5541 PyObject
*swig_obj
[1] ;
5543 if (!args
) SWIG_fail
;
5545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5546 if (!SWIG_IsOK(res1
)) {
5547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5549 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5565 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5566 PyObject
*resultobj
= 0;
5567 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5571 PyObject
*swig_obj
[1] ;
5573 if (!args
) SWIG_fail
;
5575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5576 if (!SWIG_IsOK(res1
)) {
5577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5579 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5593 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
= 0;
5595 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5602 PyObject
* obj1
= 0 ;
5603 char * kwnames
[] = {
5604 (char *) "self",(char *) "icon", NULL
5607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5609 if (!SWIG_IsOK(res1
)) {
5610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5612 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5614 if (!SWIG_IsOK(res2
)) {
5615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5620 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5627 resultobj
= SWIG_Py_Void();
5634 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
*resultobj
= 0;
5636 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5637 wxIconBundle
*arg2
= 0 ;
5642 PyObject
* obj0
= 0 ;
5643 PyObject
* obj1
= 0 ;
5644 char * kwnames
[] = {
5645 (char *) "self",(char *) "icons", NULL
5648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5650 if (!SWIG_IsOK(res1
)) {
5651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5653 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5655 if (!SWIG_IsOK(res2
)) {
5656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5661 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_Py_Void();
5675 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
*resultobj
= 0;
5677 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5679 long arg3
= (long) wxFULLSCREEN_ALL
;
5687 PyObject
* obj0
= 0 ;
5688 PyObject
* obj1
= 0 ;
5689 PyObject
* obj2
= 0 ;
5690 char * kwnames
[] = {
5691 (char *) "self",(char *) "show",(char *) "style", NULL
5694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5696 if (!SWIG_IsOK(res1
)) {
5697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5699 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5700 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5701 if (!SWIG_IsOK(ecode2
)) {
5702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5704 arg2
= static_cast< bool >(val2
);
5706 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5707 if (!SWIG_IsOK(ecode3
)) {
5708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5710 arg3
= static_cast< long >(val3
);
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5727 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5728 PyObject
*resultobj
= 0;
5729 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5733 PyObject
*swig_obj
[1] ;
5735 if (!args
) SWIG_fail
;
5737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5738 if (!SWIG_IsOK(res1
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5741 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5757 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
= 0;
5759 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5760 wxString
*arg2
= 0 ;
5763 bool temp2
= false ;
5764 PyObject
* obj0
= 0 ;
5765 PyObject
* obj1
= 0 ;
5766 char * kwnames
[] = {
5767 (char *) "self",(char *) "title", NULL
5770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5772 if (!SWIG_IsOK(res1
)) {
5773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5775 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5777 arg2
= wxString_in_helper(obj1
);
5778 if (arg2
== NULL
) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 (arg1
)->SetTitle((wxString
const &)*arg2
);
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= SWIG_Py_Void();
5802 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5803 PyObject
*resultobj
= 0;
5804 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5808 PyObject
*swig_obj
[1] ;
5810 if (!args
) SWIG_fail
;
5812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5813 if (!SWIG_IsOK(res1
)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5816 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5836 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
= 0;
5838 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5845 PyObject
* obj0
= 0 ;
5846 PyObject
* obj1
= 0 ;
5847 char * kwnames
[] = {
5848 (char *) "self",(char *) "enable", NULL
5851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5853 if (!SWIG_IsOK(res1
)) {
5854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5856 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5857 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5858 if (!SWIG_IsOK(ecode2
)) {
5859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5861 arg2
= static_cast< bool >(val2
);
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5877 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
*resultobj
= 0;
5879 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5880 wxRegion
*arg2
= 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5888 char * kwnames
[] = {
5889 (char *) "self",(char *) "region", NULL
5892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5894 if (!SWIG_IsOK(res1
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5897 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5899 if (!SWIG_IsOK(res2
)) {
5900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5905 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5921 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5922 PyObject
*resultobj
= 0;
5923 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5924 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5929 PyObject
* obj0
= 0 ;
5930 PyObject
* obj1
= 0 ;
5931 char * kwnames
[] = {
5932 (char *) "self",(char *) "flags", NULL
5935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5940 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5943 if (!SWIG_IsOK(ecode2
)) {
5944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5946 arg2
= static_cast< int >(val2
);
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 (arg1
)->RequestUserAttention(arg2
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= SWIG_Py_Void();
5961 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5962 PyObject
*resultobj
= 0;
5963 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5967 PyObject
*swig_obj
[1] ;
5969 if (!args
) SWIG_fail
;
5971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5972 if (!SWIG_IsOK(res1
)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5975 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 result
= (bool)(arg1
)->IsActive();
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5991 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
= 0;
5993 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6001 char * kwnames
[] = {
6002 (char *) "self",(char *) "on", NULL
6005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6007 if (!SWIG_IsOK(res1
)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6010 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6011 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6012 if (!SWIG_IsOK(ecode2
)) {
6013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6015 arg2
= static_cast< bool >(val2
);
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= SWIG_Py_Void();
6029 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6030 PyObject
*resultobj
= 0;
6031 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6035 PyObject
*swig_obj
[1] ;
6037 if (!args
) SWIG_fail
;
6039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6040 if (!SWIG_IsOK(res1
)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6043 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6059 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
= 0;
6061 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6062 int arg2
= (int) wxBOTH
;
6067 PyObject
* obj0
= 0 ;
6068 PyObject
* obj1
= 0 ;
6069 char * kwnames
[] = {
6070 (char *) "self",(char *) "dir", NULL
6073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6075 if (!SWIG_IsOK(res1
)) {
6076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6078 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6081 if (!SWIG_IsOK(ecode2
)) {
6082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6084 arg2
= static_cast< int >(val2
);
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 (arg1
)->CenterOnScreen(arg2
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_Py_Void();
6099 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6100 PyObject
*resultobj
= 0;
6101 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6102 wxWindow
*result
= 0 ;
6105 PyObject
*swig_obj
[1] ;
6107 if (!args
) SWIG_fail
;
6109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6110 if (!SWIG_IsOK(res1
)) {
6111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6113 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= wxPyMake_wxObject(result
, 0);
6129 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
= 0;
6131 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6132 wxWindow
*arg2
= (wxWindow
*) 0 ;
6133 wxWindow
*result
= 0 ;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6140 char * kwnames
[] = {
6141 (char *) "self",(char *) "child", NULL
6144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6146 if (!SWIG_IsOK(res1
)) {
6147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6149 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6150 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6151 if (!SWIG_IsOK(res2
)) {
6152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6154 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= wxPyMake_wxObject(result
, 0);
6170 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
= 0;
6172 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6173 wxWindow
*arg2
= (wxWindow
*) 0 ;
6178 PyObject
* obj0
= 0 ;
6179 PyObject
* obj1
= 0 ;
6180 char * kwnames
[] = {
6181 (char *) "self",(char *) "win", NULL
6184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6186 if (!SWIG_IsOK(res1
)) {
6187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6189 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6190 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6191 if (!SWIG_IsOK(res2
)) {
6192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6194 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 (arg1
)->SetTmpDefaultItem(arg2
);
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= SWIG_Py_Void();
6208 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6209 PyObject
*resultobj
= 0;
6210 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6211 wxWindow
*result
= 0 ;
6214 PyObject
*swig_obj
[1] ;
6216 if (!args
) SWIG_fail
;
6218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6219 if (!SWIG_IsOK(res1
)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6222 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6230 resultobj
= wxPyMake_wxObject(result
, 0);
6238 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6241 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6242 return SWIG_Py_Void();
6245 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
= 0;
6247 wxWindow
*arg1
= (wxWindow
*) 0 ;
6248 int arg2
= (int) (int)-1 ;
6249 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6250 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6255 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6256 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6257 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6258 wxFrame
*result
= 0 ;
6263 bool temp3
= false ;
6268 bool temp7
= false ;
6269 PyObject
* obj0
= 0 ;
6270 PyObject
* obj1
= 0 ;
6271 PyObject
* obj2
= 0 ;
6272 PyObject
* obj3
= 0 ;
6273 PyObject
* obj4
= 0 ;
6274 PyObject
* obj5
= 0 ;
6275 PyObject
* obj6
= 0 ;
6276 char * kwnames
[] = {
6277 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6282 if (!SWIG_IsOK(res1
)) {
6283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6285 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6288 if (!SWIG_IsOK(ecode2
)) {
6289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6291 arg2
= static_cast< int >(val2
);
6295 arg3
= wxString_in_helper(obj2
);
6296 if (arg3
== NULL
) SWIG_fail
;
6303 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6309 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6313 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6314 if (!SWIG_IsOK(ecode6
)) {
6315 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6317 arg6
= static_cast< long >(val6
);
6321 arg7
= wxString_in_helper(obj6
);
6322 if (arg7
== NULL
) SWIG_fail
;
6327 if (!wxPyCheckForApp()) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6356 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6357 PyObject
*resultobj
= 0;
6358 wxFrame
*result
= 0 ;
6360 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6362 if (!wxPyCheckForApp()) SWIG_fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 result
= (wxFrame
*)new wxFrame();
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6375 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
= 0;
6377 wxFrame
*arg1
= (wxFrame
*) 0 ;
6378 wxWindow
*arg2
= (wxWindow
*) 0 ;
6379 int arg3
= (int) (int)-1 ;
6380 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6381 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6382 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6383 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6384 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6385 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6386 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6387 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6388 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6396 bool temp4
= false ;
6401 bool temp8
= false ;
6402 PyObject
* obj0
= 0 ;
6403 PyObject
* obj1
= 0 ;
6404 PyObject
* obj2
= 0 ;
6405 PyObject
* obj3
= 0 ;
6406 PyObject
* obj4
= 0 ;
6407 PyObject
* obj5
= 0 ;
6408 PyObject
* obj6
= 0 ;
6409 PyObject
* obj7
= 0 ;
6410 char * kwnames
[] = {
6411 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6416 if (!SWIG_IsOK(res1
)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6419 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6421 if (!SWIG_IsOK(res2
)) {
6422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6424 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6427 if (!SWIG_IsOK(ecode3
)) {
6428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6430 arg3
= static_cast< int >(val3
);
6434 arg4
= wxString_in_helper(obj3
);
6435 if (arg4
== NULL
) SWIG_fail
;
6442 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6448 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6452 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6453 if (!SWIG_IsOK(ecode7
)) {
6454 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6456 arg7
= static_cast< long >(val7
);
6460 arg8
= wxString_in_helper(obj7
);
6461 if (arg8
== NULL
) SWIG_fail
;
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6496 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6497 PyObject
*resultobj
= 0;
6498 wxFrame
*arg1
= (wxFrame
*) 0 ;
6501 PyObject
*swig_obj
[1] ;
6503 if (!args
) SWIG_fail
;
6505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6506 if (!SWIG_IsOK(res1
)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6509 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 (arg1
)->SendSizeEvent();
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 resultobj
= SWIG_Py_Void();
6523 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
= 0;
6525 wxFrame
*arg1
= (wxFrame
*) 0 ;
6526 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6533 char * kwnames
[] = {
6534 (char *) "self",(char *) "menubar", NULL
6537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6539 if (!SWIG_IsOK(res1
)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6542 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6543 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6544 if (!SWIG_IsOK(res2
)) {
6545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6547 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 (arg1
)->SetMenuBar(arg2
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_Py_Void();
6561 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6562 PyObject
*resultobj
= 0;
6563 wxFrame
*arg1
= (wxFrame
*) 0 ;
6564 wxMenuBar
*result
= 0 ;
6567 PyObject
*swig_obj
[1] ;
6569 if (!args
) SWIG_fail
;
6571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6572 if (!SWIG_IsOK(res1
)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6575 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6578 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6583 resultobj
= wxPyMake_wxObject(result
, 0);
6591 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
= 0;
6593 wxFrame
*arg1
= (wxFrame
*) 0 ;
6600 PyObject
* obj0
= 0 ;
6601 PyObject
* obj1
= 0 ;
6602 char * kwnames
[] = {
6603 (char *) "self",(char *) "winid", NULL
6606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6608 if (!SWIG_IsOK(res1
)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6611 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6613 if (!SWIG_IsOK(ecode2
)) {
6614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6616 arg2
= static_cast< int >(val2
);
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6632 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
= 0;
6634 wxFrame
*arg1
= (wxFrame
*) 0 ;
6635 int arg2
= (int) 1 ;
6636 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6637 int arg4
= (int) 0 ;
6638 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6639 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6640 wxStatusBar
*result
= 0 ;
6649 bool temp5
= false ;
6650 PyObject
* obj0
= 0 ;
6651 PyObject
* obj1
= 0 ;
6652 PyObject
* obj2
= 0 ;
6653 PyObject
* obj3
= 0 ;
6654 PyObject
* obj4
= 0 ;
6655 char * kwnames
[] = {
6656 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6661 if (!SWIG_IsOK(res1
)) {
6662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6664 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6667 if (!SWIG_IsOK(ecode2
)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6670 arg2
= static_cast< int >(val2
);
6673 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6674 if (!SWIG_IsOK(ecode3
)) {
6675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6677 arg3
= static_cast< long >(val3
);
6680 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6681 if (!SWIG_IsOK(ecode4
)) {
6682 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6684 arg4
= static_cast< int >(val4
);
6688 arg5
= wxString_in_helper(obj4
);
6689 if (arg5
== NULL
) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6716 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6717 PyObject
*resultobj
= 0;
6718 wxFrame
*arg1
= (wxFrame
*) 0 ;
6719 wxStatusBar
*result
= 0 ;
6722 PyObject
*swig_obj
[1] ;
6724 if (!args
) SWIG_fail
;
6726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6727 if (!SWIG_IsOK(res1
)) {
6728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6730 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6738 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6746 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
= 0;
6748 wxFrame
*arg1
= (wxFrame
*) 0 ;
6749 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6756 char * kwnames
[] = {
6757 (char *) "self",(char *) "statBar", NULL
6760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6762 if (!SWIG_IsOK(res1
)) {
6763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6765 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6767 if (!SWIG_IsOK(res2
)) {
6768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6770 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 (arg1
)->SetStatusBar(arg2
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= SWIG_Py_Void();
6784 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
= 0;
6786 wxFrame
*arg1
= (wxFrame
*) 0 ;
6787 wxString
*arg2
= 0 ;
6788 int arg3
= (int) 0 ;
6791 bool temp2
= false ;
6794 PyObject
* obj0
= 0 ;
6795 PyObject
* obj1
= 0 ;
6796 PyObject
* obj2
= 0 ;
6797 char * kwnames
[] = {
6798 (char *) "self",(char *) "text",(char *) "number", NULL
6801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6803 if (!SWIG_IsOK(res1
)) {
6804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6806 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6808 arg2
= wxString_in_helper(obj1
);
6809 if (arg2
== NULL
) SWIG_fail
;
6813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6814 if (!SWIG_IsOK(ecode3
)) {
6815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6817 arg3
= static_cast< int >(val3
);
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6822 wxPyEndAllowThreads(__tstate
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= SWIG_Py_Void();
6840 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
= 0;
6842 wxFrame
*arg1
= (wxFrame
*) 0 ;
6844 int *arg3
= (int *) 0 ;
6847 PyObject
* obj0
= 0 ;
6848 PyObject
* obj1
= 0 ;
6849 char * kwnames
[] = {
6850 (char *) "self",(char *) "widths", NULL
6853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6855 if (!SWIG_IsOK(res1
)) {
6856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6858 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6860 arg2
= PyList_Size(obj1
);
6861 arg3
= int_LIST_helper(obj1
);
6862 if (arg3
== NULL
) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= SWIG_Py_Void();
6872 if (arg3
) delete [] arg3
;
6877 if (arg3
) delete [] arg3
;
6883 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
= 0;
6885 wxFrame
*arg1
= (wxFrame
*) 0 ;
6886 wxString
*arg2
= 0 ;
6887 int arg3
= (int) 0 ;
6890 bool temp2
= false ;
6893 PyObject
* obj0
= 0 ;
6894 PyObject
* obj1
= 0 ;
6895 PyObject
* obj2
= 0 ;
6896 char * kwnames
[] = {
6897 (char *) "self",(char *) "text",(char *) "number", NULL
6900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6902 if (!SWIG_IsOK(res1
)) {
6903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6905 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6907 arg2
= wxString_in_helper(obj1
);
6908 if (arg2
== NULL
) SWIG_fail
;
6912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6913 if (!SWIG_IsOK(ecode3
)) {
6914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6916 arg3
= static_cast< int >(val3
);
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 resultobj
= SWIG_Py_Void();
6939 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
= 0;
6941 wxFrame
*arg1
= (wxFrame
*) 0 ;
6942 int arg2
= (int) 0 ;
6947 PyObject
* obj0
= 0 ;
6948 PyObject
* obj1
= 0 ;
6949 char * kwnames
[] = {
6950 (char *) "self",(char *) "number", NULL
6953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6955 if (!SWIG_IsOK(res1
)) {
6956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6958 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6961 if (!SWIG_IsOK(ecode2
)) {
6962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6964 arg2
= static_cast< int >(val2
);
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 (arg1
)->PopStatusText(arg2
);
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= SWIG_Py_Void();
6979 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
= 0;
6981 wxFrame
*arg1
= (wxFrame
*) 0 ;
6987 PyObject
* obj0
= 0 ;
6988 PyObject
* obj1
= 0 ;
6989 char * kwnames
[] = {
6990 (char *) "self",(char *) "n", NULL
6993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6995 if (!SWIG_IsOK(res1
)) {
6996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6998 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7000 if (!SWIG_IsOK(ecode2
)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7003 arg2
= static_cast< int >(val2
);
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 (arg1
)->SetStatusBarPane(arg2
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 resultobj
= SWIG_Py_Void();
7017 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7018 PyObject
*resultobj
= 0;
7019 wxFrame
*arg1
= (wxFrame
*) 0 ;
7023 PyObject
*swig_obj
[1] ;
7025 if (!args
) SWIG_fail
;
7027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7028 if (!SWIG_IsOK(res1
)) {
7029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7031 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7038 resultobj
= SWIG_From_int(static_cast< int >(result
));
7045 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
*resultobj
= 0;
7047 wxFrame
*arg1
= (wxFrame
*) 0 ;
7048 long arg2
= (long) -1 ;
7049 int arg3
= (int) -1 ;
7050 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7051 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7052 wxToolBar
*result
= 0 ;
7059 bool temp4
= false ;
7060 PyObject
* obj0
= 0 ;
7061 PyObject
* obj1
= 0 ;
7062 PyObject
* obj2
= 0 ;
7063 PyObject
* obj3
= 0 ;
7064 char * kwnames
[] = {
7065 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7070 if (!SWIG_IsOK(res1
)) {
7071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7073 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7075 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7076 if (!SWIG_IsOK(ecode2
)) {
7077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7079 arg2
= static_cast< long >(val2
);
7082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7083 if (!SWIG_IsOK(ecode3
)) {
7084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7086 arg3
= static_cast< int >(val3
);
7090 arg4
= wxString_in_helper(obj3
);
7091 if (arg4
== NULL
) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7118 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7119 PyObject
*resultobj
= 0;
7120 wxFrame
*arg1
= (wxFrame
*) 0 ;
7121 wxToolBar
*result
= 0 ;
7124 PyObject
*swig_obj
[1] ;
7126 if (!args
) SWIG_fail
;
7128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7129 if (!SWIG_IsOK(res1
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7132 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7148 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
= 0;
7150 wxFrame
*arg1
= (wxFrame
*) 0 ;
7151 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7158 char * kwnames
[] = {
7159 (char *) "self",(char *) "toolbar", NULL
7162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7164 if (!SWIG_IsOK(res1
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7167 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7169 if (!SWIG_IsOK(res2
)) {
7170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7172 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7175 (arg1
)->SetToolBar(arg2
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= SWIG_Py_Void();
7186 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
= 0;
7188 wxFrame
*arg1
= (wxFrame
*) 0 ;
7189 wxString
*arg2
= 0 ;
7193 bool temp2
= false ;
7196 PyObject
* obj0
= 0 ;
7197 PyObject
* obj1
= 0 ;
7198 PyObject
* obj2
= 0 ;
7199 char * kwnames
[] = {
7200 (char *) "self",(char *) "text",(char *) "show", NULL
7203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7205 if (!SWIG_IsOK(res1
)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7208 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7210 arg2
= wxString_in_helper(obj1
);
7211 if (arg2
== NULL
) SWIG_fail
;
7214 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7215 if (!SWIG_IsOK(ecode3
)) {
7216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7218 arg3
= static_cast< bool >(val3
);
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_Py_Void();
7240 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
= 0;
7242 wxFrame
*arg1
= (wxFrame
*) 0 ;
7243 wxMenu
*arg2
= (wxMenu
*) NULL
;
7248 PyObject
* obj0
= 0 ;
7249 PyObject
* obj1
= 0 ;
7250 char * kwnames
[] = {
7251 (char *) "self",(char *) "menu", NULL
7254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7256 if (!SWIG_IsOK(res1
)) {
7257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7259 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7261 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7262 if (!SWIG_IsOK(res2
)) {
7263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7265 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 (arg1
)->DoMenuUpdates(arg2
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= SWIG_Py_Void();
7280 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
= 0;
7282 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7283 SwigValueWrapper
<wxVisualAttributes
> result
;
7286 PyObject
* obj0
= 0 ;
7287 char * kwnames
[] = {
7288 (char *) "variant", NULL
7291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7293 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7294 if (!SWIG_IsOK(ecode1
)) {
7295 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7297 arg1
= static_cast< wxWindowVariant
>(val1
);
7300 if (!wxPyCheckForApp()) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7313 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7316 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7317 return SWIG_Py_Void();
7320 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7321 return SWIG_Python_InitShadowInstance(args
);
7324 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
= 0;
7326 wxWindow
*arg1
= (wxWindow
*) 0 ;
7327 int arg2
= (int) (int)-1 ;
7328 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7329 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7330 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7331 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7332 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7333 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7334 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7335 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7336 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7337 wxDialog
*result
= 0 ;
7342 bool temp3
= false ;
7347 bool temp7
= false ;
7348 PyObject
* obj0
= 0 ;
7349 PyObject
* obj1
= 0 ;
7350 PyObject
* obj2
= 0 ;
7351 PyObject
* obj3
= 0 ;
7352 PyObject
* obj4
= 0 ;
7353 PyObject
* obj5
= 0 ;
7354 PyObject
* obj6
= 0 ;
7355 char * kwnames
[] = {
7356 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7361 if (!SWIG_IsOK(res1
)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7364 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7367 if (!SWIG_IsOK(ecode2
)) {
7368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7370 arg2
= static_cast< int >(val2
);
7374 arg3
= wxString_in_helper(obj2
);
7375 if (arg3
== NULL
) SWIG_fail
;
7382 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7388 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7392 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7393 if (!SWIG_IsOK(ecode6
)) {
7394 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7396 arg6
= static_cast< long >(val6
);
7400 arg7
= wxString_in_helper(obj6
);
7401 if (arg7
== NULL
) SWIG_fail
;
7406 if (!wxPyCheckForApp()) SWIG_fail
;
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7435 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7436 PyObject
*resultobj
= 0;
7437 wxDialog
*result
= 0 ;
7439 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7441 if (!wxPyCheckForApp()) SWIG_fail
;
7442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 result
= (wxDialog
*)new wxDialog();
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7454 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
= 0;
7456 wxDialog
*arg1
= (wxDialog
*) 0 ;
7457 wxWindow
*arg2
= (wxWindow
*) 0 ;
7458 int arg3
= (int) (int)-1 ;
7459 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7460 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7461 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7462 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7463 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7464 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7465 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7466 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7467 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7475 bool temp4
= false ;
7480 bool temp8
= false ;
7481 PyObject
* obj0
= 0 ;
7482 PyObject
* obj1
= 0 ;
7483 PyObject
* obj2
= 0 ;
7484 PyObject
* obj3
= 0 ;
7485 PyObject
* obj4
= 0 ;
7486 PyObject
* obj5
= 0 ;
7487 PyObject
* obj6
= 0 ;
7488 PyObject
* obj7
= 0 ;
7489 char * kwnames
[] = {
7490 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7495 if (!SWIG_IsOK(res1
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7498 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7499 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7500 if (!SWIG_IsOK(res2
)) {
7501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7503 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7506 if (!SWIG_IsOK(ecode3
)) {
7507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7509 arg3
= static_cast< int >(val3
);
7513 arg4
= wxString_in_helper(obj3
);
7514 if (arg4
== NULL
) SWIG_fail
;
7521 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7527 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7531 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7532 if (!SWIG_IsOK(ecode7
)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7535 arg7
= static_cast< long >(val7
);
7539 arg8
= wxString_in_helper(obj7
);
7540 if (arg8
== NULL
) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7575 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
= 0;
7577 wxDialog
*arg1
= (wxDialog
*) 0 ;
7583 PyObject
* obj0
= 0 ;
7584 PyObject
* obj1
= 0 ;
7585 char * kwnames
[] = {
7586 (char *) "self",(char *) "returnCode", NULL
7589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7591 if (!SWIG_IsOK(res1
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7594 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7596 if (!SWIG_IsOK(ecode2
)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7599 arg2
= static_cast< int >(val2
);
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 (arg1
)->SetReturnCode(arg2
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= SWIG_Py_Void();
7613 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7614 PyObject
*resultobj
= 0;
7615 wxDialog
*arg1
= (wxDialog
*) 0 ;
7619 PyObject
*swig_obj
[1] ;
7621 if (!args
) SWIG_fail
;
7623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7624 if (!SWIG_IsOK(res1
)) {
7625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7627 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7631 wxPyEndAllowThreads(__tstate
);
7632 if (PyErr_Occurred()) SWIG_fail
;
7634 resultobj
= SWIG_From_int(static_cast< int >(result
));
7641 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
= 0;
7643 wxDialog
*arg1
= (wxDialog
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7651 char * kwnames
[] = {
7652 (char *) "self",(char *) "affirmativeId", NULL
7655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7657 if (!SWIG_IsOK(res1
)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7660 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7662 if (!SWIG_IsOK(ecode2
)) {
7663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7665 arg2
= static_cast< int >(val2
);
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 (arg1
)->SetAffirmativeId(arg2
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_Py_Void();
7679 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7680 PyObject
*resultobj
= 0;
7681 wxDialog
*arg1
= (wxDialog
*) 0 ;
7685 PyObject
*swig_obj
[1] ;
7687 if (!args
) SWIG_fail
;
7689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7690 if (!SWIG_IsOK(res1
)) {
7691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7693 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= SWIG_From_int(static_cast< int >(result
));
7707 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
= 0;
7709 wxDialog
*arg1
= (wxDialog
*) 0 ;
7715 PyObject
* obj0
= 0 ;
7716 PyObject
* obj1
= 0 ;
7717 char * kwnames
[] = {
7718 (char *) "self",(char *) "escapeId", NULL
7721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7723 if (!SWIG_IsOK(res1
)) {
7724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7726 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7728 if (!SWIG_IsOK(ecode2
)) {
7729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7731 arg2
= static_cast< int >(val2
);
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 (arg1
)->SetEscapeId(arg2
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 resultobj
= SWIG_Py_Void();
7745 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7746 PyObject
*resultobj
= 0;
7747 wxDialog
*arg1
= (wxDialog
*) 0 ;
7751 PyObject
*swig_obj
[1] ;
7753 if (!args
) SWIG_fail
;
7755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7756 if (!SWIG_IsOK(res1
)) {
7757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7759 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= SWIG_From_int(static_cast< int >(result
));
7773 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
= 0;
7775 wxDialog
*arg1
= (wxDialog
*) 0 ;
7776 wxString
*arg2
= 0 ;
7777 wxSizer
*result
= 0 ;
7780 bool temp2
= false ;
7781 PyObject
* obj0
= 0 ;
7782 PyObject
* obj1
= 0 ;
7783 char * kwnames
[] = {
7784 (char *) "self",(char *) "message", NULL
7787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7789 if (!SWIG_IsOK(res1
)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7792 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7794 arg2
= wxString_in_helper(obj1
);
7795 if (arg2
== NULL
) SWIG_fail
;
7799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7800 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7805 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7821 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
= 0;
7823 wxDialog
*arg1
= (wxDialog
*) 0 ;
7825 wxSizer
*result
= 0 ;
7830 PyObject
* obj0
= 0 ;
7831 PyObject
* obj1
= 0 ;
7832 char * kwnames
[] = {
7833 (char *) "self",(char *) "flags", NULL
7836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7838 if (!SWIG_IsOK(res1
)) {
7839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7841 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7842 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7843 if (!SWIG_IsOK(ecode2
)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7846 arg2
= static_cast< long >(val2
);
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7862 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
= 0;
7864 wxDialog
*arg1
= (wxDialog
*) 0 ;
7866 wxSizer
*result
= 0 ;
7871 PyObject
* obj0
= 0 ;
7872 PyObject
* obj1
= 0 ;
7873 char * kwnames
[] = {
7874 (char *) "self",(char *) "flags", NULL
7877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7879 if (!SWIG_IsOK(res1
)) {
7880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7882 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7883 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7884 if (!SWIG_IsOK(ecode2
)) {
7885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7887 arg2
= static_cast< long >(val2
);
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7903 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
= 0;
7905 wxDialog
*arg1
= (wxDialog
*) 0 ;
7907 wxStdDialogButtonSizer
*result
= 0 ;
7912 PyObject
* obj0
= 0 ;
7913 PyObject
* obj1
= 0 ;
7914 char * kwnames
[] = {
7915 (char *) "self",(char *) "flags", NULL
7918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7920 if (!SWIG_IsOK(res1
)) {
7921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7923 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7924 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7925 if (!SWIG_IsOK(ecode2
)) {
7926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7928 arg2
= static_cast< long >(val2
);
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7942 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7943 PyObject
*resultobj
= 0;
7944 wxDialog
*arg1
= (wxDialog
*) 0 ;
7948 PyObject
*swig_obj
[1] ;
7950 if (!args
) SWIG_fail
;
7952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7953 if (!SWIG_IsOK(res1
)) {
7954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7956 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7972 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7973 PyObject
*resultobj
= 0;
7974 wxDialog
*arg1
= (wxDialog
*) 0 ;
7978 PyObject
*swig_obj
[1] ;
7980 if (!args
) SWIG_fail
;
7982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7983 if (!SWIG_IsOK(res1
)) {
7984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7986 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 result
= (int)(arg1
)->ShowModal();
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= SWIG_From_int(static_cast< int >(result
));
8000 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
= 0;
8002 wxDialog
*arg1
= (wxDialog
*) 0 ;
8008 PyObject
* obj0
= 0 ;
8009 PyObject
* obj1
= 0 ;
8010 char * kwnames
[] = {
8011 (char *) "self",(char *) "retCode", NULL
8014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8016 if (!SWIG_IsOK(res1
)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8019 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8021 if (!SWIG_IsOK(ecode2
)) {
8022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8024 arg2
= static_cast< int >(val2
);
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 (arg1
)->EndModal(arg2
);
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= SWIG_Py_Void();
8038 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
= 0;
8040 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8041 SwigValueWrapper
<wxVisualAttributes
> result
;
8044 PyObject
* obj0
= 0 ;
8045 char * kwnames
[] = {
8046 (char *) "variant", NULL
8049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8051 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8052 if (!SWIG_IsOK(ecode1
)) {
8053 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8055 arg1
= static_cast< wxWindowVariant
>(val1
);
8058 if (!wxPyCheckForApp()) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8071 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8074 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8075 return SWIG_Py_Void();
8078 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8079 return SWIG_Python_InitShadowInstance(args
);
8082 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
= 0;
8084 wxWindow
*arg1
= (wxWindow
*) 0 ;
8085 int arg2
= (int) (int)-1 ;
8086 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8087 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8092 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8093 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8094 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8095 wxMiniFrame
*result
= 0 ;
8100 bool temp3
= false ;
8105 bool temp7
= false ;
8106 PyObject
* obj0
= 0 ;
8107 PyObject
* obj1
= 0 ;
8108 PyObject
* obj2
= 0 ;
8109 PyObject
* obj3
= 0 ;
8110 PyObject
* obj4
= 0 ;
8111 PyObject
* obj5
= 0 ;
8112 PyObject
* obj6
= 0 ;
8113 char * kwnames
[] = {
8114 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8119 if (!SWIG_IsOK(res1
)) {
8120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8125 if (!SWIG_IsOK(ecode2
)) {
8126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8128 arg2
= static_cast< int >(val2
);
8132 arg3
= wxString_in_helper(obj2
);
8133 if (arg3
== NULL
) SWIG_fail
;
8140 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8146 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8150 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8151 if (!SWIG_IsOK(ecode6
)) {
8152 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8154 arg6
= static_cast< long >(val6
);
8158 arg7
= wxString_in_helper(obj6
);
8159 if (arg7
== NULL
) SWIG_fail
;
8164 if (!wxPyCheckForApp()) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8193 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8194 PyObject
*resultobj
= 0;
8195 wxMiniFrame
*result
= 0 ;
8197 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8199 if (!wxPyCheckForApp()) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 result
= (wxMiniFrame
*)new wxMiniFrame();
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8212 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
*resultobj
= 0;
8214 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8215 wxWindow
*arg2
= (wxWindow
*) 0 ;
8216 int arg3
= (int) (int)-1 ;
8217 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8218 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8219 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8220 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8221 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8222 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8223 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8224 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8225 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8233 bool temp4
= false ;
8238 bool temp8
= false ;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8241 PyObject
* obj2
= 0 ;
8242 PyObject
* obj3
= 0 ;
8243 PyObject
* obj4
= 0 ;
8244 PyObject
* obj5
= 0 ;
8245 PyObject
* obj6
= 0 ;
8246 PyObject
* obj7
= 0 ;
8247 char * kwnames
[] = {
8248 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8253 if (!SWIG_IsOK(res1
)) {
8254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8256 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8257 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8258 if (!SWIG_IsOK(res2
)) {
8259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8261 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8263 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8264 if (!SWIG_IsOK(ecode3
)) {
8265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8267 arg3
= static_cast< int >(val3
);
8271 arg4
= wxString_in_helper(obj3
);
8272 if (arg4
== NULL
) SWIG_fail
;
8279 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8285 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8289 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8290 if (!SWIG_IsOK(ecode7
)) {
8291 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8293 arg7
= static_cast< long >(val7
);
8297 arg8
= wxString_in_helper(obj7
);
8298 if (arg8
== NULL
) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8333 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8336 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8337 return SWIG_Py_Void();
8340 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8341 return SWIG_Python_InitShadowInstance(args
);
8344 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
= 0;
8346 wxBitmap
*arg1
= 0 ;
8347 wxWindow
*arg2
= (wxWindow
*) 0 ;
8349 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8350 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8351 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8352 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8353 long arg6
= (long) wxNO_BORDER
;
8354 wxSplashScreenWindow
*result
= 0 ;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8367 PyObject
* obj2
= 0 ;
8368 PyObject
* obj3
= 0 ;
8369 PyObject
* obj4
= 0 ;
8370 PyObject
* obj5
= 0 ;
8371 char * kwnames
[] = {
8372 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8376 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8377 if (!SWIG_IsOK(res1
)) {
8378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8383 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8385 if (!SWIG_IsOK(res2
)) {
8386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8388 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8390 if (!SWIG_IsOK(ecode3
)) {
8391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8393 arg3
= static_cast< int >(val3
);
8397 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8403 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8407 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8408 if (!SWIG_IsOK(ecode6
)) {
8409 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8411 arg6
= static_cast< long >(val6
);
8414 if (!wxPyCheckForApp()) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8427 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
*resultobj
= 0;
8429 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8430 wxBitmap
*arg2
= 0 ;
8435 PyObject
* obj0
= 0 ;
8436 PyObject
* obj1
= 0 ;
8437 char * kwnames
[] = {
8438 (char *) "self",(char *) "bitmap", NULL
8441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8443 if (!SWIG_IsOK(res1
)) {
8444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8446 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8448 if (!SWIG_IsOK(res2
)) {
8449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8454 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= SWIG_Py_Void();
8468 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8469 PyObject
*resultobj
= 0;
8470 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8471 wxBitmap
*result
= 0 ;
8474 PyObject
*swig_obj
[1] ;
8476 if (!args
) SWIG_fail
;
8478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8479 if (!SWIG_IsOK(res1
)) {
8480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8482 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8487 result
= (wxBitmap
*) &_result_ref
;
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8493 wxBitmap
* resultptr
= new wxBitmap(*result
);
8494 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8502 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8505 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8506 return SWIG_Py_Void();
8509 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8510 return SWIG_Python_InitShadowInstance(args
);
8513 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8514 PyObject
*resultobj
= 0;
8515 wxBitmap
*arg1
= 0 ;
8518 wxWindow
*arg4
= (wxWindow
*) 0 ;
8519 int arg5
= (int) -1 ;
8520 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8521 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8522 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8523 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8524 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8525 wxSplashScreen
*result
= 0 ;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8542 PyObject
* obj2
= 0 ;
8543 PyObject
* obj3
= 0 ;
8544 PyObject
* obj4
= 0 ;
8545 PyObject
* obj5
= 0 ;
8546 PyObject
* obj6
= 0 ;
8547 PyObject
* obj7
= 0 ;
8548 char * kwnames
[] = {
8549 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8553 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8554 if (!SWIG_IsOK(res1
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8560 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8561 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8562 if (!SWIG_IsOK(ecode2
)) {
8563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8565 arg2
= static_cast< long >(val2
);
8566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8567 if (!SWIG_IsOK(ecode3
)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8570 arg3
= static_cast< int >(val3
);
8571 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8572 if (!SWIG_IsOK(res4
)) {
8573 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8575 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8577 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8578 if (!SWIG_IsOK(ecode5
)) {
8579 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8581 arg5
= static_cast< int >(val5
);
8586 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8592 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8596 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8597 if (!SWIG_IsOK(ecode8
)) {
8598 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8600 arg8
= static_cast< long >(val8
);
8603 if (!wxPyCheckForApp()) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8606 wxPyEndAllowThreads(__tstate
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8616 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8617 PyObject
*resultobj
= 0;
8618 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8622 PyObject
*swig_obj
[1] ;
8624 if (!args
) SWIG_fail
;
8626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8627 if (!SWIG_IsOK(res1
)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8630 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= SWIG_From_long(static_cast< long >(result
));
8644 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8645 PyObject
*resultobj
= 0;
8646 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8647 wxSplashScreenWindow
*result
= 0 ;
8650 PyObject
*swig_obj
[1] ;
8652 if (!args
) SWIG_fail
;
8654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8655 if (!SWIG_IsOK(res1
)) {
8656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8658 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8672 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8673 PyObject
*resultobj
= 0;
8674 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8678 PyObject
*swig_obj
[1] ;
8680 if (!args
) SWIG_fail
;
8682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8683 if (!SWIG_IsOK(res1
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8686 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_From_int(static_cast< int >(result
));
8700 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8703 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8704 return SWIG_Py_Void();
8707 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8708 return SWIG_Python_InitShadowInstance(args
);
8711 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
= 0;
8713 wxWindow
*arg1
= (wxWindow
*) 0 ;
8714 int arg2
= (int) -1 ;
8715 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8716 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8717 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8718 wxStatusBar
*result
= 0 ;
8725 bool temp4
= false ;
8726 PyObject
* obj0
= 0 ;
8727 PyObject
* obj1
= 0 ;
8728 PyObject
* obj2
= 0 ;
8729 PyObject
* obj3
= 0 ;
8730 char * kwnames
[] = {
8731 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8736 if (!SWIG_IsOK(res1
)) {
8737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8739 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8742 if (!SWIG_IsOK(ecode2
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8745 arg2
= static_cast< int >(val2
);
8748 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8749 if (!SWIG_IsOK(ecode3
)) {
8750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8752 arg3
= static_cast< long >(val3
);
8756 arg4
= wxString_in_helper(obj3
);
8757 if (arg4
== NULL
) SWIG_fail
;
8762 if (!wxPyCheckForApp()) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8783 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8784 PyObject
*resultobj
= 0;
8785 wxStatusBar
*result
= 0 ;
8787 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8789 if (!wxPyCheckForApp()) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (wxStatusBar
*)new wxStatusBar();
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8802 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
= 0;
8804 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8805 wxWindow
*arg2
= (wxWindow
*) 0 ;
8806 int arg3
= (int) -1 ;
8807 long arg4
= (long) wxST_SIZEGRIP
;
8808 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8809 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8819 bool temp5
= false ;
8820 PyObject
* obj0
= 0 ;
8821 PyObject
* obj1
= 0 ;
8822 PyObject
* obj2
= 0 ;
8823 PyObject
* obj3
= 0 ;
8824 PyObject
* obj4
= 0 ;
8825 char * kwnames
[] = {
8826 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8831 if (!SWIG_IsOK(res1
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8834 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8836 if (!SWIG_IsOK(res2
)) {
8837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8839 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8842 if (!SWIG_IsOK(ecode3
)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8845 arg3
= static_cast< int >(val3
);
8848 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8849 if (!SWIG_IsOK(ecode4
)) {
8850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8852 arg4
= static_cast< long >(val4
);
8856 arg5
= wxString_in_helper(obj4
);
8857 if (arg5
== NULL
) SWIG_fail
;
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8884 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
= 0;
8886 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8887 int arg2
= (int) 1 ;
8892 PyObject
* obj0
= 0 ;
8893 PyObject
* obj1
= 0 ;
8894 char * kwnames
[] = {
8895 (char *) "self",(char *) "number", NULL
8898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8900 if (!SWIG_IsOK(res1
)) {
8901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8903 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8906 if (!SWIG_IsOK(ecode2
)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8909 arg2
= static_cast< int >(val2
);
8912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 (arg1
)->SetFieldsCount(arg2
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 resultobj
= SWIG_Py_Void();
8924 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8925 PyObject
*resultobj
= 0;
8926 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8930 PyObject
*swig_obj
[1] ;
8932 if (!args
) SWIG_fail
;
8934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8935 if (!SWIG_IsOK(res1
)) {
8936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8938 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= SWIG_From_int(static_cast< int >(result
));
8952 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
= 0;
8954 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8955 wxString
*arg2
= 0 ;
8956 int arg3
= (int) 0 ;
8959 bool temp2
= false ;
8962 PyObject
* obj0
= 0 ;
8963 PyObject
* obj1
= 0 ;
8964 PyObject
* obj2
= 0 ;
8965 char * kwnames
[] = {
8966 (char *) "self",(char *) "text",(char *) "number", NULL
8969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8971 if (!SWIG_IsOK(res1
)) {
8972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8974 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8976 arg2
= wxString_in_helper(obj1
);
8977 if (arg2
== NULL
) SWIG_fail
;
8981 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8982 if (!SWIG_IsOK(ecode3
)) {
8983 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8985 arg3
= static_cast< int >(val3
);
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= SWIG_Py_Void();
9008 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
= 0;
9010 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9011 int arg2
= (int) 0 ;
9017 PyObject
* obj0
= 0 ;
9018 PyObject
* obj1
= 0 ;
9019 char * kwnames
[] = {
9020 (char *) "self",(char *) "number", NULL
9023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9025 if (!SWIG_IsOK(res1
)) {
9026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9028 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9031 if (!SWIG_IsOK(ecode2
)) {
9032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9034 arg2
= static_cast< int >(val2
);
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9055 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
= 0;
9057 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9058 wxString
*arg2
= 0 ;
9059 int arg3
= (int) 0 ;
9062 bool temp2
= false ;
9065 PyObject
* obj0
= 0 ;
9066 PyObject
* obj1
= 0 ;
9067 PyObject
* obj2
= 0 ;
9068 char * kwnames
[] = {
9069 (char *) "self",(char *) "text",(char *) "number", NULL
9072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9074 if (!SWIG_IsOK(res1
)) {
9075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9077 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9079 arg2
= wxString_in_helper(obj1
);
9080 if (arg2
== NULL
) SWIG_fail
;
9084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9085 if (!SWIG_IsOK(ecode3
)) {
9086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9088 arg3
= static_cast< int >(val3
);
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 resultobj
= SWIG_Py_Void();
9111 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
= 0;
9113 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9114 int arg2
= (int) 0 ;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj1
= 0 ;
9121 char * kwnames
[] = {
9122 (char *) "self",(char *) "number", NULL
9125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9127 if (!SWIG_IsOK(res1
)) {
9128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9130 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9133 if (!SWIG_IsOK(ecode2
)) {
9134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9136 arg2
= static_cast< int >(val2
);
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 (arg1
)->PopStatusText(arg2
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_Py_Void();
9151 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
= 0;
9153 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9155 int *arg3
= (int *) 0 ;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9160 char * kwnames
[] = {
9161 (char *) "self",(char *) "widths", NULL
9164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9166 if (!SWIG_IsOK(res1
)) {
9167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9169 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9171 arg2
= PyList_Size(obj1
);
9172 arg3
= int_LIST_helper(obj1
);
9173 if (arg3
== NULL
) SWIG_fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_Py_Void();
9183 if (arg3
) delete [] arg3
;
9188 if (arg3
) delete [] arg3
;
9194 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
= 0;
9196 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9198 int *arg3
= (int *) 0 ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9203 char * kwnames
[] = {
9204 (char *) "self",(char *) "styles", NULL
9207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9209 if (!SWIG_IsOK(res1
)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9212 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9214 arg2
= PyList_Size(obj1
);
9215 arg3
= int_LIST_helper(obj1
);
9216 if (arg3
== NULL
) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 resultobj
= SWIG_Py_Void();
9226 if (arg3
) delete [] arg3
;
9231 if (arg3
) delete [] arg3
;
9237 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
= 0;
9239 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9246 PyObject
* obj0
= 0 ;
9247 PyObject
* obj1
= 0 ;
9248 char * kwnames
[] = {
9249 (char *) "self",(char *) "i", NULL
9252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9254 if (!SWIG_IsOK(res1
)) {
9255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9257 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9259 if (!SWIG_IsOK(ecode2
)) {
9260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9262 arg2
= static_cast< int >(val2
);
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9269 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9276 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
= 0;
9278 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9284 PyObject
* obj0
= 0 ;
9285 PyObject
* obj1
= 0 ;
9286 char * kwnames
[] = {
9287 (char *) "self",(char *) "height", NULL
9290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9292 if (!SWIG_IsOK(res1
)) {
9293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9295 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9297 if (!SWIG_IsOK(ecode2
)) {
9298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9300 arg2
= static_cast< int >(val2
);
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 (arg1
)->SetMinHeight(arg2
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= SWIG_Py_Void();
9314 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9315 PyObject
*resultobj
= 0;
9316 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9320 PyObject
*swig_obj
[1] ;
9322 if (!args
) SWIG_fail
;
9324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9325 if (!SWIG_IsOK(res1
)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9328 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= SWIG_From_int(static_cast< int >(result
));
9342 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9343 PyObject
*resultobj
= 0;
9344 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9348 PyObject
*swig_obj
[1] ;
9350 if (!args
) SWIG_fail
;
9352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9353 if (!SWIG_IsOK(res1
)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9356 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 resultobj
= SWIG_From_int(static_cast< int >(result
));
9370 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
= 0;
9372 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9373 SwigValueWrapper
<wxVisualAttributes
> result
;
9376 PyObject
* obj0
= 0 ;
9377 char * kwnames
[] = {
9378 (char *) "variant", NULL
9381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9383 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9384 if (!SWIG_IsOK(ecode1
)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9387 arg1
= static_cast< wxWindowVariant
>(val1
);
9390 if (!wxPyCheckForApp()) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9403 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9406 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9407 return SWIG_Py_Void();
9410 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9411 return SWIG_Python_InitShadowInstance(args
);
9414 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9415 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9420 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9421 PyObject
*pyobj
= 0;
9425 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9427 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9434 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
= 0;
9436 wxWindow
*arg1
= (wxWindow
*) 0 ;
9437 int arg2
= (int) -1 ;
9438 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9439 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9440 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9441 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9442 long arg5
= (long) wxSP_3D
;
9443 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9444 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9445 wxSplitterWindow
*result
= 0 ;
9454 bool temp6
= false ;
9455 PyObject
* obj0
= 0 ;
9456 PyObject
* obj1
= 0 ;
9457 PyObject
* obj2
= 0 ;
9458 PyObject
* obj3
= 0 ;
9459 PyObject
* obj4
= 0 ;
9460 PyObject
* obj5
= 0 ;
9461 char * kwnames
[] = {
9462 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9467 if (!SWIG_IsOK(res1
)) {
9468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9470 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9473 if (!SWIG_IsOK(ecode2
)) {
9474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9476 arg2
= static_cast< int >(val2
);
9481 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9487 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9491 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9492 if (!SWIG_IsOK(ecode5
)) {
9493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9495 arg5
= static_cast< long >(val5
);
9499 arg6
= wxString_in_helper(obj5
);
9500 if (arg6
== NULL
) SWIG_fail
;
9505 if (!wxPyCheckForApp()) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9526 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9527 PyObject
*resultobj
= 0;
9528 wxSplitterWindow
*result
= 0 ;
9530 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9532 if (!wxPyCheckForApp()) SWIG_fail
;
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9545 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
= 0;
9547 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9548 wxWindow
*arg2
= (wxWindow
*) 0 ;
9549 int arg3
= (int) -1 ;
9550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9554 long arg6
= (long) wxSP_3D
;
9555 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9556 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9568 bool temp7
= false ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9571 PyObject
* obj2
= 0 ;
9572 PyObject
* obj3
= 0 ;
9573 PyObject
* obj4
= 0 ;
9574 PyObject
* obj5
= 0 ;
9575 PyObject
* obj6
= 0 ;
9576 char * kwnames
[] = {
9577 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9582 if (!SWIG_IsOK(res1
)) {
9583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9585 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9587 if (!SWIG_IsOK(res2
)) {
9588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9590 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9593 if (!SWIG_IsOK(ecode3
)) {
9594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9596 arg3
= static_cast< int >(val3
);
9601 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9607 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9611 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9612 if (!SWIG_IsOK(ecode6
)) {
9613 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9615 arg6
= static_cast< long >(val6
);
9619 arg7
= wxString_in_helper(obj6
);
9620 if (arg7
== NULL
) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9647 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9648 PyObject
*resultobj
= 0;
9649 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9650 wxWindow
*result
= 0 ;
9653 PyObject
*swig_obj
[1] ;
9655 if (!args
) SWIG_fail
;
9657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9658 if (!SWIG_IsOK(res1
)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9661 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9669 resultobj
= wxPyMake_wxObject(result
, 0);
9677 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9678 PyObject
*resultobj
= 0;
9679 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9680 wxWindow
*result
= 0 ;
9683 PyObject
*swig_obj
[1] ;
9685 if (!args
) SWIG_fail
;
9687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9688 if (!SWIG_IsOK(res1
)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9691 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= wxPyMake_wxObject(result
, 0);
9707 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
= 0;
9709 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9716 PyObject
* obj1
= 0 ;
9717 char * kwnames
[] = {
9718 (char *) "self",(char *) "mode", NULL
9721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9723 if (!SWIG_IsOK(res1
)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9726 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9728 if (!SWIG_IsOK(ecode2
)) {
9729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9731 arg2
= static_cast< int >(val2
);
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 (arg1
)->SetSplitMode(arg2
);
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_Py_Void();
9745 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9746 PyObject
*resultobj
= 0;
9747 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9751 PyObject
*swig_obj
[1] ;
9753 if (!args
) SWIG_fail
;
9755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9756 if (!SWIG_IsOK(res1
)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9759 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= SWIG_From_int(static_cast< int >(result
));
9773 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
= 0;
9775 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9776 wxWindow
*arg2
= (wxWindow
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9783 char * kwnames
[] = {
9784 (char *) "self",(char *) "window", NULL
9787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9789 if (!SWIG_IsOK(res1
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9792 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9793 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9794 if (!SWIG_IsOK(res2
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9797 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 (arg1
)->Initialize(arg2
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9804 resultobj
= SWIG_Py_Void();
9811 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
= 0;
9813 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9814 wxWindow
*arg2
= (wxWindow
*) 0 ;
9815 wxWindow
*arg3
= (wxWindow
*) 0 ;
9816 int arg4
= (int) 0 ;
9826 PyObject
* obj0
= 0 ;
9827 PyObject
* obj1
= 0 ;
9828 PyObject
* obj2
= 0 ;
9829 PyObject
* obj3
= 0 ;
9830 char * kwnames
[] = {
9831 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9836 if (!SWIG_IsOK(res1
)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9839 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9840 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9841 if (!SWIG_IsOK(res2
)) {
9842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9844 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9845 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9846 if (!SWIG_IsOK(res3
)) {
9847 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9849 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9851 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9852 if (!SWIG_IsOK(ecode4
)) {
9853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9855 arg4
= static_cast< int >(val4
);
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9872 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
= 0;
9874 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9875 wxWindow
*arg2
= (wxWindow
*) 0 ;
9876 wxWindow
*arg3
= (wxWindow
*) 0 ;
9877 int arg4
= (int) 0 ;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9889 PyObject
* obj2
= 0 ;
9890 PyObject
* obj3
= 0 ;
9891 char * kwnames
[] = {
9892 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9897 if (!SWIG_IsOK(res1
)) {
9898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9900 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9902 if (!SWIG_IsOK(res2
)) {
9903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9905 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9906 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9907 if (!SWIG_IsOK(res3
)) {
9908 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9910 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9912 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9913 if (!SWIG_IsOK(ecode4
)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9916 arg4
= static_cast< int >(val4
);
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9933 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
= 0;
9935 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9936 wxWindow
*arg2
= (wxWindow
*) NULL
;
9942 PyObject
* obj0
= 0 ;
9943 PyObject
* obj1
= 0 ;
9944 char * kwnames
[] = {
9945 (char *) "self",(char *) "toRemove", NULL
9948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9950 if (!SWIG_IsOK(res1
)) {
9951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9953 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9956 if (!SWIG_IsOK(res2
)) {
9957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9959 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (bool)(arg1
)->Unsplit(arg2
);
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9976 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
= 0;
9978 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9979 wxWindow
*arg2
= (wxWindow
*) 0 ;
9980 wxWindow
*arg3
= (wxWindow
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9989 PyObject
* obj1
= 0 ;
9990 PyObject
* obj2
= 0 ;
9991 char * kwnames
[] = {
9992 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9997 if (!SWIG_IsOK(res1
)) {
9998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10000 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10001 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10002 if (!SWIG_IsOK(res2
)) {
10003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10005 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10006 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10007 if (!SWIG_IsOK(res3
)) {
10008 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10010 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10026 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10027 PyObject
*resultobj
= 0;
10028 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10031 PyObject
*swig_obj
[1] ;
10033 if (!args
) SWIG_fail
;
10034 swig_obj
[0] = args
;
10035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10036 if (!SWIG_IsOK(res1
)) {
10037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10039 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 (arg1
)->UpdateSize();
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_Py_Void();
10053 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10054 PyObject
*resultobj
= 0;
10055 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10059 PyObject
*swig_obj
[1] ;
10061 if (!args
) SWIG_fail
;
10062 swig_obj
[0] = args
;
10063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10064 if (!SWIG_IsOK(res1
)) {
10065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10067 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10083 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
= 0;
10085 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10091 PyObject
* obj0
= 0 ;
10092 PyObject
* obj1
= 0 ;
10093 char * kwnames
[] = {
10094 (char *) "self",(char *) "width", NULL
10097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10099 if (!SWIG_IsOK(res1
)) {
10100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10102 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10104 if (!SWIG_IsOK(ecode2
)) {
10105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10107 arg2
= static_cast< int >(val2
);
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 (arg1
)->SetSashSize(arg2
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= SWIG_Py_Void();
10121 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
= 0;
10123 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10129 PyObject
* obj0
= 0 ;
10130 PyObject
* obj1
= 0 ;
10131 char * kwnames
[] = {
10132 (char *) "self",(char *) "width", NULL
10135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10137 if (!SWIG_IsOK(res1
)) {
10138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10140 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10142 if (!SWIG_IsOK(ecode2
)) {
10143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10145 arg2
= static_cast< int >(val2
);
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 (arg1
)->SetBorderSize(arg2
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_Py_Void();
10159 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10160 PyObject
*resultobj
= 0;
10161 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10165 PyObject
*swig_obj
[1] ;
10167 if (!args
) SWIG_fail
;
10168 swig_obj
[0] = args
;
10169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10170 if (!SWIG_IsOK(res1
)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10173 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= SWIG_From_int(static_cast< int >(result
));
10187 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10188 PyObject
*resultobj
= 0;
10189 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10193 PyObject
*swig_obj
[1] ;
10195 if (!args
) SWIG_fail
;
10196 swig_obj
[0] = args
;
10197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10198 if (!SWIG_IsOK(res1
)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10201 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_From_int(static_cast< int >(result
));
10215 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
= 0;
10217 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10219 bool arg3
= (bool) true ;
10226 PyObject
* obj0
= 0 ;
10227 PyObject
* obj1
= 0 ;
10228 PyObject
* obj2
= 0 ;
10229 char * kwnames
[] = {
10230 (char *) "self",(char *) "position",(char *) "redraw", NULL
10233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10235 if (!SWIG_IsOK(res1
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10238 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10240 if (!SWIG_IsOK(ecode2
)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10243 arg2
= static_cast< int >(val2
);
10245 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10246 if (!SWIG_IsOK(ecode3
)) {
10247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10249 arg3
= static_cast< bool >(val3
);
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 (arg1
)->SetSashPosition(arg2
,arg3
);
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= SWIG_Py_Void();
10264 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10265 PyObject
*resultobj
= 0;
10266 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10270 PyObject
*swig_obj
[1] ;
10272 if (!args
) SWIG_fail
;
10273 swig_obj
[0] = args
;
10274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10275 if (!SWIG_IsOK(res1
)) {
10276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10278 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 resultobj
= SWIG_From_int(static_cast< int >(result
));
10292 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
= 0;
10294 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 PyObject
* obj1
= 0 ;
10302 char * kwnames
[] = {
10303 (char *) "self",(char *) "gravity", NULL
10306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10308 if (!SWIG_IsOK(res1
)) {
10309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10311 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10312 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10313 if (!SWIG_IsOK(ecode2
)) {
10314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10316 arg2
= static_cast< double >(val2
);
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 (arg1
)->SetSashGravity(arg2
);
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_Py_Void();
10330 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10331 PyObject
*resultobj
= 0;
10332 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10336 PyObject
*swig_obj
[1] ;
10338 if (!args
) SWIG_fail
;
10339 swig_obj
[0] = args
;
10340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10341 if (!SWIG_IsOK(res1
)) {
10342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10344 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_From_double(static_cast< double >(result
));
10358 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
= 0;
10360 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10366 PyObject
* obj0
= 0 ;
10367 PyObject
* obj1
= 0 ;
10368 char * kwnames
[] = {
10369 (char *) "self",(char *) "min", NULL
10372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10374 if (!SWIG_IsOK(res1
)) {
10375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10377 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10379 if (!SWIG_IsOK(ecode2
)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10382 arg2
= static_cast< int >(val2
);
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 (arg1
)->SetMinimumPaneSize(arg2
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= SWIG_Py_Void();
10396 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10397 PyObject
*resultobj
= 0;
10398 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10402 PyObject
*swig_obj
[1] ;
10404 if (!args
) SWIG_fail
;
10405 swig_obj
[0] = args
;
10406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10407 if (!SWIG_IsOK(res1
)) {
10408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10410 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= SWIG_From_int(static_cast< int >(result
));
10424 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= 0;
10426 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10429 int arg4
= (int) 5 ;
10439 PyObject
* obj0
= 0 ;
10440 PyObject
* obj1
= 0 ;
10441 PyObject
* obj2
= 0 ;
10442 PyObject
* obj3
= 0 ;
10443 char * kwnames
[] = {
10444 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10449 if (!SWIG_IsOK(res1
)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10452 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10454 if (!SWIG_IsOK(ecode2
)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10457 arg2
= static_cast< int >(val2
);
10458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10459 if (!SWIG_IsOK(ecode3
)) {
10460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10462 arg3
= static_cast< int >(val3
);
10464 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10465 if (!SWIG_IsOK(ecode4
)) {
10466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10468 arg4
= static_cast< int >(val4
);
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10485 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10486 PyObject
*resultobj
= 0;
10487 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10490 PyObject
*swig_obj
[1] ;
10492 if (!args
) SWIG_fail
;
10493 swig_obj
[0] = args
;
10494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10495 if (!SWIG_IsOK(res1
)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10498 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 (arg1
)->SizeWindows();
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_Py_Void();
10512 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
= 0;
10514 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10520 PyObject
* obj0
= 0 ;
10521 PyObject
* obj1
= 0 ;
10522 char * kwnames
[] = {
10523 (char *) "self",(char *) "needUpdating", NULL
10526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10528 if (!SWIG_IsOK(res1
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10531 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10532 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10533 if (!SWIG_IsOK(ecode2
)) {
10534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10536 arg2
= static_cast< bool >(val2
);
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 (arg1
)->SetNeedUpdating(arg2
);
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= SWIG_Py_Void();
10550 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10551 PyObject
*resultobj
= 0;
10552 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10556 PyObject
*swig_obj
[1] ;
10558 if (!args
) SWIG_fail
;
10559 swig_obj
[0] = args
;
10560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10561 if (!SWIG_IsOK(res1
)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10564 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10580 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
*resultobj
= 0;
10582 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10583 SwigValueWrapper
<wxVisualAttributes
> result
;
10586 PyObject
* obj0
= 0 ;
10587 char * kwnames
[] = {
10588 (char *) "variant", NULL
10591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10593 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10594 if (!SWIG_IsOK(ecode1
)) {
10595 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10597 arg1
= static_cast< wxWindowVariant
>(val1
);
10600 if (!wxPyCheckForApp()) SWIG_fail
;
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10613 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10616 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10617 return SWIG_Py_Void();
10620 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10621 return SWIG_Python_InitShadowInstance(args
);
10624 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
= 0;
10626 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10627 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10628 wxSplitterEvent
*result
= 0 ;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 char * kwnames
[] = {
10636 (char *) "type",(char *) "splitter", NULL
10639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10641 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10642 if (!SWIG_IsOK(ecode1
)) {
10643 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10645 arg1
= static_cast< wxEventType
>(val1
);
10648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10649 if (!SWIG_IsOK(res2
)) {
10650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10652 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10667 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10669 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char * kwnames
[] = {
10678 (char *) "self",(char *) "pos", NULL
10681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10686 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10688 if (!SWIG_IsOK(ecode2
)) {
10689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10691 arg2
= static_cast< int >(val2
);
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 (arg1
)->SetSashPosition(arg2
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 resultobj
= SWIG_Py_Void();
10705 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10706 PyObject
*resultobj
= 0;
10707 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10711 PyObject
*swig_obj
[1] ;
10713 if (!args
) SWIG_fail
;
10714 swig_obj
[0] = args
;
10715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10716 if (!SWIG_IsOK(res1
)) {
10717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10719 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_From_int(static_cast< int >(result
));
10733 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10734 PyObject
*resultobj
= 0;
10735 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10736 wxWindow
*result
= 0 ;
10739 PyObject
*swig_obj
[1] ;
10741 if (!args
) SWIG_fail
;
10742 swig_obj
[0] = args
;
10743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10744 if (!SWIG_IsOK(res1
)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10747 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10755 resultobj
= wxPyMake_wxObject(result
, 0);
10763 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10764 PyObject
*resultobj
= 0;
10765 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10769 PyObject
*swig_obj
[1] ;
10771 if (!args
) SWIG_fail
;
10772 swig_obj
[0] = args
;
10773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10774 if (!SWIG_IsOK(res1
)) {
10775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10777 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_From_int(static_cast< int >(result
));
10791 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10792 PyObject
*resultobj
= 0;
10793 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10797 PyObject
*swig_obj
[1] ;
10799 if (!args
) SWIG_fail
;
10800 swig_obj
[0] = args
;
10801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10802 if (!SWIG_IsOK(res1
)) {
10803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10805 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= SWIG_From_int(static_cast< int >(result
));
10819 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10822 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10823 return SWIG_Py_Void();
10826 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10827 return SWIG_Python_InitShadowInstance(args
);
10830 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10831 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10836 SWIGINTERN PyObject
*SashNameStr_get(void) {
10837 PyObject
*pyobj
= 0;
10841 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10843 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10850 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10851 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10856 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10857 PyObject
*pyobj
= 0;
10861 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10863 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10870 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
= 0;
10872 wxWindow
*arg1
= (wxWindow
*) 0 ;
10873 int arg2
= (int) -1 ;
10874 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10875 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10876 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10877 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10878 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10879 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10880 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10881 wxSashWindow
*result
= 0 ;
10890 bool temp6
= false ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 PyObject
* obj2
= 0 ;
10894 PyObject
* obj3
= 0 ;
10895 PyObject
* obj4
= 0 ;
10896 PyObject
* obj5
= 0 ;
10897 char * kwnames
[] = {
10898 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10903 if (!SWIG_IsOK(res1
)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10906 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10909 if (!SWIG_IsOK(ecode2
)) {
10910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10912 arg2
= static_cast< int >(val2
);
10917 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10923 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10927 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10928 if (!SWIG_IsOK(ecode5
)) {
10929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10931 arg5
= static_cast< long >(val5
);
10935 arg6
= wxString_in_helper(obj5
);
10936 if (arg6
== NULL
) SWIG_fail
;
10941 if (!wxPyCheckForApp()) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10962 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10963 PyObject
*resultobj
= 0;
10964 wxSashWindow
*result
= 0 ;
10966 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10968 if (!wxPyCheckForApp()) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 result
= (wxSashWindow
*)new wxSashWindow();
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10981 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
= 0;
10983 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10984 wxWindow
*arg2
= (wxWindow
*) 0 ;
10985 int arg3
= (int) -1 ;
10986 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10987 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10988 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10989 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10990 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10991 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10992 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11004 bool temp7
= false ;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 PyObject
* obj2
= 0 ;
11008 PyObject
* obj3
= 0 ;
11009 PyObject
* obj4
= 0 ;
11010 PyObject
* obj5
= 0 ;
11011 PyObject
* obj6
= 0 ;
11012 char * kwnames
[] = {
11013 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11018 if (!SWIG_IsOK(res1
)) {
11019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11021 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11023 if (!SWIG_IsOK(res2
)) {
11024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11026 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11029 if (!SWIG_IsOK(ecode3
)) {
11030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11032 arg3
= static_cast< int >(val3
);
11037 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11043 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11047 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11048 if (!SWIG_IsOK(ecode6
)) {
11049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11051 arg6
= static_cast< long >(val6
);
11055 arg7
= wxString_in_helper(obj6
);
11056 if (arg7
== NULL
) SWIG_fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
= 0;
11085 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11086 wxSashEdgePosition arg2
;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 PyObject
* obj2
= 0 ;
11097 char * kwnames
[] = {
11098 (char *) "self",(char *) "edge",(char *) "sash", NULL
11101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11103 if (!SWIG_IsOK(res1
)) {
11104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11106 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11108 if (!SWIG_IsOK(ecode2
)) {
11109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11111 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11112 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11113 if (!SWIG_IsOK(ecode3
)) {
11114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11116 arg3
= static_cast< bool >(val3
);
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 (arg1
)->SetSashVisible(arg2
,arg3
);
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= SWIG_Py_Void();
11130 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
= 0;
11132 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11133 wxSashEdgePosition arg2
;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 char * kwnames
[] = {
11142 (char *) "self",(char *) "edge", NULL
11145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11147 if (!SWIG_IsOK(res1
)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11150 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11152 if (!SWIG_IsOK(ecode2
)) {
11153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11155 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11171 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
= 0;
11173 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11174 wxSashEdgePosition arg2
;
11180 PyObject
* obj0
= 0 ;
11181 PyObject
* obj1
= 0 ;
11182 char * kwnames
[] = {
11183 (char *) "self",(char *) "edge", NULL
11186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11188 if (!SWIG_IsOK(res1
)) {
11189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11191 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11193 if (!SWIG_IsOK(ecode2
)) {
11194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11196 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11203 resultobj
= SWIG_From_int(static_cast< int >(result
));
11210 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
*resultobj
= 0;
11212 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11218 PyObject
* obj0
= 0 ;
11219 PyObject
* obj1
= 0 ;
11220 char * kwnames
[] = {
11221 (char *) "self",(char *) "width", NULL
11224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11226 if (!SWIG_IsOK(res1
)) {
11227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11229 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11231 if (!SWIG_IsOK(ecode2
)) {
11232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11234 arg2
= static_cast< int >(val2
);
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 (arg1
)->SetDefaultBorderSize(arg2
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= SWIG_Py_Void();
11248 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11249 PyObject
*resultobj
= 0;
11250 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11254 PyObject
*swig_obj
[1] ;
11256 if (!args
) SWIG_fail
;
11257 swig_obj
[0] = args
;
11258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11259 if (!SWIG_IsOK(res1
)) {
11260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11262 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 resultobj
= SWIG_From_int(static_cast< int >(result
));
11276 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
*resultobj
= 0;
11278 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11284 PyObject
* obj0
= 0 ;
11285 PyObject
* obj1
= 0 ;
11286 char * kwnames
[] = {
11287 (char *) "self",(char *) "width", NULL
11290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11292 if (!SWIG_IsOK(res1
)) {
11293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11295 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11297 if (!SWIG_IsOK(ecode2
)) {
11298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11300 arg2
= static_cast< int >(val2
);
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 (arg1
)->SetExtraBorderSize(arg2
);
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_Py_Void();
11314 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11315 PyObject
*resultobj
= 0;
11316 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11320 PyObject
*swig_obj
[1] ;
11322 if (!args
) SWIG_fail
;
11323 swig_obj
[0] = args
;
11324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11325 if (!SWIG_IsOK(res1
)) {
11326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11328 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 resultobj
= SWIG_From_int(static_cast< int >(result
));
11342 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11343 PyObject
*resultobj
= 0;
11344 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11350 PyObject
* obj0
= 0 ;
11351 PyObject
* obj1
= 0 ;
11352 char * kwnames
[] = {
11353 (char *) "self",(char *) "min", NULL
11356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11358 if (!SWIG_IsOK(res1
)) {
11359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11361 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11363 if (!SWIG_IsOK(ecode2
)) {
11364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11366 arg2
= static_cast< int >(val2
);
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11369 (arg1
)->SetMinimumSizeX(arg2
);
11370 wxPyEndAllowThreads(__tstate
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 resultobj
= SWIG_Py_Void();
11380 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
= 0;
11382 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 PyObject
* obj1
= 0 ;
11390 char * kwnames
[] = {
11391 (char *) "self",(char *) "min", NULL
11394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11396 if (!SWIG_IsOK(res1
)) {
11397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11399 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11401 if (!SWIG_IsOK(ecode2
)) {
11402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11404 arg2
= static_cast< int >(val2
);
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 (arg1
)->SetMinimumSizeY(arg2
);
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= SWIG_Py_Void();
11418 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11419 PyObject
*resultobj
= 0;
11420 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11424 PyObject
*swig_obj
[1] ;
11426 if (!args
) SWIG_fail
;
11427 swig_obj
[0] = args
;
11428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11429 if (!SWIG_IsOK(res1
)) {
11430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11432 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= SWIG_From_int(static_cast< int >(result
));
11446 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11447 PyObject
*resultobj
= 0;
11448 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11452 PyObject
*swig_obj
[1] ;
11454 if (!args
) SWIG_fail
;
11455 swig_obj
[0] = args
;
11456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11457 if (!SWIG_IsOK(res1
)) {
11458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11460 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 resultobj
= SWIG_From_int(static_cast< int >(result
));
11474 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
*resultobj
= 0;
11476 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 char * kwnames
[] = {
11485 (char *) "self",(char *) "max", NULL
11488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11490 if (!SWIG_IsOK(res1
)) {
11491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11493 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11495 if (!SWIG_IsOK(ecode2
)) {
11496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11498 arg2
= static_cast< int >(val2
);
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 (arg1
)->SetMaximumSizeX(arg2
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= SWIG_Py_Void();
11512 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
= 0;
11514 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 PyObject
* obj1
= 0 ;
11522 char * kwnames
[] = {
11523 (char *) "self",(char *) "max", NULL
11526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11528 if (!SWIG_IsOK(res1
)) {
11529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11531 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11533 if (!SWIG_IsOK(ecode2
)) {
11534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11536 arg2
= static_cast< int >(val2
);
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 (arg1
)->SetMaximumSizeY(arg2
);
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 resultobj
= SWIG_Py_Void();
11550 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11551 PyObject
*resultobj
= 0;
11552 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11556 PyObject
*swig_obj
[1] ;
11558 if (!args
) SWIG_fail
;
11559 swig_obj
[0] = args
;
11560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11561 if (!SWIG_IsOK(res1
)) {
11562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11564 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11571 resultobj
= SWIG_From_int(static_cast< int >(result
));
11578 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11579 PyObject
*resultobj
= 0;
11580 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11584 PyObject
*swig_obj
[1] ;
11586 if (!args
) SWIG_fail
;
11587 swig_obj
[0] = args
;
11588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11589 if (!SWIG_IsOK(res1
)) {
11590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11592 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= SWIG_From_int(static_cast< int >(result
));
11606 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11607 PyObject
*resultobj
= 0;
11608 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11611 int arg4
= (int) 2 ;
11612 wxSashEdgePosition result
;
11621 PyObject
* obj0
= 0 ;
11622 PyObject
* obj1
= 0 ;
11623 PyObject
* obj2
= 0 ;
11624 PyObject
* obj3
= 0 ;
11625 char * kwnames
[] = {
11626 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11631 if (!SWIG_IsOK(res1
)) {
11632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11634 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11636 if (!SWIG_IsOK(ecode2
)) {
11637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11639 arg2
= static_cast< int >(val2
);
11640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11641 if (!SWIG_IsOK(ecode3
)) {
11642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11644 arg3
= static_cast< int >(val3
);
11646 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11647 if (!SWIG_IsOK(ecode4
)) {
11648 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11650 arg4
= static_cast< int >(val4
);
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= SWIG_From_int(static_cast< int >(result
));
11665 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11666 PyObject
*resultobj
= 0;
11667 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11670 PyObject
*swig_obj
[1] ;
11672 if (!args
) SWIG_fail
;
11673 swig_obj
[0] = args
;
11674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11675 if (!SWIG_IsOK(res1
)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11678 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 (arg1
)->SizeWindows();
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 resultobj
= SWIG_Py_Void();
11692 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11695 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11696 return SWIG_Py_Void();
11699 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11700 return SWIG_Python_InitShadowInstance(args
);
11703 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
= 0;
11705 int arg1
= (int) 0 ;
11706 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11707 wxSashEvent
*result
= 0 ;
11712 PyObject
* obj0
= 0 ;
11713 PyObject
* obj1
= 0 ;
11714 char * kwnames
[] = {
11715 (char *) "id",(char *) "edge", NULL
11718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11720 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11721 if (!SWIG_IsOK(ecode1
)) {
11722 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11724 arg1
= static_cast< int >(val1
);
11727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11728 if (!SWIG_IsOK(ecode2
)) {
11729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11731 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11746 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
= 0;
11748 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11749 wxSashEdgePosition arg2
;
11754 PyObject
* obj0
= 0 ;
11755 PyObject
* obj1
= 0 ;
11756 char * kwnames
[] = {
11757 (char *) "self",(char *) "edge", NULL
11760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11762 if (!SWIG_IsOK(res1
)) {
11763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11765 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11767 if (!SWIG_IsOK(ecode2
)) {
11768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11770 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 (arg1
)->SetEdge(arg2
);
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= SWIG_Py_Void();
11784 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11785 PyObject
*resultobj
= 0;
11786 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11787 wxSashEdgePosition result
;
11790 PyObject
*swig_obj
[1] ;
11792 if (!args
) SWIG_fail
;
11793 swig_obj
[0] = args
;
11794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11795 if (!SWIG_IsOK(res1
)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11798 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= SWIG_From_int(static_cast< int >(result
));
11812 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
= 0;
11814 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11819 PyObject
* obj0
= 0 ;
11820 PyObject
* obj1
= 0 ;
11821 char * kwnames
[] = {
11822 (char *) "self",(char *) "rect", NULL
11825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11827 if (!SWIG_IsOK(res1
)) {
11828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11830 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11833 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= SWIG_Py_Void();
11848 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11849 PyObject
*resultobj
= 0;
11850 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11854 PyObject
*swig_obj
[1] ;
11856 if (!args
) SWIG_fail
;
11857 swig_obj
[0] = args
;
11858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11859 if (!SWIG_IsOK(res1
)) {
11860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11862 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11876 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
= 0;
11878 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11879 wxSashDragStatus arg2
;
11884 PyObject
* obj0
= 0 ;
11885 PyObject
* obj1
= 0 ;
11886 char * kwnames
[] = {
11887 (char *) "self",(char *) "status", NULL
11890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11892 if (!SWIG_IsOK(res1
)) {
11893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11895 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11897 if (!SWIG_IsOK(ecode2
)) {
11898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11900 arg2
= static_cast< wxSashDragStatus
>(val2
);
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 (arg1
)->SetDragStatus(arg2
);
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= SWIG_Py_Void();
11914 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11915 PyObject
*resultobj
= 0;
11916 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11917 wxSashDragStatus result
;
11920 PyObject
*swig_obj
[1] ;
11922 if (!args
) SWIG_fail
;
11923 swig_obj
[0] = args
;
11924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11925 if (!SWIG_IsOK(res1
)) {
11926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11928 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= SWIG_From_int(static_cast< int >(result
));
11942 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11945 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11946 return SWIG_Py_Void();
11949 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11950 return SWIG_Python_InitShadowInstance(args
);
11953 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
= 0;
11955 int arg1
= (int) 0 ;
11956 wxQueryLayoutInfoEvent
*result
= 0 ;
11959 PyObject
* obj0
= 0 ;
11960 char * kwnames
[] = {
11961 (char *) "id", NULL
11964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11966 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11967 if (!SWIG_IsOK(ecode1
)) {
11968 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11970 arg1
= static_cast< int >(val1
);
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11975 wxPyEndAllowThreads(__tstate
);
11976 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11985 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
= 0;
11987 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 char * kwnames
[] = {
11996 (char *) "self",(char *) "length", NULL
11999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12001 if (!SWIG_IsOK(res1
)) {
12002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12004 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12006 if (!SWIG_IsOK(ecode2
)) {
12007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12009 arg2
= static_cast< int >(val2
);
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 (arg1
)->SetRequestedLength(arg2
);
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= SWIG_Py_Void();
12023 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12024 PyObject
*resultobj
= 0;
12025 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12029 PyObject
*swig_obj
[1] ;
12031 if (!args
) SWIG_fail
;
12032 swig_obj
[0] = args
;
12033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12034 if (!SWIG_IsOK(res1
)) {
12035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12037 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= SWIG_From_int(static_cast< int >(result
));
12051 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
= 0;
12053 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char * kwnames
[] = {
12062 (char *) "self",(char *) "flags", NULL
12065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12067 if (!SWIG_IsOK(res1
)) {
12068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12070 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12072 if (!SWIG_IsOK(ecode2
)) {
12073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12075 arg2
= static_cast< int >(val2
);
12077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12078 (arg1
)->SetFlags(arg2
);
12079 wxPyEndAllowThreads(__tstate
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= SWIG_Py_Void();
12089 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12090 PyObject
*resultobj
= 0;
12091 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12095 PyObject
*swig_obj
[1] ;
12097 if (!args
) SWIG_fail
;
12098 swig_obj
[0] = args
;
12099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12100 if (!SWIG_IsOK(res1
)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12103 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= SWIG_From_int(static_cast< int >(result
));
12117 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
= 0;
12119 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 char * kwnames
[] = {
12127 (char *) "self",(char *) "size", NULL
12130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12132 if (!SWIG_IsOK(res1
)) {
12133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12135 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12138 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 (arg1
)->SetSize((wxSize
const &)*arg2
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_Py_Void();
12153 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12154 PyObject
*resultobj
= 0;
12155 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12159 PyObject
*swig_obj
[1] ;
12161 if (!args
) SWIG_fail
;
12162 swig_obj
[0] = args
;
12163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12164 if (!SWIG_IsOK(res1
)) {
12165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12167 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12170 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12181 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
= 0;
12183 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12184 wxLayoutOrientation arg2
;
12189 PyObject
* obj0
= 0 ;
12190 PyObject
* obj1
= 0 ;
12191 char * kwnames
[] = {
12192 (char *) "self",(char *) "orient", NULL
12195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12197 if (!SWIG_IsOK(res1
)) {
12198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12200 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12202 if (!SWIG_IsOK(ecode2
)) {
12203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12205 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 (arg1
)->SetOrientation(arg2
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= SWIG_Py_Void();
12219 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12220 PyObject
*resultobj
= 0;
12221 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12222 wxLayoutOrientation result
;
12225 PyObject
*swig_obj
[1] ;
12227 if (!args
) SWIG_fail
;
12228 swig_obj
[0] = args
;
12229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12230 if (!SWIG_IsOK(res1
)) {
12231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12233 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 resultobj
= SWIG_From_int(static_cast< int >(result
));
12247 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
= 0;
12249 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12250 wxLayoutAlignment arg2
;
12255 PyObject
* obj0
= 0 ;
12256 PyObject
* obj1
= 0 ;
12257 char * kwnames
[] = {
12258 (char *) "self",(char *) "align", NULL
12261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12263 if (!SWIG_IsOK(res1
)) {
12264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12266 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12268 if (!SWIG_IsOK(ecode2
)) {
12269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12271 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 (arg1
)->SetAlignment(arg2
);
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= SWIG_Py_Void();
12285 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12286 PyObject
*resultobj
= 0;
12287 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12288 wxLayoutAlignment result
;
12291 PyObject
*swig_obj
[1] ;
12293 if (!args
) SWIG_fail
;
12294 swig_obj
[0] = args
;
12295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12296 if (!SWIG_IsOK(res1
)) {
12297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12299 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= SWIG_From_int(static_cast< int >(result
));
12313 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12316 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12317 return SWIG_Py_Void();
12320 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12321 return SWIG_Python_InitShadowInstance(args
);
12324 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12325 PyObject
*resultobj
= 0;
12326 int arg1
= (int) 0 ;
12327 wxCalculateLayoutEvent
*result
= 0 ;
12330 PyObject
* obj0
= 0 ;
12331 char * kwnames
[] = {
12332 (char *) "id", NULL
12335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12337 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12338 if (!SWIG_IsOK(ecode1
)) {
12339 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12341 arg1
= static_cast< int >(val1
);
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12356 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
= 0;
12358 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12364 PyObject
* obj0
= 0 ;
12365 PyObject
* obj1
= 0 ;
12366 char * kwnames
[] = {
12367 (char *) "self",(char *) "flags", NULL
12370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12372 if (!SWIG_IsOK(res1
)) {
12373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12375 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12377 if (!SWIG_IsOK(ecode2
)) {
12378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12380 arg2
= static_cast< int >(val2
);
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 (arg1
)->SetFlags(arg2
);
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 resultobj
= SWIG_Py_Void();
12394 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12395 PyObject
*resultobj
= 0;
12396 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12400 PyObject
*swig_obj
[1] ;
12402 if (!args
) SWIG_fail
;
12403 swig_obj
[0] = args
;
12404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12405 if (!SWIG_IsOK(res1
)) {
12406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12408 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_From_int(static_cast< int >(result
));
12422 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
= 0;
12424 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12429 PyObject
* obj0
= 0 ;
12430 PyObject
* obj1
= 0 ;
12431 char * kwnames
[] = {
12432 (char *) "self",(char *) "rect", NULL
12435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12437 if (!SWIG_IsOK(res1
)) {
12438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12440 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12443 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 (arg1
)->SetRect((wxRect
const &)*arg2
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= SWIG_Py_Void();
12458 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12459 PyObject
*resultobj
= 0;
12460 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12464 PyObject
*swig_obj
[1] ;
12466 if (!args
) SWIG_fail
;
12467 swig_obj
[0] = args
;
12468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12469 if (!SWIG_IsOK(res1
)) {
12470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12472 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12486 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12489 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12490 return SWIG_Py_Void();
12493 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12494 return SWIG_Python_InitShadowInstance(args
);
12497 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
= 0;
12499 wxWindow
*arg1
= (wxWindow
*) 0 ;
12500 int arg2
= (int) -1 ;
12501 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12502 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12503 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12504 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12505 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12506 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12507 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12508 wxSashLayoutWindow
*result
= 0 ;
12517 bool temp6
= false ;
12518 PyObject
* obj0
= 0 ;
12519 PyObject
* obj1
= 0 ;
12520 PyObject
* obj2
= 0 ;
12521 PyObject
* obj3
= 0 ;
12522 PyObject
* obj4
= 0 ;
12523 PyObject
* obj5
= 0 ;
12524 char * kwnames
[] = {
12525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12530 if (!SWIG_IsOK(res1
)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12533 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12536 if (!SWIG_IsOK(ecode2
)) {
12537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12539 arg2
= static_cast< int >(val2
);
12544 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12550 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12554 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12555 if (!SWIG_IsOK(ecode5
)) {
12556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12558 arg5
= static_cast< long >(val5
);
12562 arg6
= wxString_in_helper(obj5
);
12563 if (arg6
== NULL
) SWIG_fail
;
12568 if (!wxPyCheckForApp()) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12589 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12590 PyObject
*resultobj
= 0;
12591 wxSashLayoutWindow
*result
= 0 ;
12593 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12595 if (!wxPyCheckForApp()) SWIG_fail
;
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12608 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
= 0;
12610 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12611 wxWindow
*arg2
= (wxWindow
*) 0 ;
12612 int arg3
= (int) -1 ;
12613 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12614 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12615 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12616 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12617 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12618 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12619 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12631 bool temp7
= false ;
12632 PyObject
* obj0
= 0 ;
12633 PyObject
* obj1
= 0 ;
12634 PyObject
* obj2
= 0 ;
12635 PyObject
* obj3
= 0 ;
12636 PyObject
* obj4
= 0 ;
12637 PyObject
* obj5
= 0 ;
12638 PyObject
* obj6
= 0 ;
12639 char * kwnames
[] = {
12640 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12645 if (!SWIG_IsOK(res1
)) {
12646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12648 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12650 if (!SWIG_IsOK(res2
)) {
12651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12653 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12656 if (!SWIG_IsOK(ecode3
)) {
12657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12659 arg3
= static_cast< int >(val3
);
12664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12674 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12675 if (!SWIG_IsOK(ecode6
)) {
12676 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12678 arg6
= static_cast< long >(val6
);
12682 arg7
= wxString_in_helper(obj6
);
12683 if (arg7
== NULL
) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12710 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12711 PyObject
*resultobj
= 0;
12712 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12713 wxLayoutAlignment result
;
12716 PyObject
*swig_obj
[1] ;
12718 if (!args
) SWIG_fail
;
12719 swig_obj
[0] = args
;
12720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12721 if (!SWIG_IsOK(res1
)) {
12722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12724 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_From_int(static_cast< int >(result
));
12738 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12739 PyObject
*resultobj
= 0;
12740 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12741 wxLayoutOrientation result
;
12744 PyObject
*swig_obj
[1] ;
12746 if (!args
) SWIG_fail
;
12747 swig_obj
[0] = args
;
12748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12749 if (!SWIG_IsOK(res1
)) {
12750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12752 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12759 resultobj
= SWIG_From_int(static_cast< int >(result
));
12766 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
= 0;
12768 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12769 wxLayoutAlignment arg2
;
12774 PyObject
* obj0
= 0 ;
12775 PyObject
* obj1
= 0 ;
12776 char * kwnames
[] = {
12777 (char *) "self",(char *) "alignment", NULL
12780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12782 if (!SWIG_IsOK(res1
)) {
12783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12785 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12787 if (!SWIG_IsOK(ecode2
)) {
12788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12790 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12793 (arg1
)->SetAlignment(arg2
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= SWIG_Py_Void();
12804 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
= 0;
12806 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12811 PyObject
* obj0
= 0 ;
12812 PyObject
* obj1
= 0 ;
12813 char * kwnames
[] = {
12814 (char *) "self",(char *) "size", NULL
12817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12819 if (!SWIG_IsOK(res1
)) {
12820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12822 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12825 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= SWIG_Py_Void();
12840 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12841 PyObject
*resultobj
= 0;
12842 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12843 wxLayoutOrientation arg2
;
12848 PyObject
* obj0
= 0 ;
12849 PyObject
* obj1
= 0 ;
12850 char * kwnames
[] = {
12851 (char *) "self",(char *) "orientation", NULL
12854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12856 if (!SWIG_IsOK(res1
)) {
12857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12859 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12861 if (!SWIG_IsOK(ecode2
)) {
12862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12864 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 (arg1
)->SetOrientation(arg2
);
12868 wxPyEndAllowThreads(__tstate
);
12869 if (PyErr_Occurred()) SWIG_fail
;
12871 resultobj
= SWIG_Py_Void();
12878 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12881 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12882 return SWIG_Py_Void();
12885 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12886 return SWIG_Python_InitShadowInstance(args
);
12889 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12890 PyObject
*resultobj
= 0;
12891 wxLayoutAlgorithm
*result
= 0 ;
12893 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12907 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12908 PyObject
*resultobj
= 0;
12909 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12912 PyObject
*swig_obj
[1] ;
12914 if (!args
) SWIG_fail
;
12915 swig_obj
[0] = args
;
12916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12917 if (!SWIG_IsOK(res1
)) {
12918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12920 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= SWIG_Py_Void();
12935 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
= 0;
12937 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12938 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12939 wxRect
*arg3
= (wxRect
*) NULL
;
12947 PyObject
* obj0
= 0 ;
12948 PyObject
* obj1
= 0 ;
12949 PyObject
* obj2
= 0 ;
12950 char * kwnames
[] = {
12951 (char *) "self",(char *) "frame",(char *) "rect", NULL
12954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12956 if (!SWIG_IsOK(res1
)) {
12957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12959 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12961 if (!SWIG_IsOK(res2
)) {
12962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12964 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12966 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12967 if (!SWIG_IsOK(res3
)) {
12968 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12970 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12987 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
= 0;
12989 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12990 wxFrame
*arg2
= (wxFrame
*) 0 ;
12991 wxWindow
*arg3
= (wxWindow
*) NULL
;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 PyObject
* obj2
= 0 ;
13002 char * kwnames
[] = {
13003 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13008 if (!SWIG_IsOK(res1
)) {
13009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13011 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13012 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13013 if (!SWIG_IsOK(res2
)) {
13014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13016 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13018 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13019 if (!SWIG_IsOK(res3
)) {
13020 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13022 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13039 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
= 0;
13041 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13042 wxWindow
*arg2
= (wxWindow
*) 0 ;
13043 wxWindow
*arg3
= (wxWindow
*) NULL
;
13051 PyObject
* obj0
= 0 ;
13052 PyObject
* obj1
= 0 ;
13053 PyObject
* obj2
= 0 ;
13054 char * kwnames
[] = {
13055 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13060 if (!SWIG_IsOK(res1
)) {
13061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13063 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13065 if (!SWIG_IsOK(res2
)) {
13066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13068 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13070 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13071 if (!SWIG_IsOK(res3
)) {
13072 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13074 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13078 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13091 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13094 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13095 return SWIG_Py_Void();
13098 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13099 return SWIG_Python_InitShadowInstance(args
);
13102 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
= 0;
13104 wxWindow
*arg1
= (wxWindow
*) 0 ;
13105 int arg2
= (int) wxBORDER_NONE
;
13106 wxPopupWindow
*result
= 0 ;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 char * kwnames
[] = {
13114 (char *) "parent",(char *) "flags", NULL
13117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13119 if (!SWIG_IsOK(res1
)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13125 if (!SWIG_IsOK(ecode2
)) {
13126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13128 arg2
= static_cast< int >(val2
);
13131 if (!wxPyCheckForApp()) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13144 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13145 PyObject
*resultobj
= 0;
13146 wxPopupWindow
*result
= 0 ;
13148 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13150 if (!wxPyCheckForApp()) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 result
= (wxPopupWindow
*)new wxPopupWindow();
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13163 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
= 0;
13165 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13166 wxWindow
*arg2
= (wxWindow
*) 0 ;
13167 int arg3
= (int) wxBORDER_NONE
;
13175 PyObject
* obj0
= 0 ;
13176 PyObject
* obj1
= 0 ;
13177 PyObject
* obj2
= 0 ;
13178 char * kwnames
[] = {
13179 (char *) "self",(char *) "parent",(char *) "flags", NULL
13182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13184 if (!SWIG_IsOK(res1
)) {
13185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13187 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13189 if (!SWIG_IsOK(res2
)) {
13190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13192 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13195 if (!SWIG_IsOK(ecode3
)) {
13196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13198 arg3
= static_cast< int >(val3
);
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13215 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
= 0;
13217 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13218 wxPoint
*arg2
= 0 ;
13224 PyObject
* obj0
= 0 ;
13225 PyObject
* obj1
= 0 ;
13226 PyObject
* obj2
= 0 ;
13227 char * kwnames
[] = {
13228 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13233 if (!SWIG_IsOK(res1
)) {
13234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13236 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13239 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13243 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= SWIG_Py_Void();
13258 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13261 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13262 return SWIG_Py_Void();
13265 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13266 return SWIG_Python_InitShadowInstance(args
);
13269 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
= 0;
13271 wxWindow
*arg1
= (wxWindow
*) 0 ;
13272 int arg2
= (int) wxBORDER_NONE
;
13273 wxPyPopupTransientWindow
*result
= 0 ;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 char * kwnames
[] = {
13281 (char *) "parent",(char *) "style", NULL
13284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13286 if (!SWIG_IsOK(res1
)) {
13287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13289 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13292 if (!SWIG_IsOK(ecode2
)) {
13293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13295 arg2
= static_cast< int >(val2
);
13298 if (!wxPyCheckForApp()) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13311 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13312 PyObject
*resultobj
= 0;
13313 wxPyPopupTransientWindow
*result
= 0 ;
13315 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13317 if (!wxPyCheckForApp()) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13330 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
= 0;
13332 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13333 PyObject
*arg2
= (PyObject
*) 0 ;
13334 PyObject
*arg3
= (PyObject
*) 0 ;
13337 PyObject
* obj0
= 0 ;
13338 PyObject
* obj1
= 0 ;
13339 PyObject
* obj2
= 0 ;
13340 char * kwnames
[] = {
13341 (char *) "self",(char *) "self",(char *) "_class", NULL
13344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13346 if (!SWIG_IsOK(res1
)) {
13347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13349 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13358 resultobj
= SWIG_Py_Void();
13365 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
*resultobj
= 0;
13367 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13368 wxWindow
*arg2
= (wxWindow
*) NULL
;
13373 PyObject
* obj0
= 0 ;
13374 PyObject
* obj1
= 0 ;
13375 char * kwnames
[] = {
13376 (char *) "self",(char *) "focus", NULL
13379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13381 if (!SWIG_IsOK(res1
)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13384 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13387 if (!SWIG_IsOK(res2
)) {
13388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13390 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 (arg1
)->Popup(arg2
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_Py_Void();
13405 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13406 PyObject
*resultobj
= 0;
13407 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13410 PyObject
*swig_obj
[1] ;
13412 if (!args
) SWIG_fail
;
13413 swig_obj
[0] = args
;
13414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13415 if (!SWIG_IsOK(res1
)) {
13416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13418 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 resultobj
= SWIG_Py_Void();
13432 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13435 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13436 return SWIG_Py_Void();
13439 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13440 return SWIG_Python_InitShadowInstance(args
);
13443 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
= 0;
13445 wxWindow
*arg1
= (wxWindow
*) 0 ;
13446 wxString
*arg2
= 0 ;
13447 int arg3
= (int) 100 ;
13448 wxRect
*arg4
= (wxRect
*) NULL
;
13449 wxTipWindow
*result
= 0 ;
13452 bool temp2
= false ;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 PyObject
* obj2
= 0 ;
13460 PyObject
* obj3
= 0 ;
13461 char * kwnames
[] = {
13462 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13467 if (!SWIG_IsOK(res1
)) {
13468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13470 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13472 arg2
= wxString_in_helper(obj1
);
13473 if (arg2
== NULL
) SWIG_fail
;
13477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13478 if (!SWIG_IsOK(ecode3
)) {
13479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13481 arg3
= static_cast< int >(val3
);
13484 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13485 if (!SWIG_IsOK(res4
)) {
13486 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13488 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13491 if (!wxPyCheckForApp()) SWIG_fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13512 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
= 0;
13514 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13519 PyObject
* obj0
= 0 ;
13520 PyObject
* obj1
= 0 ;
13521 char * kwnames
[] = {
13522 (char *) "self",(char *) "rectBound", NULL
13525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13527 if (!SWIG_IsOK(res1
)) {
13528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13530 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13533 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13541 resultobj
= SWIG_Py_Void();
13548 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13549 PyObject
*resultobj
= 0;
13550 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13553 PyObject
*swig_obj
[1] ;
13555 if (!args
) SWIG_fail
;
13556 swig_obj
[0] = args
;
13557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13558 if (!SWIG_IsOK(res1
)) {
13559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13561 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 resultobj
= SWIG_Py_Void();
13575 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13577 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13578 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13579 return SWIG_Py_Void();
13582 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13583 return SWIG_Python_InitShadowInstance(args
);
13586 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
= 0;
13588 wxWindow
*arg1
= (wxWindow
*) 0 ;
13589 int arg2
= (int) wxID_ANY
;
13590 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13591 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13592 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13593 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13594 long arg5
= (long) 0 ;
13595 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13596 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13597 wxPyVScrolledWindow
*result
= 0 ;
13606 bool temp6
= false ;
13607 PyObject
* obj0
= 0 ;
13608 PyObject
* obj1
= 0 ;
13609 PyObject
* obj2
= 0 ;
13610 PyObject
* obj3
= 0 ;
13611 PyObject
* obj4
= 0 ;
13612 PyObject
* obj5
= 0 ;
13613 char * kwnames
[] = {
13614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13619 if (!SWIG_IsOK(res1
)) {
13620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13622 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13625 if (!SWIG_IsOK(ecode2
)) {
13626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13628 arg2
= static_cast< int >(val2
);
13633 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13639 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13643 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13644 if (!SWIG_IsOK(ecode5
)) {
13645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13647 arg5
= static_cast< long >(val5
);
13651 arg6
= wxString_in_helper(obj5
);
13652 if (arg6
== NULL
) SWIG_fail
;
13657 if (!wxPyCheckForApp()) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13678 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13679 PyObject
*resultobj
= 0;
13680 wxPyVScrolledWindow
*result
= 0 ;
13682 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13684 if (!wxPyCheckForApp()) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13697 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
= 0;
13699 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13700 PyObject
*arg2
= (PyObject
*) 0 ;
13701 PyObject
*arg3
= (PyObject
*) 0 ;
13704 PyObject
* obj0
= 0 ;
13705 PyObject
* obj1
= 0 ;
13706 PyObject
* obj2
= 0 ;
13707 char * kwnames
[] = {
13708 (char *) "self",(char *) "self",(char *) "_class", NULL
13711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13713 if (!SWIG_IsOK(res1
)) {
13714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13716 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= SWIG_Py_Void();
13732 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
= 0;
13734 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13735 wxWindow
*arg2
= (wxWindow
*) 0 ;
13736 int arg3
= (int) wxID_ANY
;
13737 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13738 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13739 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13740 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13741 long arg6
= (long) 0 ;
13742 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13743 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13755 bool temp7
= false ;
13756 PyObject
* obj0
= 0 ;
13757 PyObject
* obj1
= 0 ;
13758 PyObject
* obj2
= 0 ;
13759 PyObject
* obj3
= 0 ;
13760 PyObject
* obj4
= 0 ;
13761 PyObject
* obj5
= 0 ;
13762 PyObject
* obj6
= 0 ;
13763 char * kwnames
[] = {
13764 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13769 if (!SWIG_IsOK(res1
)) {
13770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13772 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13774 if (!SWIG_IsOK(res2
)) {
13775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13777 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13780 if (!SWIG_IsOK(ecode3
)) {
13781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13783 arg3
= static_cast< int >(val3
);
13788 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13794 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13798 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13799 if (!SWIG_IsOK(ecode6
)) {
13800 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13802 arg6
= static_cast< long >(val6
);
13806 arg7
= wxString_in_helper(obj6
);
13807 if (arg7
== NULL
) SWIG_fail
;
13812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13813 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13834 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
= 0;
13836 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13842 PyObject
* obj0
= 0 ;
13843 PyObject
* obj1
= 0 ;
13844 char * kwnames
[] = {
13845 (char *) "self",(char *) "count", NULL
13848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13850 if (!SWIG_IsOK(res1
)) {
13851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13853 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13854 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13855 if (!SWIG_IsOK(ecode2
)) {
13856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13858 arg2
= static_cast< size_t >(val2
);
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 (arg1
)->SetLineCount(arg2
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= SWIG_Py_Void();
13872 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
= 0;
13874 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 PyObject
* obj1
= 0 ;
13883 char * kwnames
[] = {
13884 (char *) "self",(char *) "line", NULL
13887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13889 if (!SWIG_IsOK(res1
)) {
13890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13892 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13893 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13894 if (!SWIG_IsOK(ecode2
)) {
13895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13897 arg2
= static_cast< size_t >(val2
);
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13901 wxPyEndAllowThreads(__tstate
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13913 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13914 PyObject
*resultobj
= 0;
13915 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 char * kwnames
[] = {
13924 (char *) "self",(char *) "line", NULL
13927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13929 if (!SWIG_IsOK(res1
)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13932 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13933 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13934 if (!SWIG_IsOK(ecode2
)) {
13935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13937 arg2
= static_cast< size_t >(val2
);
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 (arg1
)->RefreshLine(arg2
);
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= SWIG_Py_Void();
13951 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
= 0;
13953 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13962 PyObject
* obj0
= 0 ;
13963 PyObject
* obj1
= 0 ;
13964 PyObject
* obj2
= 0 ;
13965 char * kwnames
[] = {
13966 (char *) "self",(char *) "from",(char *) "to", NULL
13969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13971 if (!SWIG_IsOK(res1
)) {
13972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13974 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13975 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13976 if (!SWIG_IsOK(ecode2
)) {
13977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13979 arg2
= static_cast< size_t >(val2
);
13980 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13981 if (!SWIG_IsOK(ecode3
)) {
13982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13984 arg3
= static_cast< size_t >(val3
);
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 (arg1
)->RefreshLines(arg2
,arg3
);
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_Py_Void();
13998 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
= 0;
14000 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj1
= 0 ;
14012 PyObject
* obj2
= 0 ;
14013 char * kwnames
[] = {
14014 (char *) "self",(char *) "x",(char *) "y", NULL
14017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14019 if (!SWIG_IsOK(res1
)) {
14020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14022 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14024 if (!SWIG_IsOK(ecode2
)) {
14025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14027 arg2
= static_cast< int >(val2
);
14028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14029 if (!SWIG_IsOK(ecode3
)) {
14030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14032 arg3
= static_cast< int >(val3
);
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14039 resultobj
= SWIG_From_int(static_cast< int >(result
));
14046 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14047 PyObject
*resultobj
= 0;
14048 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14049 wxPoint
*arg2
= 0 ;
14054 PyObject
* obj0
= 0 ;
14055 PyObject
* obj1
= 0 ;
14056 char * kwnames
[] = {
14057 (char *) "self",(char *) "pt", NULL
14060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14062 if (!SWIG_IsOK(res1
)) {
14063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14065 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14068 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 resultobj
= SWIG_From_int(static_cast< int >(result
));
14083 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14084 PyObject
*resultobj
= 0;
14085 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14088 PyObject
*swig_obj
[1] ;
14090 if (!args
) SWIG_fail
;
14091 swig_obj
[0] = args
;
14092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14093 if (!SWIG_IsOK(res1
)) {
14094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14096 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 (arg1
)->RefreshAll();
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14103 resultobj
= SWIG_Py_Void();
14110 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14111 PyObject
*resultobj
= 0;
14112 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14116 PyObject
*swig_obj
[1] ;
14118 if (!args
) SWIG_fail
;
14119 swig_obj
[0] = args
;
14120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14121 if (!SWIG_IsOK(res1
)) {
14122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14124 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14127 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14131 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14138 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14139 PyObject
*resultobj
= 0;
14140 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14144 PyObject
*swig_obj
[1] ;
14146 if (!args
) SWIG_fail
;
14147 swig_obj
[0] = args
;
14148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14149 if (!SWIG_IsOK(res1
)) {
14150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14152 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14159 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14166 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14167 PyObject
*resultobj
= 0;
14168 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14172 PyObject
*swig_obj
[1] ;
14174 if (!args
) SWIG_fail
;
14175 swig_obj
[0] = args
;
14176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14177 if (!SWIG_IsOK(res1
)) {
14178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14180 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14194 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
= 0;
14196 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14203 PyObject
* obj0
= 0 ;
14204 PyObject
* obj1
= 0 ;
14205 char * kwnames
[] = {
14206 (char *) "self",(char *) "line", NULL
14209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14211 if (!SWIG_IsOK(res1
)) {
14212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14214 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14215 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14216 if (!SWIG_IsOK(ecode2
)) {
14217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14219 arg2
= static_cast< size_t >(val2
);
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14235 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14236 PyObject
*resultobj
= 0;
14237 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14241 PyObject
*swig_obj
[1] ;
14243 if (!args
) SWIG_fail
;
14244 swig_obj
[0] = args
;
14245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14246 if (!SWIG_IsOK(res1
)) {
14247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14249 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14263 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14264 PyObject
*resultobj
= 0;
14265 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14269 PyObject
*swig_obj
[1] ;
14271 if (!args
) SWIG_fail
;
14272 swig_obj
[0] = args
;
14273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14274 if (!SWIG_IsOK(res1
)) {
14275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14277 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14284 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14291 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
= 0;
14293 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14295 bool arg3
= (bool) false ;
14303 PyObject
* obj0
= 0 ;
14304 PyObject
* obj1
= 0 ;
14305 PyObject
* obj2
= 0 ;
14306 char * kwnames
[] = {
14307 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14312 if (!SWIG_IsOK(res1
)) {
14313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14315 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14316 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14317 if (!SWIG_IsOK(ecode2
)) {
14318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14320 arg2
= static_cast< size_t >(val2
);
14322 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14323 if (!SWIG_IsOK(ecode3
)) {
14324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14326 arg3
= static_cast< bool >(val3
);
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14334 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14341 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
= 0;
14343 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 PyObject
* obj1
= 0 ;
14355 PyObject
* obj2
= 0 ;
14356 char * kwnames
[] = {
14357 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14362 if (!SWIG_IsOK(res1
)) {
14363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14365 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14366 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14367 if (!SWIG_IsOK(ecode2
)) {
14368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14370 arg2
= static_cast< size_t >(val2
);
14371 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14372 if (!SWIG_IsOK(ecode3
)) {
14373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14375 arg3
= static_cast< size_t >(val3
);
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= SWIG_From_int(static_cast< int >(result
));
14389 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14392 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14393 return SWIG_Py_Void();
14396 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14397 return SWIG_Python_InitShadowInstance(args
);
14400 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14401 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14406 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14407 PyObject
*pyobj
= 0;
14411 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14413 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14420 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
= 0;
14422 wxWindow
*arg1
= (wxWindow
*) 0 ;
14423 int arg2
= (int) wxID_ANY
;
14424 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14425 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14426 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14427 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14428 long arg5
= (long) 0 ;
14429 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14430 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14431 wxPyVListBox
*result
= 0 ;
14440 bool temp6
= false ;
14441 PyObject
* obj0
= 0 ;
14442 PyObject
* obj1
= 0 ;
14443 PyObject
* obj2
= 0 ;
14444 PyObject
* obj3
= 0 ;
14445 PyObject
* obj4
= 0 ;
14446 PyObject
* obj5
= 0 ;
14447 char * kwnames
[] = {
14448 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14453 if (!SWIG_IsOK(res1
)) {
14454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14456 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14459 if (!SWIG_IsOK(ecode2
)) {
14460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14462 arg2
= static_cast< int >(val2
);
14467 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14473 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14477 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14478 if (!SWIG_IsOK(ecode5
)) {
14479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14481 arg5
= static_cast< long >(val5
);
14485 arg6
= wxString_in_helper(obj5
);
14486 if (arg6
== NULL
) SWIG_fail
;
14491 if (!wxPyCheckForApp()) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14512 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14513 PyObject
*resultobj
= 0;
14514 wxPyVListBox
*result
= 0 ;
14516 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14518 if (!wxPyCheckForApp()) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (wxPyVListBox
*)new wxPyVListBox();
14521 wxPyEndAllowThreads(__tstate
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14531 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
= 0;
14533 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14534 PyObject
*arg2
= (PyObject
*) 0 ;
14535 PyObject
*arg3
= (PyObject
*) 0 ;
14538 PyObject
* obj0
= 0 ;
14539 PyObject
* obj1
= 0 ;
14540 PyObject
* obj2
= 0 ;
14541 char * kwnames
[] = {
14542 (char *) "self",(char *) "self",(char *) "_class", NULL
14545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14547 if (!SWIG_IsOK(res1
)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14550 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= SWIG_Py_Void();
14566 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
= 0;
14568 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14569 wxWindow
*arg2
= (wxWindow
*) 0 ;
14570 int arg3
= (int) wxID_ANY
;
14571 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14572 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14573 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14574 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14575 long arg6
= (long) 0 ;
14576 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14577 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14589 bool temp7
= false ;
14590 PyObject
* obj0
= 0 ;
14591 PyObject
* obj1
= 0 ;
14592 PyObject
* obj2
= 0 ;
14593 PyObject
* obj3
= 0 ;
14594 PyObject
* obj4
= 0 ;
14595 PyObject
* obj5
= 0 ;
14596 PyObject
* obj6
= 0 ;
14597 char * kwnames
[] = {
14598 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14603 if (!SWIG_IsOK(res1
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14606 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14607 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14608 if (!SWIG_IsOK(res2
)) {
14609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14611 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14614 if (!SWIG_IsOK(ecode3
)) {
14615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14617 arg3
= static_cast< int >(val3
);
14622 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14628 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14632 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14633 if (!SWIG_IsOK(ecode6
)) {
14634 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14636 arg6
= static_cast< long >(val6
);
14640 arg7
= wxString_in_helper(obj6
);
14641 if (arg7
== NULL
) SWIG_fail
;
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14668 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14669 PyObject
*resultobj
= 0;
14670 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14674 PyObject
*swig_obj
[1] ;
14676 if (!args
) SWIG_fail
;
14677 swig_obj
[0] = args
;
14678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14679 if (!SWIG_IsOK(res1
)) {
14680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14682 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14696 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14697 PyObject
*resultobj
= 0;
14698 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14702 PyObject
*swig_obj
[1] ;
14704 if (!args
) SWIG_fail
;
14705 swig_obj
[0] = args
;
14706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14707 if (!SWIG_IsOK(res1
)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14710 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14726 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14727 PyObject
*resultobj
= 0;
14728 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14732 PyObject
*swig_obj
[1] ;
14734 if (!args
) SWIG_fail
;
14735 swig_obj
[0] = args
;
14736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14737 if (!SWIG_IsOK(res1
)) {
14738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14740 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14744 wxPyEndAllowThreads(__tstate
);
14745 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= SWIG_From_int(static_cast< int >(result
));
14754 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14755 PyObject
*resultobj
= 0;
14756 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 PyObject
* obj1
= 0 ;
14765 char * kwnames
[] = {
14766 (char *) "self",(char *) "item", NULL
14769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14771 if (!SWIG_IsOK(res1
)) {
14772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14774 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14775 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14776 if (!SWIG_IsOK(ecode2
)) {
14777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14779 arg2
= static_cast< size_t >(val2
);
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14795 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
= 0;
14797 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14804 PyObject
* obj0
= 0 ;
14805 PyObject
* obj1
= 0 ;
14806 char * kwnames
[] = {
14807 (char *) "self",(char *) "item", NULL
14810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14812 if (!SWIG_IsOK(res1
)) {
14813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14815 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14816 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14817 if (!SWIG_IsOK(ecode2
)) {
14818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14820 arg2
= static_cast< size_t >(val2
);
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14836 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14837 PyObject
*resultobj
= 0;
14838 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14842 PyObject
*swig_obj
[1] ;
14844 if (!args
) SWIG_fail
;
14845 swig_obj
[0] = args
;
14846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14847 if (!SWIG_IsOK(res1
)) {
14848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14850 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14864 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14865 PyObject
*resultobj
= 0;
14866 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14867 PyObject
*result
= 0 ;
14870 PyObject
*swig_obj
[1] ;
14872 if (!args
) SWIG_fail
;
14873 swig_obj
[0] = args
;
14874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14875 if (!SWIG_IsOK(res1
)) {
14876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14878 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14885 resultobj
= result
;
14892 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
= 0;
14894 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14895 unsigned long arg2
;
14896 PyObject
*result
= 0 ;
14899 unsigned long val2
;
14901 PyObject
* obj0
= 0 ;
14902 PyObject
* obj1
= 0 ;
14903 char * kwnames
[] = {
14904 (char *) "self",(char *) "cookie", NULL
14907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14909 if (!SWIG_IsOK(res1
)) {
14910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14912 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14913 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14914 if (!SWIG_IsOK(ecode2
)) {
14915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14917 arg2
= static_cast< unsigned long >(val2
);
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14924 resultobj
= result
;
14931 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14932 PyObject
*resultobj
= 0;
14933 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14937 PyObject
*swig_obj
[1] ;
14939 if (!args
) SWIG_fail
;
14940 swig_obj
[0] = args
;
14941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14942 if (!SWIG_IsOK(res1
)) {
14943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14945 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14948 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14959 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14960 PyObject
*resultobj
= 0;
14961 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14962 wxColour
*result
= 0 ;
14965 PyObject
*swig_obj
[1] ;
14967 if (!args
) SWIG_fail
;
14968 swig_obj
[0] = args
;
14969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14970 if (!SWIG_IsOK(res1
)) {
14971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14973 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14978 result
= (wxColour
*) &_result_ref
;
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14990 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
= 0;
14992 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15000 char * kwnames
[] = {
15001 (char *) "self",(char *) "count", NULL
15004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15006 if (!SWIG_IsOK(res1
)) {
15007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15009 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15010 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15011 if (!SWIG_IsOK(ecode2
)) {
15012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15014 arg2
= static_cast< size_t >(val2
);
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 (arg1
)->SetItemCount(arg2
);
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= SWIG_Py_Void();
15028 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15029 PyObject
*resultobj
= 0;
15030 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15033 PyObject
*swig_obj
[1] ;
15035 if (!args
) SWIG_fail
;
15036 swig_obj
[0] = args
;
15037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15038 if (!SWIG_IsOK(res1
)) {
15039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15041 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= SWIG_Py_Void();
15055 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
= 0;
15057 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 PyObject
* obj1
= 0 ;
15065 char * kwnames
[] = {
15066 (char *) "self",(char *) "selection", NULL
15069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15071 if (!SWIG_IsOK(res1
)) {
15072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15074 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15076 if (!SWIG_IsOK(ecode2
)) {
15077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15079 arg2
= static_cast< int >(val2
);
15081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15082 (arg1
)->SetSelection(arg2
);
15083 wxPyEndAllowThreads(__tstate
);
15084 if (PyErr_Occurred()) SWIG_fail
;
15086 resultobj
= SWIG_Py_Void();
15093 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
= 0;
15095 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15097 bool arg3
= (bool) true ;
15105 PyObject
* obj0
= 0 ;
15106 PyObject
* obj1
= 0 ;
15107 PyObject
* obj2
= 0 ;
15108 char * kwnames
[] = {
15109 (char *) "self",(char *) "item",(char *) "select", NULL
15112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15114 if (!SWIG_IsOK(res1
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15117 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15118 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15119 if (!SWIG_IsOK(ecode2
)) {
15120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15122 arg2
= static_cast< size_t >(val2
);
15124 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15125 if (!SWIG_IsOK(ecode3
)) {
15126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15128 arg3
= static_cast< bool >(val3
);
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15145 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
= 0;
15147 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 PyObject
* obj2
= 0 ;
15160 char * kwnames
[] = {
15161 (char *) "self",(char *) "from",(char *) "to", NULL
15164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15166 if (!SWIG_IsOK(res1
)) {
15167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15169 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15170 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15171 if (!SWIG_IsOK(ecode2
)) {
15172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15174 arg2
= static_cast< size_t >(val2
);
15175 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15176 if (!SWIG_IsOK(ecode3
)) {
15177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15179 arg3
= static_cast< size_t >(val3
);
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15195 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
= 0;
15197 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15203 PyObject
* obj0
= 0 ;
15204 PyObject
* obj1
= 0 ;
15205 char * kwnames
[] = {
15206 (char *) "self",(char *) "item", NULL
15209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15211 if (!SWIG_IsOK(res1
)) {
15212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15214 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15215 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15216 if (!SWIG_IsOK(ecode2
)) {
15217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15219 arg2
= static_cast< size_t >(val2
);
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 (arg1
)->Toggle(arg2
);
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15226 resultobj
= SWIG_Py_Void();
15233 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15234 PyObject
*resultobj
= 0;
15235 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15239 PyObject
*swig_obj
[1] ;
15241 if (!args
) SWIG_fail
;
15242 swig_obj
[0] = args
;
15243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15244 if (!SWIG_IsOK(res1
)) {
15245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15247 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (bool)(arg1
)->SelectAll();
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15263 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15264 PyObject
*resultobj
= 0;
15265 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15269 PyObject
*swig_obj
[1] ;
15271 if (!args
) SWIG_fail
;
15272 swig_obj
[0] = args
;
15273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15274 if (!SWIG_IsOK(res1
)) {
15275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15277 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 result
= (bool)(arg1
)->DeselectAll();
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15293 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
= 0;
15295 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15296 wxPoint
*arg2
= 0 ;
15300 PyObject
* obj0
= 0 ;
15301 PyObject
* obj1
= 0 ;
15302 char * kwnames
[] = {
15303 (char *) "self",(char *) "pt", NULL
15306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15308 if (!SWIG_IsOK(res1
)) {
15309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15311 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15314 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= SWIG_Py_Void();
15329 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
= 0;
15331 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 PyObject
* obj1
= 0 ;
15342 PyObject
* obj2
= 0 ;
15343 char * kwnames
[] = {
15344 (char *) "self",(char *) "x",(char *) "y", NULL
15347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15349 if (!SWIG_IsOK(res1
)) {
15350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15352 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15354 if (!SWIG_IsOK(ecode2
)) {
15355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15357 arg2
= static_cast< int >(val2
);
15358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15359 if (!SWIG_IsOK(ecode3
)) {
15360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15362 arg3
= static_cast< int >(val3
);
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 (arg1
)->SetMargins(arg2
,arg3
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= SWIG_Py_Void();
15376 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
= 0;
15378 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15379 wxColour
*arg2
= 0 ;
15383 PyObject
* obj0
= 0 ;
15384 PyObject
* obj1
= 0 ;
15385 char * kwnames
[] = {
15386 (char *) "self",(char *) "col", NULL
15389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15391 if (!SWIG_IsOK(res1
)) {
15392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15394 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15397 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 resultobj
= SWIG_Py_Void();
15412 SWIGINTERN PyObject
*_wrap_VListBox_RefreshSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15413 PyObject
*resultobj
= 0;
15414 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15417 PyObject
*swig_obj
[1] ;
15419 if (!args
) SWIG_fail
;
15420 swig_obj
[0] = args
;
15421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15422 if (!SWIG_IsOK(res1
)) {
15423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15425 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 (arg1
)->RefreshSelected();
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15432 resultobj
= SWIG_Py_Void();
15439 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
= 0;
15441 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 PyObject
* obj2
= 0 ;
15455 PyObject
* obj3
= 0 ;
15456 char * kwnames
[] = {
15457 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15462 if (!SWIG_IsOK(res1
)) {
15463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15465 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15466 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15467 if (!SWIG_IsOK(res2
)) {
15468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15473 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15476 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15478 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15479 if (!SWIG_IsOK(ecode4
)) {
15480 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15482 arg4
= static_cast< size_t >(val4
);
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= SWIG_Py_Void();
15496 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
= 0;
15498 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15509 PyObject
* obj0
= 0 ;
15510 PyObject
* obj1
= 0 ;
15511 PyObject
* obj2
= 0 ;
15512 PyObject
* obj3
= 0 ;
15513 char * kwnames
[] = {
15514 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15519 if (!SWIG_IsOK(res1
)) {
15520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15522 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15524 if (!SWIG_IsOK(res2
)) {
15525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15530 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15533 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15535 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15536 if (!SWIG_IsOK(ecode4
)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15539 arg4
= static_cast< size_t >(val4
);
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15542 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 resultobj
= SWIG_Py_Void();
15553 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15556 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15557 return SWIG_Py_Void();
15560 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15561 return SWIG_Python_InitShadowInstance(args
);
15564 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
= 0;
15566 wxWindow
*arg1
= (wxWindow
*) 0 ;
15567 int arg2
= (int) wxID_ANY
;
15568 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15569 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15570 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15571 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15572 long arg5
= (long) 0 ;
15573 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15574 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15575 wxPyHtmlListBox
*result
= 0 ;
15584 bool temp6
= false ;
15585 PyObject
* obj0
= 0 ;
15586 PyObject
* obj1
= 0 ;
15587 PyObject
* obj2
= 0 ;
15588 PyObject
* obj3
= 0 ;
15589 PyObject
* obj4
= 0 ;
15590 PyObject
* obj5
= 0 ;
15591 char * kwnames
[] = {
15592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15597 if (!SWIG_IsOK(res1
)) {
15598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15600 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15603 if (!SWIG_IsOK(ecode2
)) {
15604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15606 arg2
= static_cast< int >(val2
);
15611 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15617 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15621 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15622 if (!SWIG_IsOK(ecode5
)) {
15623 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15625 arg5
= static_cast< long >(val5
);
15629 arg6
= wxString_in_helper(obj5
);
15630 if (arg6
== NULL
) SWIG_fail
;
15635 if (!wxPyCheckForApp()) SWIG_fail
;
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15656 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15657 PyObject
*resultobj
= 0;
15658 wxPyHtmlListBox
*result
= 0 ;
15660 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15662 if (!wxPyCheckForApp()) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15675 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
= 0;
15677 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15678 PyObject
*arg2
= (PyObject
*) 0 ;
15679 PyObject
*arg3
= (PyObject
*) 0 ;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15684 PyObject
* obj2
= 0 ;
15685 char * kwnames
[] = {
15686 (char *) "self",(char *) "self",(char *) "_class", NULL
15689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15691 if (!SWIG_IsOK(res1
)) {
15692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15694 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= SWIG_Py_Void();
15710 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
= 0;
15712 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15713 wxWindow
*arg2
= (wxWindow
*) 0 ;
15714 int arg3
= (int) wxID_ANY
;
15715 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15716 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15717 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15718 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15719 long arg6
= (long) 0 ;
15720 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15721 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15733 bool temp7
= false ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 PyObject
* obj2
= 0 ;
15737 PyObject
* obj3
= 0 ;
15738 PyObject
* obj4
= 0 ;
15739 PyObject
* obj5
= 0 ;
15740 PyObject
* obj6
= 0 ;
15741 char * kwnames
[] = {
15742 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15747 if (!SWIG_IsOK(res1
)) {
15748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15750 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15751 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15752 if (!SWIG_IsOK(res2
)) {
15753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15755 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15758 if (!SWIG_IsOK(ecode3
)) {
15759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15761 arg3
= static_cast< int >(val3
);
15766 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15772 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15776 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15777 if (!SWIG_IsOK(ecode6
)) {
15778 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15780 arg6
= static_cast< long >(val6
);
15784 arg7
= wxString_in_helper(obj6
);
15785 if (arg7
== NULL
) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15792 wxPyEndAllowThreads(__tstate
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15812 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
= 0;
15814 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15820 PyObject
* obj0
= 0 ;
15821 PyObject
* obj1
= 0 ;
15822 char * kwnames
[] = {
15823 (char *) "self",(char *) "count", NULL
15826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15828 if (!SWIG_IsOK(res1
)) {
15829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15831 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15832 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15833 if (!SWIG_IsOK(ecode2
)) {
15834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15836 arg2
= static_cast< size_t >(val2
);
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 (arg1
)->SetItemCount(arg2
);
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= SWIG_Py_Void();
15850 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15851 PyObject
*resultobj
= 0;
15852 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15853 wxFileSystem
*result
= 0 ;
15856 PyObject
*swig_obj
[1] ;
15858 if (!args
) SWIG_fail
;
15859 swig_obj
[0] = args
;
15860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15861 if (!SWIG_IsOK(res1
)) {
15862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15864 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15869 result
= (wxFileSystem
*) &_result_ref
;
15871 wxPyEndAllowThreads(__tstate
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15881 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15882 PyObject
*resultobj
= 0;
15883 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15885 wxHtmlLinkInfo
*arg3
= 0 ;
15892 PyObject
* obj0
= 0 ;
15893 PyObject
* obj1
= 0 ;
15894 PyObject
* obj2
= 0 ;
15895 char * kwnames
[] = {
15896 (char *) "self",(char *) "n",(char *) "link", NULL
15899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15901 if (!SWIG_IsOK(res1
)) {
15902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15904 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15905 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15906 if (!SWIG_IsOK(ecode2
)) {
15907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15909 arg2
= static_cast< size_t >(val2
);
15910 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15911 if (!SWIG_IsOK(res3
)) {
15912 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15917 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= SWIG_Py_Void();
15931 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15933 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15934 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15935 return SWIG_Py_Void();
15938 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15939 return SWIG_Python_InitShadowInstance(args
);
15942 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
15943 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
15948 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
15949 PyObject
*pyobj
= 0;
15953 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15955 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15962 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
= 0;
15964 wxWindow
*arg1
= (wxWindow
*) 0 ;
15965 int arg2
= (int) -1 ;
15966 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15967 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15968 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15969 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15970 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
15971 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
15972 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
15973 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15974 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15975 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
15976 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15977 wxSimpleHtmlListBox
*result
= 0 ;
15984 bool temp5
= false ;
15989 bool temp8
= false ;
15990 PyObject
* obj0
= 0 ;
15991 PyObject
* obj1
= 0 ;
15992 PyObject
* obj2
= 0 ;
15993 PyObject
* obj3
= 0 ;
15994 PyObject
* obj4
= 0 ;
15995 PyObject
* obj5
= 0 ;
15996 PyObject
* obj6
= 0 ;
15997 PyObject
* obj7
= 0 ;
15998 char * kwnames
[] = {
15999 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16004 if (!SWIG_IsOK(res1
)) {
16005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16007 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16010 if (!SWIG_IsOK(ecode2
)) {
16011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
16013 arg2
= static_cast< int >(val2
);
16018 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16024 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16029 if (! PySequence_Check(obj4
)) {
16030 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16033 arg5
= new wxArrayString
;
16035 int i
, len
=PySequence_Length(obj4
);
16036 for (i
=0; i
<len
; i
++) {
16037 PyObject
* item
= PySequence_GetItem(obj4
, i
);
16038 wxString
* s
= wxString_in_helper(item
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16047 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16048 if (!SWIG_IsOK(ecode6
)) {
16049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
16051 arg6
= static_cast< long >(val6
);
16054 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16055 if (!SWIG_IsOK(res7
)) {
16056 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16061 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16065 arg8
= wxString_in_helper(obj7
);
16066 if (arg8
== NULL
) SWIG_fail
;
16071 if (!wxPyCheckForApp()) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
16079 if (temp5
) delete arg5
;
16088 if (temp5
) delete arg5
;
16098 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16099 PyObject
*resultobj
= 0;
16100 wxSimpleHtmlListBox
*result
= 0 ;
16102 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
16104 if (!wxPyCheckForApp()) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
16117 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
= 0;
16119 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
16120 wxWindow
*arg2
= (wxWindow
*) 0 ;
16121 int arg3
= (int) -1 ;
16122 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16123 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16124 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16125 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16126 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16127 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16128 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
16129 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16130 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16131 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
16132 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16142 bool temp6
= false ;
16147 bool temp9
= false ;
16148 PyObject
* obj0
= 0 ;
16149 PyObject
* obj1
= 0 ;
16150 PyObject
* obj2
= 0 ;
16151 PyObject
* obj3
= 0 ;
16152 PyObject
* obj4
= 0 ;
16153 PyObject
* obj5
= 0 ;
16154 PyObject
* obj6
= 0 ;
16155 PyObject
* obj7
= 0 ;
16156 PyObject
* obj8
= 0 ;
16157 char * kwnames
[] = {
16158 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
16162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
16163 if (!SWIG_IsOK(res1
)) {
16164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16166 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
16167 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16168 if (!SWIG_IsOK(res2
)) {
16169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16171 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16174 if (!SWIG_IsOK(ecode3
)) {
16175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16177 arg3
= static_cast< int >(val3
);
16182 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16188 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16193 if (! PySequence_Check(obj5
)) {
16194 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16197 arg6
= new wxArrayString
;
16199 int i
, len
=PySequence_Length(obj5
);
16200 for (i
=0; i
<len
; i
++) {
16201 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16202 wxString
* s
= wxString_in_helper(item
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16211 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16212 if (!SWIG_IsOK(ecode7
)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16215 arg7
= static_cast< long >(val7
);
16218 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16219 if (!SWIG_IsOK(res8
)) {
16220 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16225 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16229 arg9
= wxString_in_helper(obj8
);
16230 if (arg9
== NULL
) SWIG_fail
;
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16236 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16244 if (temp6
) delete arg6
;
16253 if (temp6
) delete arg6
;
16263 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16266 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
16267 return SWIG_Py_Void();
16270 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16271 return SWIG_Python_InitShadowInstance(args
);
16274 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16275 PyObject
*resultobj
= 0;
16276 wxPyTaskBarIcon
*result
= 0 ;
16278 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16280 if (!wxPyCheckForApp()) SWIG_fail
;
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16293 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16294 PyObject
*resultobj
= 0;
16295 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16298 PyObject
*swig_obj
[1] ;
16300 if (!args
) SWIG_fail
;
16301 swig_obj
[0] = args
;
16302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16303 if (!SWIG_IsOK(res1
)) {
16304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16306 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16314 resultobj
= SWIG_Py_Void();
16321 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16322 PyObject
*resultobj
= 0;
16323 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16324 PyObject
*arg2
= (PyObject
*) 0 ;
16325 PyObject
*arg3
= (PyObject
*) 0 ;
16326 int arg4
= (int) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 PyObject
* obj1
= 0 ;
16333 PyObject
* obj2
= 0 ;
16334 PyObject
* obj3
= 0 ;
16335 char * kwnames
[] = {
16336 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16341 if (!SWIG_IsOK(res1
)) {
16342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16344 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16348 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16349 if (!SWIG_IsOK(ecode4
)) {
16350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16352 arg4
= static_cast< int >(val4
);
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16357 wxPyEndAllowThreads(__tstate
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= SWIG_Py_Void();
16367 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16368 PyObject
*resultobj
= 0;
16369 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16372 PyObject
*swig_obj
[1] ;
16374 if (!args
) SWIG_fail
;
16375 swig_obj
[0] = args
;
16376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16377 if (!SWIG_IsOK(res1
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16380 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 wxPyTaskBarIcon_Destroy(arg1
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_Py_Void();
16394 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16395 PyObject
*resultobj
= 0;
16396 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16400 PyObject
*swig_obj
[1] ;
16402 if (!args
) SWIG_fail
;
16403 swig_obj
[0] = args
;
16404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16405 if (!SWIG_IsOK(res1
)) {
16406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16408 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16424 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16425 PyObject
*resultobj
= 0;
16426 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16430 PyObject
*swig_obj
[1] ;
16432 if (!args
) SWIG_fail
;
16433 swig_obj
[0] = args
;
16434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16435 if (!SWIG_IsOK(res1
)) {
16436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16438 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16454 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
= 0;
16456 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16458 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16459 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16465 bool temp3
= false ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 PyObject
* obj2
= 0 ;
16469 char * kwnames
[] = {
16470 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16475 if (!SWIG_IsOK(res1
)) {
16476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16478 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16479 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16480 if (!SWIG_IsOK(res2
)) {
16481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16486 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16489 arg3
= wxString_in_helper(obj2
);
16490 if (arg3
== NULL
) SWIG_fail
;
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16517 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16518 PyObject
*resultobj
= 0;
16519 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16523 PyObject
*swig_obj
[1] ;
16525 if (!args
) SWIG_fail
;
16526 swig_obj
[0] = args
;
16527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16528 if (!SWIG_IsOK(res1
)) {
16529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16531 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= (bool)(arg1
)->RemoveIcon();
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16547 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
= 0;
16549 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16550 wxMenu
*arg2
= (wxMenu
*) 0 ;
16556 PyObject
* obj0
= 0 ;
16557 PyObject
* obj1
= 0 ;
16558 char * kwnames
[] = {
16559 (char *) "self",(char *) "menu", NULL
16562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16564 if (!SWIG_IsOK(res1
)) {
16565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16567 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16569 if (!SWIG_IsOK(res2
)) {
16570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16572 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 result
= (bool)(arg1
)->PopupMenu(arg2
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16588 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16591 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16592 return SWIG_Py_Void();
16595 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16596 return SWIG_Python_InitShadowInstance(args
);
16599 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16600 PyObject
*resultobj
= 0;
16602 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16603 wxTaskBarIconEvent
*result
= 0 ;
16608 PyObject
* obj0
= 0 ;
16609 PyObject
* obj1
= 0 ;
16610 char * kwnames
[] = {
16611 (char *) "evtType",(char *) "tbIcon", NULL
16614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16615 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16616 if (!SWIG_IsOK(ecode1
)) {
16617 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16619 arg1
= static_cast< wxEventType
>(val1
);
16620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16621 if (!SWIG_IsOK(res2
)) {
16622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16624 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16638 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16641 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16642 return SWIG_Py_Void();
16645 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16646 return SWIG_Python_InitShadowInstance(args
);
16649 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16650 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16655 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16656 PyObject
*pyobj
= 0;
16660 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16662 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16669 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16670 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16675 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16676 PyObject
*pyobj
= 0;
16680 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16682 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16689 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16690 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16695 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16696 PyObject
*pyobj
= 0;
16700 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16702 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16709 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16710 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16715 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16716 PyObject
*pyobj
= 0;
16720 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16722 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16729 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16730 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16735 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16736 PyObject
*pyobj
= 0;
16740 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16742 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16749 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16750 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16755 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16756 PyObject
*pyobj
= 0;
16760 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16762 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16769 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16770 PyObject
*resultobj
= 0;
16771 wxColourData
*result
= 0 ;
16773 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= (wxColourData
*)new wxColourData();
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16787 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16788 PyObject
*resultobj
= 0;
16789 wxColourData
*arg1
= (wxColourData
*) 0 ;
16792 PyObject
*swig_obj
[1] ;
16794 if (!args
) SWIG_fail
;
16795 swig_obj
[0] = args
;
16796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16797 if (!SWIG_IsOK(res1
)) {
16798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16800 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= SWIG_Py_Void();
16815 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16816 PyObject
*resultobj
= 0;
16817 wxColourData
*arg1
= (wxColourData
*) 0 ;
16821 PyObject
*swig_obj
[1] ;
16823 if (!args
) SWIG_fail
;
16824 swig_obj
[0] = args
;
16825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16826 if (!SWIG_IsOK(res1
)) {
16827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16829 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 result
= (bool)(arg1
)->GetChooseFull();
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16845 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16846 PyObject
*resultobj
= 0;
16847 wxColourData
*arg1
= (wxColourData
*) 0 ;
16851 PyObject
*swig_obj
[1] ;
16853 if (!args
) SWIG_fail
;
16854 swig_obj
[0] = args
;
16855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16856 if (!SWIG_IsOK(res1
)) {
16857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16859 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 result
= (arg1
)->GetColour();
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16873 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
= 0;
16875 wxColourData
*arg1
= (wxColourData
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 PyObject
* obj1
= 0 ;
16884 char * kwnames
[] = {
16885 (char *) "self",(char *) "i", NULL
16888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16890 if (!SWIG_IsOK(res1
)) {
16891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16893 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16895 if (!SWIG_IsOK(ecode2
)) {
16896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16898 arg2
= static_cast< int >(val2
);
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (arg1
)->GetCustomColour(arg2
);
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16905 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16912 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
= 0;
16914 wxColourData
*arg1
= (wxColourData
*) 0 ;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 char * kwnames
[] = {
16923 (char *) "self",(char *) "flag", NULL
16926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16928 if (!SWIG_IsOK(res1
)) {
16929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16931 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16933 if (!SWIG_IsOK(ecode2
)) {
16934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16936 arg2
= static_cast< int >(val2
);
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 (arg1
)->SetChooseFull(arg2
);
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= SWIG_Py_Void();
16950 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
= 0;
16952 wxColourData
*arg1
= (wxColourData
*) 0 ;
16953 wxColour
*arg2
= 0 ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 char * kwnames
[] = {
16960 (char *) "self",(char *) "colour", NULL
16963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16965 if (!SWIG_IsOK(res1
)) {
16966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16968 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16971 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 (arg1
)->SetColour((wxColour
const &)*arg2
);
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= SWIG_Py_Void();
16986 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
= 0;
16988 wxColourData
*arg1
= (wxColourData
*) 0 ;
16990 wxColour
*arg3
= 0 ;
16996 PyObject
* obj0
= 0 ;
16997 PyObject
* obj1
= 0 ;
16998 PyObject
* obj2
= 0 ;
16999 char * kwnames
[] = {
17000 (char *) "self",(char *) "i",(char *) "colour", NULL
17003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17005 if (!SWIG_IsOK(res1
)) {
17006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17008 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
17009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17010 if (!SWIG_IsOK(ecode2
)) {
17011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
17013 arg2
= static_cast< int >(val2
);
17016 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= SWIG_Py_Void();
17031 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17034 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
17035 return SWIG_Py_Void();
17038 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17039 return SWIG_Python_InitShadowInstance(args
);
17042 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
= 0;
17044 wxWindow
*arg1
= (wxWindow
*) 0 ;
17045 wxColourData
*arg2
= (wxColourData
*) NULL
;
17046 wxColourDialog
*result
= 0 ;
17051 PyObject
* obj0
= 0 ;
17052 PyObject
* obj1
= 0 ;
17053 char * kwnames
[] = {
17054 (char *) "parent",(char *) "data", NULL
17057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17059 if (!SWIG_IsOK(res1
)) {
17060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17062 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17065 if (!SWIG_IsOK(res2
)) {
17066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
17068 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
17071 if (!wxPyCheckForApp()) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
17084 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17085 PyObject
*resultobj
= 0;
17086 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
17087 wxColourData
*result
= 0 ;
17090 PyObject
*swig_obj
[1] ;
17092 if (!args
) SWIG_fail
;
17093 swig_obj
[0] = args
;
17094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
17095 if (!SWIG_IsOK(res1
)) {
17096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17098 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 wxColourData
&_result_ref
= (arg1
)->GetColourData();
17103 result
= (wxColourData
*) &_result_ref
;
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
17115 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17118 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
17119 return SWIG_Py_Void();
17122 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17123 return SWIG_Python_InitShadowInstance(args
);
17126 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
= 0;
17128 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
17129 wxColour
const &arg2_defvalue
= wxNullColour
;
17130 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17131 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17132 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17137 bool temp3
= false ;
17138 PyObject
* obj0
= 0 ;
17139 PyObject
* obj1
= 0 ;
17140 PyObject
* obj2
= 0 ;
17141 char * kwnames
[] = {
17142 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17148 if (!SWIG_IsOK(res1
)) {
17149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17151 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17156 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17161 arg3
= wxString_in_helper(obj2
);
17162 if (arg3
== NULL
) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17187 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
= 0;
17189 wxWindow
*arg1
= (wxWindow
*) 0 ;
17190 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
17191 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17192 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17193 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17194 long arg4
= (long) wxDD_DEFAULT_STYLE
;
17195 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17196 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17197 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17198 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17199 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
17200 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17201 wxDirDialog
*result
= 0 ;
17204 bool temp2
= false ;
17205 bool temp3
= false ;
17210 bool temp7
= false ;
17211 PyObject
* obj0
= 0 ;
17212 PyObject
* obj1
= 0 ;
17213 PyObject
* obj2
= 0 ;
17214 PyObject
* obj3
= 0 ;
17215 PyObject
* obj4
= 0 ;
17216 PyObject
* obj5
= 0 ;
17217 PyObject
* obj6
= 0 ;
17218 char * kwnames
[] = {
17219 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17224 if (!SWIG_IsOK(res1
)) {
17225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17227 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17230 arg2
= wxString_in_helper(obj1
);
17231 if (arg2
== NULL
) SWIG_fail
;
17237 arg3
= wxString_in_helper(obj2
);
17238 if (arg3
== NULL
) SWIG_fail
;
17243 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17244 if (!SWIG_IsOK(ecode4
)) {
17245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17247 arg4
= static_cast< long >(val4
);
17252 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17258 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17263 arg7
= wxString_in_helper(obj6
);
17264 if (arg7
== NULL
) SWIG_fail
;
17269 if (!wxPyCheckForApp()) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17306 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17307 PyObject
*resultobj
= 0;
17308 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17312 PyObject
*swig_obj
[1] ;
17314 if (!args
) SWIG_fail
;
17315 swig_obj
[0] = args
;
17316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17317 if (!SWIG_IsOK(res1
)) {
17318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17320 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= (arg1
)->GetPath();
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17340 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17341 PyObject
*resultobj
= 0;
17342 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17346 PyObject
*swig_obj
[1] ;
17348 if (!args
) SWIG_fail
;
17349 swig_obj
[0] = args
;
17350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17351 if (!SWIG_IsOK(res1
)) {
17352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17354 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= (arg1
)->GetMessage();
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17374 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
= 0;
17376 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17377 wxString
*arg2
= 0 ;
17380 bool temp2
= false ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 char * kwnames
[] = {
17384 (char *) "self",(char *) "message", NULL
17387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17389 if (!SWIG_IsOK(res1
)) {
17390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17392 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17394 arg2
= wxString_in_helper(obj1
);
17395 if (arg2
== NULL
) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 (arg1
)->SetMessage((wxString
const &)*arg2
);
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= SWIG_Py_Void();
17419 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
= 0;
17421 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17422 wxString
*arg2
= 0 ;
17425 bool temp2
= false ;
17426 PyObject
* obj0
= 0 ;
17427 PyObject
* obj1
= 0 ;
17428 char * kwnames
[] = {
17429 (char *) "self",(char *) "path", NULL
17432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17434 if (!SWIG_IsOK(res1
)) {
17435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17437 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17439 arg2
= wxString_in_helper(obj1
);
17440 if (arg2
== NULL
) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 (arg1
)->SetPath((wxString
const &)*arg2
);
17446 wxPyEndAllowThreads(__tstate
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= SWIG_Py_Void();
17464 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17467 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17468 return SWIG_Py_Void();
17471 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17472 return SWIG_Python_InitShadowInstance(args
);
17475 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
= 0;
17477 wxWindow
*arg1
= (wxWindow
*) 0 ;
17478 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17479 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17480 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17481 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17482 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17483 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17484 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17485 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17486 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17487 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17488 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17489 wxFileDialog
*result
= 0 ;
17492 bool temp2
= false ;
17493 bool temp3
= false ;
17494 bool temp4
= false ;
17495 bool temp5
= false ;
17499 PyObject
* obj0
= 0 ;
17500 PyObject
* obj1
= 0 ;
17501 PyObject
* obj2
= 0 ;
17502 PyObject
* obj3
= 0 ;
17503 PyObject
* obj4
= 0 ;
17504 PyObject
* obj5
= 0 ;
17505 PyObject
* obj6
= 0 ;
17506 char * kwnames
[] = {
17507 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17512 if (!SWIG_IsOK(res1
)) {
17513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17515 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17518 arg2
= wxString_in_helper(obj1
);
17519 if (arg2
== NULL
) SWIG_fail
;
17525 arg3
= wxString_in_helper(obj2
);
17526 if (arg3
== NULL
) SWIG_fail
;
17532 arg4
= wxString_in_helper(obj3
);
17533 if (arg4
== NULL
) SWIG_fail
;
17539 arg5
= wxString_in_helper(obj4
);
17540 if (arg5
== NULL
) SWIG_fail
;
17545 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17546 if (!SWIG_IsOK(ecode6
)) {
17547 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17549 arg6
= static_cast< long >(val6
);
17554 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17558 if (!wxPyCheckForApp()) SWIG_fail
;
17559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17603 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
= 0;
17605 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17606 wxString
*arg2
= 0 ;
17609 bool temp2
= false ;
17610 PyObject
* obj0
= 0 ;
17611 PyObject
* obj1
= 0 ;
17612 char * kwnames
[] = {
17613 (char *) "self",(char *) "message", NULL
17616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17618 if (!SWIG_IsOK(res1
)) {
17619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17621 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17623 arg2
= wxString_in_helper(obj1
);
17624 if (arg2
== NULL
) SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 (arg1
)->SetMessage((wxString
const &)*arg2
);
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= SWIG_Py_Void();
17648 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
= 0;
17650 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17651 wxString
*arg2
= 0 ;
17654 bool temp2
= false ;
17655 PyObject
* obj0
= 0 ;
17656 PyObject
* obj1
= 0 ;
17657 char * kwnames
[] = {
17658 (char *) "self",(char *) "path", NULL
17661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17663 if (!SWIG_IsOK(res1
)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17666 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17668 arg2
= wxString_in_helper(obj1
);
17669 if (arg2
== NULL
) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 (arg1
)->SetPath((wxString
const &)*arg2
);
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 resultobj
= SWIG_Py_Void();
17693 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
= 0;
17695 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17696 wxString
*arg2
= 0 ;
17699 bool temp2
= false ;
17700 PyObject
* obj0
= 0 ;
17701 PyObject
* obj1
= 0 ;
17702 char * kwnames
[] = {
17703 (char *) "self",(char *) "dir", NULL
17706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17708 if (!SWIG_IsOK(res1
)) {
17709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17711 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17713 arg2
= wxString_in_helper(obj1
);
17714 if (arg2
== NULL
) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= SWIG_Py_Void();
17738 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17739 PyObject
*resultobj
= 0;
17740 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17741 wxString
*arg2
= 0 ;
17744 bool temp2
= false ;
17745 PyObject
* obj0
= 0 ;
17746 PyObject
* obj1
= 0 ;
17747 char * kwnames
[] = {
17748 (char *) "self",(char *) "name", NULL
17751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17753 if (!SWIG_IsOK(res1
)) {
17754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17756 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17758 arg2
= wxString_in_helper(obj1
);
17759 if (arg2
== NULL
) SWIG_fail
;
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 (arg1
)->SetFilename((wxString
const &)*arg2
);
17765 wxPyEndAllowThreads(__tstate
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= SWIG_Py_Void();
17783 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
= 0;
17785 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17786 wxString
*arg2
= 0 ;
17789 bool temp2
= false ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 char * kwnames
[] = {
17793 (char *) "self",(char *) "wildCard", NULL
17796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17798 if (!SWIG_IsOK(res1
)) {
17799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17801 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17803 arg2
= wxString_in_helper(obj1
);
17804 if (arg2
== NULL
) SWIG_fail
;
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 resultobj
= SWIG_Py_Void();
17828 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
= 0;
17830 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 char * kwnames
[] = {
17839 (char *) "self",(char *) "filterIndex", NULL
17842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17844 if (!SWIG_IsOK(res1
)) {
17845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17847 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17849 if (!SWIG_IsOK(ecode2
)) {
17850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17852 arg2
= static_cast< int >(val2
);
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 (arg1
)->SetFilterIndex(arg2
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17859 resultobj
= SWIG_Py_Void();
17866 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17867 PyObject
*resultobj
= 0;
17868 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17872 PyObject
*swig_obj
[1] ;
17874 if (!args
) SWIG_fail
;
17875 swig_obj
[0] = args
;
17876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17877 if (!SWIG_IsOK(res1
)) {
17878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17880 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17900 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17901 PyObject
*resultobj
= 0;
17902 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17906 PyObject
*swig_obj
[1] ;
17908 if (!args
) SWIG_fail
;
17909 swig_obj
[0] = args
;
17910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17911 if (!SWIG_IsOK(res1
)) {
17912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17914 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17934 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17935 PyObject
*resultobj
= 0;
17936 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17940 PyObject
*swig_obj
[1] ;
17942 if (!args
) SWIG_fail
;
17943 swig_obj
[0] = args
;
17944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17945 if (!SWIG_IsOK(res1
)) {
17946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17948 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17968 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17969 PyObject
*resultobj
= 0;
17970 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17974 PyObject
*swig_obj
[1] ;
17976 if (!args
) SWIG_fail
;
17977 swig_obj
[0] = args
;
17978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17979 if (!SWIG_IsOK(res1
)) {
17980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17982 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18002 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18003 PyObject
*resultobj
= 0;
18004 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18008 PyObject
*swig_obj
[1] ;
18010 if (!args
) SWIG_fail
;
18011 swig_obj
[0] = args
;
18012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18013 if (!SWIG_IsOK(res1
)) {
18014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18016 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18036 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18037 PyObject
*resultobj
= 0;
18038 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18042 PyObject
*swig_obj
[1] ;
18044 if (!args
) SWIG_fail
;
18045 swig_obj
[0] = args
;
18046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18047 if (!SWIG_IsOK(res1
)) {
18048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18050 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= SWIG_From_int(static_cast< int >(result
));
18064 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18065 PyObject
*resultobj
= 0;
18066 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18067 PyObject
*result
= 0 ;
18070 PyObject
*swig_obj
[1] ;
18072 if (!args
) SWIG_fail
;
18073 swig_obj
[0] = args
;
18074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18075 if (!SWIG_IsOK(res1
)) {
18076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18078 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18085 resultobj
= result
;
18092 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18093 PyObject
*resultobj
= 0;
18094 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18095 PyObject
*result
= 0 ;
18098 PyObject
*swig_obj
[1] ;
18100 if (!args
) SWIG_fail
;
18101 swig_obj
[0] = args
;
18102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18103 if (!SWIG_IsOK(res1
)) {
18104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18106 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 resultobj
= result
;
18120 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18123 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
18124 return SWIG_Py_Void();
18127 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18128 return SWIG_Python_InitShadowInstance(args
);
18131 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
= 0;
18133 wxWindow
*arg1
= (wxWindow
*) 0 ;
18134 wxString
*arg2
= 0 ;
18135 wxString
*arg3
= 0 ;
18136 int arg4
= (int) 0 ;
18137 wxString
*arg5
= (wxString
*) NULL
;
18138 long arg6
= (long) wxCHOICEDLG_STYLE
;
18139 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18140 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18141 wxMultiChoiceDialog
*result
= 0 ;
18144 bool temp2
= false ;
18145 bool temp3
= false ;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 PyObject
* obj2
= 0 ;
18152 PyObject
* obj3
= 0 ;
18153 PyObject
* obj4
= 0 ;
18154 PyObject
* obj5
= 0 ;
18155 char * kwnames
[] = {
18156 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18161 if (!SWIG_IsOK(res1
)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18164 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18166 arg2
= wxString_in_helper(obj1
);
18167 if (arg2
== NULL
) SWIG_fail
;
18171 arg3
= wxString_in_helper(obj2
);
18172 if (arg3
== NULL
) SWIG_fail
;
18177 arg4
= PyList_Size(obj3
);
18178 arg5
= wxString_LIST_helper(obj3
);
18179 if (arg5
== NULL
) SWIG_fail
;
18183 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18184 if (!SWIG_IsOK(ecode6
)) {
18185 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18187 arg6
= static_cast< long >(val6
);
18192 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18196 if (!wxPyCheckForApp()) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18212 if (arg5
) delete [] arg5
;
18225 if (arg5
) delete [] arg5
;
18231 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
= 0;
18233 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18234 wxArrayInt
*arg2
= 0 ;
18237 bool temp2
= false ;
18238 PyObject
* obj0
= 0 ;
18239 PyObject
* obj1
= 0 ;
18240 char * kwnames
[] = {
18241 (char *) "self",(char *) "selections", NULL
18244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18246 if (!SWIG_IsOK(res1
)) {
18247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18249 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18251 if (! PySequence_Check(obj1
)) {
18252 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18255 arg2
= new wxArrayInt
;
18257 int i
, len
=PySequence_Length(obj1
);
18258 for (i
=0; i
<len
; i
++) {
18259 PyObject
* item
= PySequence_GetItem(obj1
, i
);
18260 PyObject
* number
= PyNumber_Int(item
);
18262 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18265 arg2
->Add(PyInt_AS_LONG(number
));
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= SWIG_Py_Void();
18278 if (temp2
) delete arg2
;
18283 if (temp2
) delete arg2
;
18289 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18290 PyObject
*resultobj
= 0;
18291 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18292 PyObject
*result
= 0 ;
18295 PyObject
*swig_obj
[1] ;
18297 if (!args
) SWIG_fail
;
18298 swig_obj
[0] = args
;
18299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18300 if (!SWIG_IsOK(res1
)) {
18301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18303 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= result
;
18317 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18319 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18320 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18321 return SWIG_Py_Void();
18324 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18325 return SWIG_Python_InitShadowInstance(args
);
18328 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
= 0;
18330 wxWindow
*arg1
= (wxWindow
*) 0 ;
18331 wxString
*arg2
= 0 ;
18332 wxString
*arg3
= 0 ;
18334 wxString
*arg5
= (wxString
*) 0 ;
18335 long arg6
= (long) wxCHOICEDLG_STYLE
;
18336 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18337 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18338 wxSingleChoiceDialog
*result
= 0 ;
18341 bool temp2
= false ;
18342 bool temp3
= false ;
18346 PyObject
* obj0
= 0 ;
18347 PyObject
* obj1
= 0 ;
18348 PyObject
* obj2
= 0 ;
18349 PyObject
* obj3
= 0 ;
18350 PyObject
* obj4
= 0 ;
18351 PyObject
* obj5
= 0 ;
18352 char * kwnames
[] = {
18353 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18358 if (!SWIG_IsOK(res1
)) {
18359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18361 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18363 arg2
= wxString_in_helper(obj1
);
18364 if (arg2
== NULL
) SWIG_fail
;
18368 arg3
= wxString_in_helper(obj2
);
18369 if (arg3
== NULL
) SWIG_fail
;
18373 arg4
= PyList_Size(obj3
);
18374 arg5
= wxString_LIST_helper(obj3
);
18375 if (arg5
== NULL
) SWIG_fail
;
18378 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18379 if (!SWIG_IsOK(ecode6
)) {
18380 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18382 arg6
= static_cast< long >(val6
);
18387 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18391 if (!wxPyCheckForApp()) SWIG_fail
;
18392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18393 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18407 if (arg5
) delete [] arg5
;
18420 if (arg5
) delete [] arg5
;
18426 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18427 PyObject
*resultobj
= 0;
18428 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18432 PyObject
*swig_obj
[1] ;
18434 if (!args
) SWIG_fail
;
18435 swig_obj
[0] = args
;
18436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18437 if (!SWIG_IsOK(res1
)) {
18438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18440 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 result
= (int)(arg1
)->GetSelection();
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18447 resultobj
= SWIG_From_int(static_cast< int >(result
));
18454 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18455 PyObject
*resultobj
= 0;
18456 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18460 PyObject
*swig_obj
[1] ;
18462 if (!args
) SWIG_fail
;
18463 swig_obj
[0] = args
;
18464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18465 if (!SWIG_IsOK(res1
)) {
18466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18468 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (arg1
)->GetStringSelection();
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18488 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
= 0;
18490 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18496 PyObject
* obj0
= 0 ;
18497 PyObject
* obj1
= 0 ;
18498 char * kwnames
[] = {
18499 (char *) "self",(char *) "sel", NULL
18502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18504 if (!SWIG_IsOK(res1
)) {
18505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18507 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18509 if (!SWIG_IsOK(ecode2
)) {
18510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18512 arg2
= static_cast< int >(val2
);
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 (arg1
)->SetSelection(arg2
);
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= SWIG_Py_Void();
18526 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18528 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18529 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18530 return SWIG_Py_Void();
18533 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18534 return SWIG_Python_InitShadowInstance(args
);
18537 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
= 0;
18539 wxWindow
*arg1
= (wxWindow
*) 0 ;
18540 wxString
*arg2
= 0 ;
18541 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18542 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18543 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18544 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18545 long arg5
= (long) wxTextEntryDialogStyle
;
18546 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18547 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18548 wxTextEntryDialog
*result
= 0 ;
18551 bool temp2
= false ;
18552 bool temp3
= false ;
18553 bool temp4
= false ;
18557 PyObject
* obj0
= 0 ;
18558 PyObject
* obj1
= 0 ;
18559 PyObject
* obj2
= 0 ;
18560 PyObject
* obj3
= 0 ;
18561 PyObject
* obj4
= 0 ;
18562 PyObject
* obj5
= 0 ;
18563 char * kwnames
[] = {
18564 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18569 if (!SWIG_IsOK(res1
)) {
18570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18572 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18574 arg2
= wxString_in_helper(obj1
);
18575 if (arg2
== NULL
) SWIG_fail
;
18580 arg3
= wxString_in_helper(obj2
);
18581 if (arg3
== NULL
) SWIG_fail
;
18587 arg4
= wxString_in_helper(obj3
);
18588 if (arg4
== NULL
) SWIG_fail
;
18593 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18594 if (!SWIG_IsOK(ecode5
)) {
18595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18597 arg5
= static_cast< long >(val5
);
18602 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18606 if (!wxPyCheckForApp()) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18609 wxPyEndAllowThreads(__tstate
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18643 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18644 PyObject
*resultobj
= 0;
18645 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18649 PyObject
*swig_obj
[1] ;
18651 if (!args
) SWIG_fail
;
18652 swig_obj
[0] = args
;
18653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18654 if (!SWIG_IsOK(res1
)) {
18655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18657 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 result
= (arg1
)->GetValue();
18661 wxPyEndAllowThreads(__tstate
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18677 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
= 0;
18679 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18680 wxString
*arg2
= 0 ;
18683 bool temp2
= false ;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 char * kwnames
[] = {
18687 (char *) "self",(char *) "value", NULL
18690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18692 if (!SWIG_IsOK(res1
)) {
18693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18695 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18697 arg2
= wxString_in_helper(obj1
);
18698 if (arg2
== NULL
) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 (arg1
)->SetValue((wxString
const &)*arg2
);
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= SWIG_Py_Void();
18722 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18725 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18726 return SWIG_Py_Void();
18729 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18730 return SWIG_Python_InitShadowInstance(args
);
18733 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18734 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18739 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18740 PyObject
*pyobj
= 0;
18744 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18746 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18753 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
= 0;
18755 wxWindow
*arg1
= (wxWindow
*) 0 ;
18756 wxString
*arg2
= 0 ;
18757 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18759 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18760 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18761 long arg5
= (long) wxTextEntryDialogStyle
;
18762 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18763 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18764 wxPasswordEntryDialog
*result
= 0 ;
18767 bool temp2
= false ;
18768 bool temp3
= false ;
18769 bool temp4
= false ;
18773 PyObject
* obj0
= 0 ;
18774 PyObject
* obj1
= 0 ;
18775 PyObject
* obj2
= 0 ;
18776 PyObject
* obj3
= 0 ;
18777 PyObject
* obj4
= 0 ;
18778 PyObject
* obj5
= 0 ;
18779 char * kwnames
[] = {
18780 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18785 if (!SWIG_IsOK(res1
)) {
18786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18788 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18790 arg2
= wxString_in_helper(obj1
);
18791 if (arg2
== NULL
) SWIG_fail
;
18796 arg3
= wxString_in_helper(obj2
);
18797 if (arg3
== NULL
) SWIG_fail
;
18803 arg4
= wxString_in_helper(obj3
);
18804 if (arg4
== NULL
) SWIG_fail
;
18809 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18810 if (!SWIG_IsOK(ecode5
)) {
18811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18813 arg5
= static_cast< long >(val5
);
18818 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18858 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18860 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18861 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18862 return SWIG_Py_Void();
18865 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18866 return SWIG_Python_InitShadowInstance(args
);
18869 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
= 0;
18871 wxWindow
*arg1
= (wxWindow
*) 0 ;
18872 wxString
*arg2
= 0 ;
18873 wxString
*arg3
= 0 ;
18874 wxString
*arg4
= 0 ;
18878 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18879 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18880 wxNumberEntryDialog
*result
= 0 ;
18883 bool temp2
= false ;
18884 bool temp3
= false ;
18885 bool temp4
= false ;
18893 PyObject
* obj0
= 0 ;
18894 PyObject
* obj1
= 0 ;
18895 PyObject
* obj2
= 0 ;
18896 PyObject
* obj3
= 0 ;
18897 PyObject
* obj4
= 0 ;
18898 PyObject
* obj5
= 0 ;
18899 PyObject
* obj6
= 0 ;
18900 PyObject
* obj7
= 0 ;
18901 char * kwnames
[] = {
18902 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18907 if (!SWIG_IsOK(res1
)) {
18908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18910 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18912 arg2
= wxString_in_helper(obj1
);
18913 if (arg2
== NULL
) SWIG_fail
;
18917 arg3
= wxString_in_helper(obj2
);
18918 if (arg3
== NULL
) SWIG_fail
;
18922 arg4
= wxString_in_helper(obj3
);
18923 if (arg4
== NULL
) SWIG_fail
;
18926 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18927 if (!SWIG_IsOK(ecode5
)) {
18928 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18930 arg5
= static_cast< long >(val5
);
18931 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18932 if (!SWIG_IsOK(ecode6
)) {
18933 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18935 arg6
= static_cast< long >(val6
);
18936 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18937 if (!SWIG_IsOK(ecode7
)) {
18938 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18940 arg7
= static_cast< long >(val7
);
18944 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18948 if (!wxPyCheckForApp()) SWIG_fail
;
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18951 wxPyEndAllowThreads(__tstate
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18985 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18986 PyObject
*resultobj
= 0;
18987 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18991 PyObject
*swig_obj
[1] ;
18993 if (!args
) SWIG_fail
;
18994 swig_obj
[0] = args
;
18995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18996 if (!SWIG_IsOK(res1
)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18999 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 result
= (long)(arg1
)->GetValue();
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= SWIG_From_long(static_cast< long >(result
));
19013 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19016 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
19017 return SWIG_Py_Void();
19020 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19021 return SWIG_Python_InitShadowInstance(args
);
19024 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19025 PyObject
*resultobj
= 0;
19026 wxFontData
*result
= 0 ;
19028 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (wxFontData
*)new wxFontData();
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
19042 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19043 PyObject
*resultobj
= 0;
19044 wxFontData
*arg1
= (wxFontData
*) 0 ;
19047 PyObject
*swig_obj
[1] ;
19049 if (!args
) SWIG_fail
;
19050 swig_obj
[0] = args
;
19051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
19052 if (!SWIG_IsOK(res1
)) {
19053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
19055 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 resultobj
= SWIG_Py_Void();
19070 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
= 0;
19072 wxFontData
*arg1
= (wxFontData
*) 0 ;
19078 PyObject
* obj0
= 0 ;
19079 PyObject
* obj1
= 0 ;
19080 char * kwnames
[] = {
19081 (char *) "self",(char *) "enable", NULL
19084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19086 if (!SWIG_IsOK(res1
)) {
19087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19089 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19090 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19091 if (!SWIG_IsOK(ecode2
)) {
19092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19094 arg2
= static_cast< bool >(val2
);
19096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19097 (arg1
)->EnableEffects(arg2
);
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= SWIG_Py_Void();
19108 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19109 PyObject
*resultobj
= 0;
19110 wxFontData
*arg1
= (wxFontData
*) 0 ;
19114 PyObject
*swig_obj
[1] ;
19116 if (!args
) SWIG_fail
;
19117 swig_obj
[0] = args
;
19118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19119 if (!SWIG_IsOK(res1
)) {
19120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19122 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 result
= (bool)(arg1
)->GetAllowSymbols();
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19138 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19139 PyObject
*resultobj
= 0;
19140 wxFontData
*arg1
= (wxFontData
*) 0 ;
19144 PyObject
*swig_obj
[1] ;
19146 if (!args
) SWIG_fail
;
19147 swig_obj
[0] = args
;
19148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19149 if (!SWIG_IsOK(res1
)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19152 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 result
= (arg1
)->GetColour();
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19166 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19167 PyObject
*resultobj
= 0;
19168 wxFontData
*arg1
= (wxFontData
*) 0 ;
19172 PyObject
*swig_obj
[1] ;
19174 if (!args
) SWIG_fail
;
19175 swig_obj
[0] = args
;
19176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19177 if (!SWIG_IsOK(res1
)) {
19178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19180 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 result
= (arg1
)->GetChosenFont();
19184 wxPyEndAllowThreads(__tstate
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19187 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19194 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19195 PyObject
*resultobj
= 0;
19196 wxFontData
*arg1
= (wxFontData
*) 0 ;
19200 PyObject
*swig_obj
[1] ;
19202 if (!args
) SWIG_fail
;
19203 swig_obj
[0] = args
;
19204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19205 if (!SWIG_IsOK(res1
)) {
19206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19208 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 result
= (bool)(arg1
)->GetEnableEffects();
19212 wxPyEndAllowThreads(__tstate
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19224 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19225 PyObject
*resultobj
= 0;
19226 wxFontData
*arg1
= (wxFontData
*) 0 ;
19230 PyObject
*swig_obj
[1] ;
19232 if (!args
) SWIG_fail
;
19233 swig_obj
[0] = args
;
19234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19235 if (!SWIG_IsOK(res1
)) {
19236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19238 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 result
= (arg1
)->GetInitialFont();
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19252 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19253 PyObject
*resultobj
= 0;
19254 wxFontData
*arg1
= (wxFontData
*) 0 ;
19258 PyObject
*swig_obj
[1] ;
19260 if (!args
) SWIG_fail
;
19261 swig_obj
[0] = args
;
19262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19263 if (!SWIG_IsOK(res1
)) {
19264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19266 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 result
= (bool)(arg1
)->GetShowHelp();
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19282 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
= 0;
19284 wxFontData
*arg1
= (wxFontData
*) 0 ;
19290 PyObject
* obj0
= 0 ;
19291 PyObject
* obj1
= 0 ;
19292 char * kwnames
[] = {
19293 (char *) "self",(char *) "allowSymbols", NULL
19296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19298 if (!SWIG_IsOK(res1
)) {
19299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19301 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19302 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19303 if (!SWIG_IsOK(ecode2
)) {
19304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19306 arg2
= static_cast< bool >(val2
);
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 (arg1
)->SetAllowSymbols(arg2
);
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= SWIG_Py_Void();
19320 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
= 0;
19322 wxFontData
*arg1
= (wxFontData
*) 0 ;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 char * kwnames
[] = {
19331 (char *) "self",(char *) "font", NULL
19334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19336 if (!SWIG_IsOK(res1
)) {
19337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19339 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19341 if (!SWIG_IsOK(res2
)) {
19342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19347 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 resultobj
= SWIG_Py_Void();
19361 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
= 0;
19363 wxFontData
*arg1
= (wxFontData
*) 0 ;
19364 wxColour
*arg2
= 0 ;
19368 PyObject
* obj0
= 0 ;
19369 PyObject
* obj1
= 0 ;
19370 char * kwnames
[] = {
19371 (char *) "self",(char *) "colour", NULL
19374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19376 if (!SWIG_IsOK(res1
)) {
19377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19379 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19382 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 (arg1
)->SetColour((wxColour
const &)*arg2
);
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= SWIG_Py_Void();
19397 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
= 0;
19399 wxFontData
*arg1
= (wxFontData
*) 0 ;
19405 PyObject
* obj0
= 0 ;
19406 PyObject
* obj1
= 0 ;
19407 char * kwnames
[] = {
19408 (char *) "self",(char *) "font", NULL
19411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19413 if (!SWIG_IsOK(res1
)) {
19414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19416 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19417 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19418 if (!SWIG_IsOK(res2
)) {
19419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19424 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 resultobj
= SWIG_Py_Void();
19438 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
= 0;
19440 wxFontData
*arg1
= (wxFontData
*) 0 ;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 PyObject
* obj2
= 0 ;
19452 char * kwnames
[] = {
19453 (char *) "self",(char *) "min",(char *) "max", NULL
19456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19458 if (!SWIG_IsOK(res1
)) {
19459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19461 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19463 if (!SWIG_IsOK(ecode2
)) {
19464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19466 arg2
= static_cast< int >(val2
);
19467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19468 if (!SWIG_IsOK(ecode3
)) {
19469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19471 arg3
= static_cast< int >(val3
);
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 (arg1
)->SetRange(arg2
,arg3
);
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19478 resultobj
= SWIG_Py_Void();
19485 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
= 0;
19487 wxFontData
*arg1
= (wxFontData
*) 0 ;
19493 PyObject
* obj0
= 0 ;
19494 PyObject
* obj1
= 0 ;
19495 char * kwnames
[] = {
19496 (char *) "self",(char *) "showHelp", NULL
19499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19501 if (!SWIG_IsOK(res1
)) {
19502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19504 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19505 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19506 if (!SWIG_IsOK(ecode2
)) {
19507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19509 arg2
= static_cast< bool >(val2
);
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 (arg1
)->SetShowHelp(arg2
);
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= SWIG_Py_Void();
19523 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19525 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19526 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19527 return SWIG_Py_Void();
19530 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19531 return SWIG_Python_InitShadowInstance(args
);
19534 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
= 0;
19536 wxWindow
*arg1
= (wxWindow
*) 0 ;
19537 wxFontData
*arg2
= 0 ;
19538 wxFontDialog
*result
= 0 ;
19543 PyObject
* obj0
= 0 ;
19544 PyObject
* obj1
= 0 ;
19545 char * kwnames
[] = {
19546 (char *) "parent",(char *) "data", NULL
19549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19551 if (!SWIG_IsOK(res1
)) {
19552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19554 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19556 if (!SWIG_IsOK(res2
)) {
19557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19562 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19564 if (!wxPyCheckForApp()) SWIG_fail
;
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19577 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19578 PyObject
*resultobj
= 0;
19579 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19580 wxFontData
*result
= 0 ;
19583 PyObject
*swig_obj
[1] ;
19585 if (!args
) SWIG_fail
;
19586 swig_obj
[0] = args
;
19587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19588 if (!SWIG_IsOK(res1
)) {
19589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19591 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19596 result
= (wxFontData
*) &_result_ref
;
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19608 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19611 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19612 return SWIG_Py_Void();
19615 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19616 return SWIG_Python_InitShadowInstance(args
);
19619 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
= 0;
19621 wxWindow
*arg1
= (wxWindow
*) NULL
;
19622 wxFont
const &arg2_defvalue
= wxNullFont
;
19623 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19624 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19625 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19631 bool temp3
= false ;
19632 PyObject
* obj0
= 0 ;
19633 PyObject
* obj1
= 0 ;
19634 PyObject
* obj2
= 0 ;
19635 char * kwnames
[] = {
19636 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19642 if (!SWIG_IsOK(res1
)) {
19643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19645 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19649 if (!SWIG_IsOK(res2
)) {
19650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19655 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19659 arg3
= wxString_in_helper(obj2
);
19660 if (arg3
== NULL
) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19685 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
= 0;
19687 wxWindow
*arg1
= (wxWindow
*) 0 ;
19688 wxString
*arg2
= 0 ;
19689 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19690 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19691 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19692 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19693 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19694 wxMessageDialog
*result
= 0 ;
19697 bool temp2
= false ;
19698 bool temp3
= false ;
19702 PyObject
* obj0
= 0 ;
19703 PyObject
* obj1
= 0 ;
19704 PyObject
* obj2
= 0 ;
19705 PyObject
* obj3
= 0 ;
19706 PyObject
* obj4
= 0 ;
19707 char * kwnames
[] = {
19708 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19713 if (!SWIG_IsOK(res1
)) {
19714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19716 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19718 arg2
= wxString_in_helper(obj1
);
19719 if (arg2
== NULL
) SWIG_fail
;
19724 arg3
= wxString_in_helper(obj2
);
19725 if (arg3
== NULL
) SWIG_fail
;
19730 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19731 if (!SWIG_IsOK(ecode4
)) {
19732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19734 arg4
= static_cast< long >(val4
);
19739 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19743 if (!wxPyCheckForApp()) SWIG_fail
;
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19772 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19774 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19775 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19776 return SWIG_Py_Void();
19779 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19780 return SWIG_Python_InitShadowInstance(args
);
19783 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
= 0;
19785 wxString
*arg1
= 0 ;
19786 wxString
*arg2
= 0 ;
19787 int arg3
= (int) 100 ;
19788 wxWindow
*arg4
= (wxWindow
*) NULL
;
19789 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19790 wxProgressDialog
*result
= 0 ;
19791 bool temp1
= false ;
19792 bool temp2
= false ;
19799 PyObject
* obj0
= 0 ;
19800 PyObject
* obj1
= 0 ;
19801 PyObject
* obj2
= 0 ;
19802 PyObject
* obj3
= 0 ;
19803 PyObject
* obj4
= 0 ;
19804 char * kwnames
[] = {
19805 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19810 arg1
= wxString_in_helper(obj0
);
19811 if (arg1
== NULL
) SWIG_fail
;
19815 arg2
= wxString_in_helper(obj1
);
19816 if (arg2
== NULL
) SWIG_fail
;
19820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19821 if (!SWIG_IsOK(ecode3
)) {
19822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19824 arg3
= static_cast< int >(val3
);
19827 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19828 if (!SWIG_IsOK(res4
)) {
19829 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19831 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19834 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19835 if (!SWIG_IsOK(ecode5
)) {
19836 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19838 arg5
= static_cast< int >(val5
);
19841 if (!wxPyCheckForApp()) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19870 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
= 0;
19872 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19874 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19875 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19876 bool *arg4
= (bool *) 0 ;
19882 bool temp3
= false ;
19884 int res4
= SWIG_TMPOBJ
;
19885 PyObject
* obj0
= 0 ;
19886 PyObject
* obj1
= 0 ;
19887 PyObject
* obj2
= 0 ;
19888 char * kwnames
[] = {
19889 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19895 if (!SWIG_IsOK(res1
)) {
19896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19898 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19900 if (!SWIG_IsOK(ecode2
)) {
19901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19903 arg2
= static_cast< int >(val2
);
19906 arg3
= wxString_in_helper(obj2
);
19907 if (arg3
== NULL
) SWIG_fail
;
19912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19920 if (SWIG_IsTmpObj(res4
)) {
19921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19923 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19940 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
= 0;
19942 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19943 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19944 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19945 bool *arg3
= (bool *) 0 ;
19949 bool temp2
= false ;
19951 int res3
= SWIG_TMPOBJ
;
19952 PyObject
* obj0
= 0 ;
19953 PyObject
* obj1
= 0 ;
19954 char * kwnames
[] = {
19955 (char *) "self",(char *) "newmsg", NULL
19959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19961 if (!SWIG_IsOK(res1
)) {
19962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19964 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19967 arg2
= wxString_in_helper(obj1
);
19968 if (arg2
== NULL
) SWIG_fail
;
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19981 if (SWIG_IsTmpObj(res3
)) {
19982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19984 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
20001 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20002 PyObject
*resultobj
= 0;
20003 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
20006 PyObject
*swig_obj
[1] ;
20008 if (!args
) SWIG_fail
;
20009 swig_obj
[0] = args
;
20010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
20011 if (!SWIG_IsOK(res1
)) {
20012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20014 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_Py_Void();
20028 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20031 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
20032 return SWIG_Py_Void();
20035 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20036 return SWIG_Python_InitShadowInstance(args
);
20039 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
= 0;
20041 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20042 int arg2
= (int) 0 ;
20043 wxFindDialogEvent
*result
= 0 ;
20048 PyObject
* obj0
= 0 ;
20049 PyObject
* obj1
= 0 ;
20050 char * kwnames
[] = {
20051 (char *) "commandType",(char *) "id", NULL
20054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20056 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20057 if (!SWIG_IsOK(ecode1
)) {
20058 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20060 arg1
= static_cast< wxEventType
>(val1
);
20063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20064 if (!SWIG_IsOK(ecode2
)) {
20065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20067 arg2
= static_cast< int >(val2
);
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
20082 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20083 PyObject
*resultobj
= 0;
20084 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20088 PyObject
*swig_obj
[1] ;
20090 if (!args
) SWIG_fail
;
20091 swig_obj
[0] = args
;
20092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20093 if (!SWIG_IsOK(res1
)) {
20094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20096 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= (int)(arg1
)->GetFlags();
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= SWIG_From_int(static_cast< int >(result
));
20110 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20111 PyObject
*resultobj
= 0;
20112 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20113 wxString
*result
= 0 ;
20116 PyObject
*swig_obj
[1] ;
20118 if (!args
) SWIG_fail
;
20119 swig_obj
[0] = args
;
20120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20121 if (!SWIG_IsOK(res1
)) {
20122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20124 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20128 wxString
const &_result_ref
= (arg1
)->GetFindString();
20129 result
= (wxString
*) &_result_ref
;
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20136 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20138 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20147 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20148 PyObject
*resultobj
= 0;
20149 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20150 wxString
*result
= 0 ;
20153 PyObject
*swig_obj
[1] ;
20155 if (!args
) SWIG_fail
;
20156 swig_obj
[0] = args
;
20157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20158 if (!SWIG_IsOK(res1
)) {
20159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20161 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20166 result
= (wxString
*) &_result_ref
;
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20173 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20175 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20184 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20185 PyObject
*resultobj
= 0;
20186 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20187 wxFindReplaceDialog
*result
= 0 ;
20190 PyObject
*swig_obj
[1] ;
20192 if (!args
) SWIG_fail
;
20193 swig_obj
[0] = args
;
20194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20195 if (!SWIG_IsOK(res1
)) {
20196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20198 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
20202 wxPyEndAllowThreads(__tstate
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20212 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
= 0;
20214 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20220 PyObject
* obj0
= 0 ;
20221 PyObject
* obj1
= 0 ;
20222 char * kwnames
[] = {
20223 (char *) "self",(char *) "flags", NULL
20226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20228 if (!SWIG_IsOK(res1
)) {
20229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20231 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20233 if (!SWIG_IsOK(ecode2
)) {
20234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20236 arg2
= static_cast< int >(val2
);
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 (arg1
)->SetFlags(arg2
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= SWIG_Py_Void();
20250 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
= 0;
20252 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20253 wxString
*arg2
= 0 ;
20256 bool temp2
= false ;
20257 PyObject
* obj0
= 0 ;
20258 PyObject
* obj1
= 0 ;
20259 char * kwnames
[] = {
20260 (char *) "self",(char *) "str", NULL
20263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20265 if (!SWIG_IsOK(res1
)) {
20266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20268 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20270 arg2
= wxString_in_helper(obj1
);
20271 if (arg2
== NULL
) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 (arg1
)->SetFindString((wxString
const &)*arg2
);
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= SWIG_Py_Void();
20295 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20296 PyObject
*resultobj
= 0;
20297 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20298 wxString
*arg2
= 0 ;
20301 bool temp2
= false ;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj1
= 0 ;
20304 char * kwnames
[] = {
20305 (char *) "self",(char *) "str", NULL
20308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20310 if (!SWIG_IsOK(res1
)) {
20311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20313 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20315 arg2
= wxString_in_helper(obj1
);
20316 if (arg2
== NULL
) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20322 wxPyEndAllowThreads(__tstate
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20325 resultobj
= SWIG_Py_Void();
20340 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20343 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20344 return SWIG_Py_Void();
20347 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20348 return SWIG_Python_InitShadowInstance(args
);
20351 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
= 0;
20353 int arg1
= (int) 0 ;
20354 wxFindReplaceData
*result
= 0 ;
20357 PyObject
* obj0
= 0 ;
20358 char * kwnames
[] = {
20359 (char *) "flags", NULL
20362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20365 if (!SWIG_IsOK(ecode1
)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20368 arg1
= static_cast< int >(val1
);
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20383 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20384 PyObject
*resultobj
= 0;
20385 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20388 PyObject
*swig_obj
[1] ;
20390 if (!args
) SWIG_fail
;
20391 swig_obj
[0] = args
;
20392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20393 if (!SWIG_IsOK(res1
)) {
20394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20396 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 resultobj
= SWIG_Py_Void();
20411 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20412 PyObject
*resultobj
= 0;
20413 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20414 wxString
*result
= 0 ;
20417 PyObject
*swig_obj
[1] ;
20419 if (!args
) SWIG_fail
;
20420 swig_obj
[0] = args
;
20421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20422 if (!SWIG_IsOK(res1
)) {
20423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20425 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 wxString
const &_result_ref
= (arg1
)->GetFindString();
20430 result
= (wxString
*) &_result_ref
;
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20439 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20448 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20449 PyObject
*resultobj
= 0;
20450 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20451 wxString
*result
= 0 ;
20454 PyObject
*swig_obj
[1] ;
20456 if (!args
) SWIG_fail
;
20457 swig_obj
[0] = args
;
20458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20459 if (!SWIG_IsOK(res1
)) {
20460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20462 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20467 result
= (wxString
*) &_result_ref
;
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20474 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20476 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20485 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20486 PyObject
*resultobj
= 0;
20487 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20491 PyObject
*swig_obj
[1] ;
20493 if (!args
) SWIG_fail
;
20494 swig_obj
[0] = args
;
20495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20496 if (!SWIG_IsOK(res1
)) {
20497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20499 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20502 result
= (int)(arg1
)->GetFlags();
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20506 resultobj
= SWIG_From_int(static_cast< int >(result
));
20513 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
= 0;
20515 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20521 PyObject
* obj0
= 0 ;
20522 PyObject
* obj1
= 0 ;
20523 char * kwnames
[] = {
20524 (char *) "self",(char *) "flags", NULL
20527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20529 if (!SWIG_IsOK(res1
)) {
20530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20532 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20534 if (!SWIG_IsOK(ecode2
)) {
20535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20537 arg2
= static_cast< int >(val2
);
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 (arg1
)->SetFlags(arg2
);
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= SWIG_Py_Void();
20551 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
= 0;
20553 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20554 wxString
*arg2
= 0 ;
20557 bool temp2
= false ;
20558 PyObject
* obj0
= 0 ;
20559 PyObject
* obj1
= 0 ;
20560 char * kwnames
[] = {
20561 (char *) "self",(char *) "str", NULL
20564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20566 if (!SWIG_IsOK(res1
)) {
20567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20569 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20571 arg2
= wxString_in_helper(obj1
);
20572 if (arg2
== NULL
) SWIG_fail
;
20576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20577 (arg1
)->SetFindString((wxString
const &)*arg2
);
20578 wxPyEndAllowThreads(__tstate
);
20579 if (PyErr_Occurred()) SWIG_fail
;
20581 resultobj
= SWIG_Py_Void();
20596 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
= 0;
20598 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20599 wxString
*arg2
= 0 ;
20602 bool temp2
= false ;
20603 PyObject
* obj0
= 0 ;
20604 PyObject
* obj1
= 0 ;
20605 char * kwnames
[] = {
20606 (char *) "self",(char *) "str", NULL
20609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20611 if (!SWIG_IsOK(res1
)) {
20612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20614 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20616 arg2
= wxString_in_helper(obj1
);
20617 if (arg2
== NULL
) SWIG_fail
;
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20623 wxPyEndAllowThreads(__tstate
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 resultobj
= SWIG_Py_Void();
20641 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20644 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20645 return SWIG_Py_Void();
20648 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20649 return SWIG_Python_InitShadowInstance(args
);
20652 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
= 0;
20654 wxWindow
*arg1
= (wxWindow
*) 0 ;
20655 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20656 wxString
*arg3
= 0 ;
20657 int arg4
= (int) 0 ;
20658 wxFindReplaceDialog
*result
= 0 ;
20663 bool temp3
= false ;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20668 PyObject
* obj2
= 0 ;
20669 PyObject
* obj3
= 0 ;
20670 char * kwnames
[] = {
20671 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20676 if (!SWIG_IsOK(res1
)) {
20677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20679 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20680 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20681 if (!SWIG_IsOK(res2
)) {
20682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20684 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20686 arg3
= wxString_in_helper(obj2
);
20687 if (arg3
== NULL
) SWIG_fail
;
20691 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20692 if (!SWIG_IsOK(ecode4
)) {
20693 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20695 arg4
= static_cast< int >(val4
);
20698 if (!wxPyCheckForApp()) SWIG_fail
;
20699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20700 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20701 wxPyEndAllowThreads(__tstate
);
20702 if (PyErr_Occurred()) SWIG_fail
;
20704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20719 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20720 PyObject
*resultobj
= 0;
20721 wxFindReplaceDialog
*result
= 0 ;
20723 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20725 if (!wxPyCheckForApp()) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20738 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
= 0;
20740 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20741 wxWindow
*arg2
= (wxWindow
*) 0 ;
20742 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20743 wxString
*arg4
= 0 ;
20744 int arg5
= (int) 0 ;
20752 bool temp4
= false ;
20755 PyObject
* obj0
= 0 ;
20756 PyObject
* obj1
= 0 ;
20757 PyObject
* obj2
= 0 ;
20758 PyObject
* obj3
= 0 ;
20759 PyObject
* obj4
= 0 ;
20760 char * kwnames
[] = {
20761 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20766 if (!SWIG_IsOK(res1
)) {
20767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20769 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20770 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20771 if (!SWIG_IsOK(res2
)) {
20772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20774 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20775 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20776 if (!SWIG_IsOK(res3
)) {
20777 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20779 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20781 arg4
= wxString_in_helper(obj3
);
20782 if (arg4
== NULL
) SWIG_fail
;
20786 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20787 if (!SWIG_IsOK(ecode5
)) {
20788 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20790 arg5
= static_cast< int >(val5
);
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20815 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20816 PyObject
*resultobj
= 0;
20817 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20818 wxFindReplaceData
*result
= 0 ;
20821 PyObject
*swig_obj
[1] ;
20823 if (!args
) SWIG_fail
;
20824 swig_obj
[0] = args
;
20825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20826 if (!SWIG_IsOK(res1
)) {
20827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20829 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20833 wxPyEndAllowThreads(__tstate
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20843 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
= 0;
20845 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20846 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20851 PyObject
* obj0
= 0 ;
20852 PyObject
* obj1
= 0 ;
20853 char * kwnames
[] = {
20854 (char *) "self",(char *) "data", NULL
20857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20859 if (!SWIG_IsOK(res1
)) {
20860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20862 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20864 if (!SWIG_IsOK(res2
)) {
20865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20867 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 (arg1
)->SetData(arg2
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= SWIG_Py_Void();
20881 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20884 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20885 return SWIG_Py_Void();
20888 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20889 return SWIG_Python_InitShadowInstance(args
);
20892 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
= 0;
20894 wxWindow
*arg1
= (wxWindow
*) 0 ;
20895 int arg2
= (int) (int)-1 ;
20896 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20897 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20898 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20899 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20900 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20901 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20902 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20903 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20904 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20905 wxMDIParentFrame
*result
= 0 ;
20910 bool temp3
= false ;
20915 bool temp7
= false ;
20916 PyObject
* obj0
= 0 ;
20917 PyObject
* obj1
= 0 ;
20918 PyObject
* obj2
= 0 ;
20919 PyObject
* obj3
= 0 ;
20920 PyObject
* obj4
= 0 ;
20921 PyObject
* obj5
= 0 ;
20922 PyObject
* obj6
= 0 ;
20923 char * kwnames
[] = {
20924 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20929 if (!SWIG_IsOK(res1
)) {
20930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20932 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20935 if (!SWIG_IsOK(ecode2
)) {
20936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20938 arg2
= static_cast< int >(val2
);
20942 arg3
= wxString_in_helper(obj2
);
20943 if (arg3
== NULL
) SWIG_fail
;
20950 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20956 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20960 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20961 if (!SWIG_IsOK(ecode6
)) {
20962 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20964 arg6
= static_cast< long >(val6
);
20968 arg7
= wxString_in_helper(obj6
);
20969 if (arg7
== NULL
) SWIG_fail
;
20974 if (!wxPyCheckForApp()) SWIG_fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
21003 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21004 PyObject
*resultobj
= 0;
21005 wxMDIParentFrame
*result
= 0 ;
21007 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
21009 if (!wxPyCheckForApp()) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
21022 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
= 0;
21024 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21025 wxWindow
*arg2
= (wxWindow
*) 0 ;
21026 int arg3
= (int) (int)-1 ;
21027 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21028 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21029 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21030 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21031 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21032 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21033 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
21034 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21035 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21043 bool temp4
= false ;
21048 bool temp8
= false ;
21049 PyObject
* obj0
= 0 ;
21050 PyObject
* obj1
= 0 ;
21051 PyObject
* obj2
= 0 ;
21052 PyObject
* obj3
= 0 ;
21053 PyObject
* obj4
= 0 ;
21054 PyObject
* obj5
= 0 ;
21055 PyObject
* obj6
= 0 ;
21056 PyObject
* obj7
= 0 ;
21057 char * kwnames
[] = {
21058 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21063 if (!SWIG_IsOK(res1
)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21066 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21067 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21068 if (!SWIG_IsOK(res2
)) {
21069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21071 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21074 if (!SWIG_IsOK(ecode3
)) {
21075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21077 arg3
= static_cast< int >(val3
);
21081 arg4
= wxString_in_helper(obj3
);
21082 if (arg4
== NULL
) SWIG_fail
;
21089 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21095 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21099 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21100 if (!SWIG_IsOK(ecode7
)) {
21101 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21103 arg7
= static_cast< long >(val7
);
21107 arg8
= wxString_in_helper(obj7
);
21108 if (arg8
== NULL
) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21115 wxPyEndAllowThreads(__tstate
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21143 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21144 PyObject
*resultobj
= 0;
21145 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21148 PyObject
*swig_obj
[1] ;
21150 if (!args
) SWIG_fail
;
21151 swig_obj
[0] = args
;
21152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21153 if (!SWIG_IsOK(res1
)) {
21154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21156 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 (arg1
)->ActivateNext();
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21163 resultobj
= SWIG_Py_Void();
21170 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21171 PyObject
*resultobj
= 0;
21172 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21175 PyObject
*swig_obj
[1] ;
21177 if (!args
) SWIG_fail
;
21178 swig_obj
[0] = args
;
21179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21180 if (!SWIG_IsOK(res1
)) {
21181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21183 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 (arg1
)->ActivatePrevious();
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21190 resultobj
= SWIG_Py_Void();
21197 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21198 PyObject
*resultobj
= 0;
21199 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21202 PyObject
*swig_obj
[1] ;
21204 if (!args
) SWIG_fail
;
21205 swig_obj
[0] = args
;
21206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21207 if (!SWIG_IsOK(res1
)) {
21208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21210 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 (arg1
)->ArrangeIcons();
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 resultobj
= SWIG_Py_Void();
21224 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21225 PyObject
*resultobj
= 0;
21226 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21229 PyObject
*swig_obj
[1] ;
21231 if (!args
) SWIG_fail
;
21232 swig_obj
[0] = args
;
21233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21234 if (!SWIG_IsOK(res1
)) {
21235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21237 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21241 wxPyEndAllowThreads(__tstate
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= SWIG_Py_Void();
21251 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21252 PyObject
*resultobj
= 0;
21253 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21254 wxMDIChildFrame
*result
= 0 ;
21257 PyObject
*swig_obj
[1] ;
21259 if (!args
) SWIG_fail
;
21260 swig_obj
[0] = args
;
21261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21262 if (!SWIG_IsOK(res1
)) {
21263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21265 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21273 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21281 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21282 PyObject
*resultobj
= 0;
21283 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21284 wxMDIClientWindow
*result
= 0 ;
21287 PyObject
*swig_obj
[1] ;
21289 if (!args
) SWIG_fail
;
21290 swig_obj
[0] = args
;
21291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21292 if (!SWIG_IsOK(res1
)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21295 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21311 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21312 PyObject
*resultobj
= 0;
21313 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21314 wxMenu
*result
= 0 ;
21317 PyObject
*swig_obj
[1] ;
21319 if (!args
) SWIG_fail
;
21320 swig_obj
[0] = args
;
21321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21322 if (!SWIG_IsOK(res1
)) {
21323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21325 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21333 resultobj
= wxPyMake_wxObject(result
, 0);
21341 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
= 0;
21343 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21344 wxMenu
*arg2
= (wxMenu
*) 0 ;
21349 PyObject
* obj0
= 0 ;
21350 PyObject
* obj1
= 0 ;
21351 char * kwnames
[] = {
21352 (char *) "self",(char *) "menu", NULL
21355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21357 if (!SWIG_IsOK(res1
)) {
21358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21360 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21361 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
21362 if (!SWIG_IsOK(res2
)) {
21363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21365 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 (arg1
)->SetWindowMenu(arg2
);
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21372 resultobj
= SWIG_Py_Void();
21379 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21380 PyObject
*resultobj
= 0;
21381 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21382 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21387 PyObject
* obj0
= 0 ;
21388 PyObject
* obj1
= 0 ;
21389 char * kwnames
[] = {
21390 (char *) "self",(char *) "orient", NULL
21393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21395 if (!SWIG_IsOK(res1
)) {
21396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21398 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21401 if (!SWIG_IsOK(ecode2
)) {
21402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21404 arg2
= static_cast< wxOrientation
>(val2
);
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 (arg1
)->Tile(arg2
);
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= SWIG_Py_Void();
21419 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21422 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21423 return SWIG_Py_Void();
21426 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21427 return SWIG_Python_InitShadowInstance(args
);
21430 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
= 0;
21432 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21433 int arg2
= (int) (int)-1 ;
21434 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21435 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21436 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21437 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21438 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21439 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21440 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21441 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21442 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21443 wxMDIChildFrame
*result
= 0 ;
21448 bool temp3
= false ;
21453 bool temp7
= false ;
21454 PyObject
* obj0
= 0 ;
21455 PyObject
* obj1
= 0 ;
21456 PyObject
* obj2
= 0 ;
21457 PyObject
* obj3
= 0 ;
21458 PyObject
* obj4
= 0 ;
21459 PyObject
* obj5
= 0 ;
21460 PyObject
* obj6
= 0 ;
21461 char * kwnames
[] = {
21462 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21467 if (!SWIG_IsOK(res1
)) {
21468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21470 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21473 if (!SWIG_IsOK(ecode2
)) {
21474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21476 arg2
= static_cast< int >(val2
);
21480 arg3
= wxString_in_helper(obj2
);
21481 if (arg3
== NULL
) SWIG_fail
;
21488 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21494 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21498 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21499 if (!SWIG_IsOK(ecode6
)) {
21500 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21502 arg6
= static_cast< long >(val6
);
21506 arg7
= wxString_in_helper(obj6
);
21507 if (arg7
== NULL
) SWIG_fail
;
21512 if (!wxPyCheckForApp()) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21541 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21542 PyObject
*resultobj
= 0;
21543 wxMDIChildFrame
*result
= 0 ;
21545 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21547 if (!wxPyCheckForApp()) SWIG_fail
;
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21549 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21560 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
= 0;
21562 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21563 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21564 int arg3
= (int) (int)-1 ;
21565 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21566 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21567 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21568 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21569 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21570 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21571 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21572 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21573 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21581 bool temp4
= false ;
21586 bool temp8
= false ;
21587 PyObject
* obj0
= 0 ;
21588 PyObject
* obj1
= 0 ;
21589 PyObject
* obj2
= 0 ;
21590 PyObject
* obj3
= 0 ;
21591 PyObject
* obj4
= 0 ;
21592 PyObject
* obj5
= 0 ;
21593 PyObject
* obj6
= 0 ;
21594 PyObject
* obj7
= 0 ;
21595 char * kwnames
[] = {
21596 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21601 if (!SWIG_IsOK(res1
)) {
21602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21604 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21605 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21606 if (!SWIG_IsOK(res2
)) {
21607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21609 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21612 if (!SWIG_IsOK(ecode3
)) {
21613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21615 arg3
= static_cast< int >(val3
);
21619 arg4
= wxString_in_helper(obj3
);
21620 if (arg4
== NULL
) SWIG_fail
;
21627 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21633 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21637 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21638 if (!SWIG_IsOK(ecode7
)) {
21639 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21641 arg7
= static_cast< long >(val7
);
21645 arg8
= wxString_in_helper(obj7
);
21646 if (arg8
== NULL
) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21653 wxPyEndAllowThreads(__tstate
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21681 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21682 PyObject
*resultobj
= 0;
21683 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21686 PyObject
*swig_obj
[1] ;
21688 if (!args
) SWIG_fail
;
21689 swig_obj
[0] = args
;
21690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21691 if (!SWIG_IsOK(res1
)) {
21692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21694 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 (arg1
)->Activate();
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= SWIG_Py_Void();
21708 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21711 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21712 return SWIG_Py_Void();
21715 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21716 return SWIG_Python_InitShadowInstance(args
);
21719 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
= 0;
21721 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21722 long arg2
= (long) 0 ;
21723 wxMDIClientWindow
*result
= 0 ;
21728 PyObject
* obj0
= 0 ;
21729 PyObject
* obj1
= 0 ;
21730 char * kwnames
[] = {
21731 (char *) "parent",(char *) "style", NULL
21734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21736 if (!SWIG_IsOK(res1
)) {
21737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21739 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21741 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21742 if (!SWIG_IsOK(ecode2
)) {
21743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21745 arg2
= static_cast< long >(val2
);
21748 if (!wxPyCheckForApp()) SWIG_fail
;
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21761 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21762 PyObject
*resultobj
= 0;
21763 wxMDIClientWindow
*result
= 0 ;
21765 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21767 if (!wxPyCheckForApp()) SWIG_fail
;
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21780 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21781 PyObject
*resultobj
= 0;
21782 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21783 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21784 long arg3
= (long) 0 ;
21792 PyObject
* obj0
= 0 ;
21793 PyObject
* obj1
= 0 ;
21794 PyObject
* obj2
= 0 ;
21795 char * kwnames
[] = {
21796 (char *) "self",(char *) "parent",(char *) "style", NULL
21799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21801 if (!SWIG_IsOK(res1
)) {
21802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21804 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21806 if (!SWIG_IsOK(res2
)) {
21807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21809 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21811 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21812 if (!SWIG_IsOK(ecode3
)) {
21813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21815 arg3
= static_cast< long >(val3
);
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21819 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21832 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21835 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21836 return SWIG_Py_Void();
21839 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21840 return SWIG_Python_InitShadowInstance(args
);
21843 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
= 0;
21845 wxWindow
*arg1
= (wxWindow
*) 0 ;
21846 int arg2
= (int) (int)-1 ;
21847 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21848 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21849 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21850 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21851 long arg5
= (long) 0 ;
21852 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21853 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21854 wxPyWindow
*result
= 0 ;
21863 bool temp6
= false ;
21864 PyObject
* obj0
= 0 ;
21865 PyObject
* obj1
= 0 ;
21866 PyObject
* obj2
= 0 ;
21867 PyObject
* obj3
= 0 ;
21868 PyObject
* obj4
= 0 ;
21869 PyObject
* obj5
= 0 ;
21870 char * kwnames
[] = {
21871 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21876 if (!SWIG_IsOK(res1
)) {
21877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21879 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21882 if (!SWIG_IsOK(ecode2
)) {
21883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21885 arg2
= static_cast< int >(val2
);
21890 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21896 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21900 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21901 if (!SWIG_IsOK(ecode5
)) {
21902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21904 arg5
= static_cast< long >(val5
);
21908 arg6
= wxString_in_helper(obj5
);
21909 if (arg6
== NULL
) SWIG_fail
;
21914 if (!wxPyCheckForApp()) SWIG_fail
;
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21935 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21936 PyObject
*resultobj
= 0;
21937 wxPyWindow
*result
= 0 ;
21939 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21941 if (!wxPyCheckForApp()) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= (wxPyWindow
*)new wxPyWindow();
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21954 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
= 0;
21956 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21957 PyObject
*arg2
= (PyObject
*) 0 ;
21958 PyObject
*arg3
= (PyObject
*) 0 ;
21961 PyObject
* obj0
= 0 ;
21962 PyObject
* obj1
= 0 ;
21963 PyObject
* obj2
= 0 ;
21964 char * kwnames
[] = {
21965 (char *) "self",(char *) "self",(char *) "_class", NULL
21968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21970 if (!SWIG_IsOK(res1
)) {
21971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21973 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= SWIG_Py_Void();
21989 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
= 0;
21991 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21992 wxDC
*arg2
= (wxDC
*) 0 ;
21998 PyObject
* obj0
= 0 ;
21999 PyObject
* obj1
= 0 ;
22000 char * kwnames
[] = {
22001 (char *) "self",(char *) "dc", NULL
22004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22006 if (!SWIG_IsOK(res1
)) {
22007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22009 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22010 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22011 if (!SWIG_IsOK(res2
)) {
22012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22014 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22030 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
= 0;
22032 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 PyObject
* obj2
= 0 ;
22050 PyObject
* obj3
= 0 ;
22051 PyObject
* obj4
= 0 ;
22052 char * kwnames
[] = {
22053 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22058 if (!SWIG_IsOK(res1
)) {
22059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22061 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22063 if (!SWIG_IsOK(ecode2
)) {
22064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22066 arg2
= static_cast< int >(val2
);
22067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22068 if (!SWIG_IsOK(ecode3
)) {
22069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22071 arg3
= static_cast< int >(val3
);
22072 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22073 if (!SWIG_IsOK(ecode4
)) {
22074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22076 arg4
= static_cast< int >(val4
);
22077 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22078 if (!SWIG_IsOK(ecode5
)) {
22079 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22081 arg5
= static_cast< int >(val5
);
22083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22084 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= SWIG_Py_Void();
22095 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
= 0;
22097 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22102 int arg6
= (int) wxSIZE_AUTO
;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 PyObject
* obj2
= 0 ;
22118 PyObject
* obj3
= 0 ;
22119 PyObject
* obj4
= 0 ;
22120 PyObject
* obj5
= 0 ;
22121 char * kwnames
[] = {
22122 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22127 if (!SWIG_IsOK(res1
)) {
22128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22130 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22132 if (!SWIG_IsOK(ecode2
)) {
22133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22135 arg2
= static_cast< int >(val2
);
22136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22137 if (!SWIG_IsOK(ecode3
)) {
22138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22140 arg3
= static_cast< int >(val3
);
22141 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22142 if (!SWIG_IsOK(ecode4
)) {
22143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22145 arg4
= static_cast< int >(val4
);
22146 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22147 if (!SWIG_IsOK(ecode5
)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22150 arg5
= static_cast< int >(val5
);
22152 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22153 if (!SWIG_IsOK(ecode6
)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22156 arg6
= static_cast< int >(val6
);
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= SWIG_Py_Void();
22171 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
= 0;
22173 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22182 PyObject
* obj0
= 0 ;
22183 PyObject
* obj1
= 0 ;
22184 PyObject
* obj2
= 0 ;
22185 char * kwnames
[] = {
22186 (char *) "self",(char *) "width",(char *) "height", NULL
22189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22191 if (!SWIG_IsOK(res1
)) {
22192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22194 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22196 if (!SWIG_IsOK(ecode2
)) {
22197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22199 arg2
= static_cast< int >(val2
);
22200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22201 if (!SWIG_IsOK(ecode3
)) {
22202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22204 arg3
= static_cast< int >(val3
);
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 (arg1
)->DoSetClientSize(arg2
,arg3
);
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= SWIG_Py_Void();
22218 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
= 0;
22220 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 PyObject
* obj2
= 0 ;
22232 char * kwnames
[] = {
22233 (char *) "self",(char *) "x",(char *) "y", NULL
22236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22238 if (!SWIG_IsOK(res1
)) {
22239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22241 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22243 if (!SWIG_IsOK(ecode2
)) {
22244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22246 arg2
= static_cast< int >(val2
);
22247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22248 if (!SWIG_IsOK(ecode3
)) {
22249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22251 arg3
= static_cast< int >(val3
);
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= SWIG_Py_Void();
22265 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22266 PyObject
*resultobj
= 0;
22267 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22268 int *arg2
= (int *) 0 ;
22269 int *arg3
= (int *) 0 ;
22273 int res2
= SWIG_TMPOBJ
;
22275 int res3
= SWIG_TMPOBJ
;
22276 PyObject
*swig_obj
[1] ;
22280 if (!args
) SWIG_fail
;
22281 swig_obj
[0] = args
;
22282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22283 if (!SWIG_IsOK(res1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22286 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 resultobj
= SWIG_Py_Void();
22294 if (SWIG_IsTmpObj(res2
)) {
22295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22297 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22300 if (SWIG_IsTmpObj(res3
)) {
22301 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22303 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22304 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22312 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22313 PyObject
*resultobj
= 0;
22314 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22315 int *arg2
= (int *) 0 ;
22316 int *arg3
= (int *) 0 ;
22320 int res2
= SWIG_TMPOBJ
;
22322 int res3
= SWIG_TMPOBJ
;
22323 PyObject
*swig_obj
[1] ;
22327 if (!args
) SWIG_fail
;
22328 swig_obj
[0] = args
;
22329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22330 if (!SWIG_IsOK(res1
)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22333 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22340 resultobj
= SWIG_Py_Void();
22341 if (SWIG_IsTmpObj(res2
)) {
22342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22344 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22345 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22347 if (SWIG_IsTmpObj(res3
)) {
22348 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22350 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22359 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22360 PyObject
*resultobj
= 0;
22361 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22362 int *arg2
= (int *) 0 ;
22363 int *arg3
= (int *) 0 ;
22367 int res2
= SWIG_TMPOBJ
;
22369 int res3
= SWIG_TMPOBJ
;
22370 PyObject
*swig_obj
[1] ;
22374 if (!args
) SWIG_fail
;
22375 swig_obj
[0] = args
;
22376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22377 if (!SWIG_IsOK(res1
)) {
22378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22380 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= SWIG_Py_Void();
22388 if (SWIG_IsTmpObj(res2
)) {
22389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22391 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22394 if (SWIG_IsTmpObj(res3
)) {
22395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22397 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22406 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22407 PyObject
*resultobj
= 0;
22408 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22412 PyObject
*swig_obj
[1] ;
22414 if (!args
) SWIG_fail
;
22415 swig_obj
[0] = args
;
22416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22417 if (!SWIG_IsOK(res1
)) {
22418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22420 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22434 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22435 PyObject
*resultobj
= 0;
22436 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22440 PyObject
*swig_obj
[1] ;
22442 if (!args
) SWIG_fail
;
22443 swig_obj
[0] = args
;
22444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22445 if (!SWIG_IsOK(res1
)) {
22446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22448 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22462 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22463 PyObject
*resultobj
= 0;
22464 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22465 SwigValueWrapper
<wxVisualAttributes
> result
;
22468 PyObject
*swig_obj
[1] ;
22470 if (!args
) SWIG_fail
;
22471 swig_obj
[0] = args
;
22472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22473 if (!SWIG_IsOK(res1
)) {
22474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22476 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= (arg1
)->GetDefaultAttributes();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22490 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22491 PyObject
*resultobj
= 0;
22492 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22495 PyObject
*swig_obj
[1] ;
22497 if (!args
) SWIG_fail
;
22498 swig_obj
[0] = args
;
22499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22500 if (!SWIG_IsOK(res1
)) {
22501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22503 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 (arg1
)->OnInternalIdle();
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= SWIG_Py_Void();
22517 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22520 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22521 return SWIG_Py_Void();
22524 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22525 return SWIG_Python_InitShadowInstance(args
);
22528 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
= 0;
22530 wxWindow
*arg1
= (wxWindow
*) 0 ;
22531 int arg2
= (int) (int)-1 ;
22532 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22533 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22534 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22535 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22536 long arg5
= (long) 0 ;
22537 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22538 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22539 wxPyPanel
*result
= 0 ;
22548 bool temp6
= false ;
22549 PyObject
* obj0
= 0 ;
22550 PyObject
* obj1
= 0 ;
22551 PyObject
* obj2
= 0 ;
22552 PyObject
* obj3
= 0 ;
22553 PyObject
* obj4
= 0 ;
22554 PyObject
* obj5
= 0 ;
22555 char * kwnames
[] = {
22556 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22561 if (!SWIG_IsOK(res1
)) {
22562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22567 if (!SWIG_IsOK(ecode2
)) {
22568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22570 arg2
= static_cast< int >(val2
);
22575 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22581 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22585 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22586 if (!SWIG_IsOK(ecode5
)) {
22587 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22589 arg5
= static_cast< long >(val5
);
22593 arg6
= wxString_in_helper(obj5
);
22594 if (arg6
== NULL
) SWIG_fail
;
22599 if (!wxPyCheckForApp()) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22620 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22621 PyObject
*resultobj
= 0;
22622 wxPyPanel
*result
= 0 ;
22624 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22626 if (!wxPyCheckForApp()) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 result
= (wxPyPanel
*)new wxPyPanel();
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22639 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
= 0;
22641 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22642 PyObject
*arg2
= (PyObject
*) 0 ;
22643 PyObject
*arg3
= (PyObject
*) 0 ;
22646 PyObject
* obj0
= 0 ;
22647 PyObject
* obj1
= 0 ;
22648 PyObject
* obj2
= 0 ;
22649 char * kwnames
[] = {
22650 (char *) "self",(char *) "self",(char *) "_class", NULL
22653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22655 if (!SWIG_IsOK(res1
)) {
22656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22658 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22667 resultobj
= SWIG_Py_Void();
22674 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22675 PyObject
*resultobj
= 0;
22676 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22677 wxDC
*arg2
= (wxDC
*) 0 ;
22683 PyObject
* obj0
= 0 ;
22684 PyObject
* obj1
= 0 ;
22685 char * kwnames
[] = {
22686 (char *) "self",(char *) "dc", NULL
22689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22691 if (!SWIG_IsOK(res1
)) {
22692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22694 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22695 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22696 if (!SWIG_IsOK(res2
)) {
22697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22699 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22715 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
= 0;
22717 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22732 PyObject
* obj0
= 0 ;
22733 PyObject
* obj1
= 0 ;
22734 PyObject
* obj2
= 0 ;
22735 PyObject
* obj3
= 0 ;
22736 PyObject
* obj4
= 0 ;
22737 char * kwnames
[] = {
22738 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22743 if (!SWIG_IsOK(res1
)) {
22744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22746 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22748 if (!SWIG_IsOK(ecode2
)) {
22749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22751 arg2
= static_cast< int >(val2
);
22752 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22753 if (!SWIG_IsOK(ecode3
)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22756 arg3
= static_cast< int >(val3
);
22757 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22758 if (!SWIG_IsOK(ecode4
)) {
22759 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22761 arg4
= static_cast< int >(val4
);
22762 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22763 if (!SWIG_IsOK(ecode5
)) {
22764 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22766 arg5
= static_cast< int >(val5
);
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22769 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= SWIG_Py_Void();
22780 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
= 0;
22782 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22787 int arg6
= (int) wxSIZE_AUTO
;
22800 PyObject
* obj0
= 0 ;
22801 PyObject
* obj1
= 0 ;
22802 PyObject
* obj2
= 0 ;
22803 PyObject
* obj3
= 0 ;
22804 PyObject
* obj4
= 0 ;
22805 PyObject
* obj5
= 0 ;
22806 char * kwnames
[] = {
22807 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22812 if (!SWIG_IsOK(res1
)) {
22813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22815 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22817 if (!SWIG_IsOK(ecode2
)) {
22818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22820 arg2
= static_cast< int >(val2
);
22821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22822 if (!SWIG_IsOK(ecode3
)) {
22823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22825 arg3
= static_cast< int >(val3
);
22826 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22827 if (!SWIG_IsOK(ecode4
)) {
22828 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22830 arg4
= static_cast< int >(val4
);
22831 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22832 if (!SWIG_IsOK(ecode5
)) {
22833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22835 arg5
= static_cast< int >(val5
);
22837 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22838 if (!SWIG_IsOK(ecode6
)) {
22839 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22841 arg6
= static_cast< int >(val6
);
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= SWIG_Py_Void();
22856 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22857 PyObject
*resultobj
= 0;
22858 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22867 PyObject
* obj0
= 0 ;
22868 PyObject
* obj1
= 0 ;
22869 PyObject
* obj2
= 0 ;
22870 char * kwnames
[] = {
22871 (char *) "self",(char *) "width",(char *) "height", NULL
22874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22876 if (!SWIG_IsOK(res1
)) {
22877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22879 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22881 if (!SWIG_IsOK(ecode2
)) {
22882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22884 arg2
= static_cast< int >(val2
);
22885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22886 if (!SWIG_IsOK(ecode3
)) {
22887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22889 arg3
= static_cast< int >(val3
);
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 (arg1
)->DoSetClientSize(arg2
,arg3
);
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22896 resultobj
= SWIG_Py_Void();
22903 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
= 0;
22905 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22914 PyObject
* obj0
= 0 ;
22915 PyObject
* obj1
= 0 ;
22916 PyObject
* obj2
= 0 ;
22917 char * kwnames
[] = {
22918 (char *) "self",(char *) "x",(char *) "y", NULL
22921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22923 if (!SWIG_IsOK(res1
)) {
22924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22926 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22928 if (!SWIG_IsOK(ecode2
)) {
22929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22931 arg2
= static_cast< int >(val2
);
22932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22933 if (!SWIG_IsOK(ecode3
)) {
22934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22936 arg3
= static_cast< int >(val3
);
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= SWIG_Py_Void();
22950 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22951 PyObject
*resultobj
= 0;
22952 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22953 int *arg2
= (int *) 0 ;
22954 int *arg3
= (int *) 0 ;
22958 int res2
= SWIG_TMPOBJ
;
22960 int res3
= SWIG_TMPOBJ
;
22961 PyObject
*swig_obj
[1] ;
22965 if (!args
) SWIG_fail
;
22966 swig_obj
[0] = args
;
22967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22968 if (!SWIG_IsOK(res1
)) {
22969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22971 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 resultobj
= SWIG_Py_Void();
22979 if (SWIG_IsTmpObj(res2
)) {
22980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22982 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22985 if (SWIG_IsTmpObj(res3
)) {
22986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22988 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22997 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22998 PyObject
*resultobj
= 0;
22999 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23000 int *arg2
= (int *) 0 ;
23001 int *arg3
= (int *) 0 ;
23005 int res2
= SWIG_TMPOBJ
;
23007 int res3
= SWIG_TMPOBJ
;
23008 PyObject
*swig_obj
[1] ;
23012 if (!args
) SWIG_fail
;
23013 swig_obj
[0] = args
;
23014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23015 if (!SWIG_IsOK(res1
)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23018 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= SWIG_Py_Void();
23026 if (SWIG_IsTmpObj(res2
)) {
23027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23029 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23030 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23032 if (SWIG_IsTmpObj(res3
)) {
23033 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23035 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23036 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23044 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23045 PyObject
*resultobj
= 0;
23046 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23047 int *arg2
= (int *) 0 ;
23048 int *arg3
= (int *) 0 ;
23052 int res2
= SWIG_TMPOBJ
;
23054 int res3
= SWIG_TMPOBJ
;
23055 PyObject
*swig_obj
[1] ;
23059 if (!args
) SWIG_fail
;
23060 swig_obj
[0] = args
;
23061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23062 if (!SWIG_IsOK(res1
)) {
23063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23065 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23072 resultobj
= SWIG_Py_Void();
23073 if (SWIG_IsTmpObj(res2
)) {
23074 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23076 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23077 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23079 if (SWIG_IsTmpObj(res3
)) {
23080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23082 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23091 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23092 PyObject
*resultobj
= 0;
23093 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23097 PyObject
*swig_obj
[1] ;
23099 if (!args
) SWIG_fail
;
23100 swig_obj
[0] = args
;
23101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23102 if (!SWIG_IsOK(res1
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23105 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23119 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23120 PyObject
*resultobj
= 0;
23121 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23125 PyObject
*swig_obj
[1] ;
23127 if (!args
) SWIG_fail
;
23128 swig_obj
[0] = args
;
23129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23130 if (!SWIG_IsOK(res1
)) {
23131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23133 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
23137 wxPyEndAllowThreads(__tstate
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23140 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23147 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23148 PyObject
*resultobj
= 0;
23149 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23150 SwigValueWrapper
<wxVisualAttributes
> result
;
23153 PyObject
*swig_obj
[1] ;
23155 if (!args
) SWIG_fail
;
23156 swig_obj
[0] = args
;
23157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23158 if (!SWIG_IsOK(res1
)) {
23159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23161 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 result
= (arg1
)->GetDefaultAttributes();
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23175 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23176 PyObject
*resultobj
= 0;
23177 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23180 PyObject
*swig_obj
[1] ;
23182 if (!args
) SWIG_fail
;
23183 swig_obj
[0] = args
;
23184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23185 if (!SWIG_IsOK(res1
)) {
23186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23188 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 (arg1
)->OnInternalIdle();
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23195 resultobj
= SWIG_Py_Void();
23202 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23205 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
23206 return SWIG_Py_Void();
23209 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23210 return SWIG_Python_InitShadowInstance(args
);
23213 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23214 PyObject
*resultobj
= 0;
23215 wxWindow
*arg1
= (wxWindow
*) 0 ;
23216 int arg2
= (int) (int)-1 ;
23217 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23218 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23219 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23220 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23221 long arg5
= (long) 0 ;
23222 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23223 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23224 wxPyScrolledWindow
*result
= 0 ;
23233 bool temp6
= false ;
23234 PyObject
* obj0
= 0 ;
23235 PyObject
* obj1
= 0 ;
23236 PyObject
* obj2
= 0 ;
23237 PyObject
* obj3
= 0 ;
23238 PyObject
* obj4
= 0 ;
23239 PyObject
* obj5
= 0 ;
23240 char * kwnames
[] = {
23241 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23246 if (!SWIG_IsOK(res1
)) {
23247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23249 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23252 if (!SWIG_IsOK(ecode2
)) {
23253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23255 arg2
= static_cast< int >(val2
);
23260 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23266 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23270 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23271 if (!SWIG_IsOK(ecode5
)) {
23272 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23274 arg5
= static_cast< long >(val5
);
23278 arg6
= wxString_in_helper(obj5
);
23279 if (arg6
== NULL
) SWIG_fail
;
23284 if (!wxPyCheckForApp()) SWIG_fail
;
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23305 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23306 PyObject
*resultobj
= 0;
23307 wxPyScrolledWindow
*result
= 0 ;
23309 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23311 if (!wxPyCheckForApp()) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23324 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23325 PyObject
*resultobj
= 0;
23326 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23327 PyObject
*arg2
= (PyObject
*) 0 ;
23328 PyObject
*arg3
= (PyObject
*) 0 ;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 PyObject
* obj2
= 0 ;
23334 char * kwnames
[] = {
23335 (char *) "self",(char *) "self",(char *) "_class", NULL
23338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23340 if (!SWIG_IsOK(res1
)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23343 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= SWIG_Py_Void();
23359 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
= 0;
23361 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23362 wxDC
*arg2
= (wxDC
*) 0 ;
23368 PyObject
* obj0
= 0 ;
23369 PyObject
* obj1
= 0 ;
23370 char * kwnames
[] = {
23371 (char *) "self",(char *) "dc", NULL
23374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23376 if (!SWIG_IsOK(res1
)) {
23377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23379 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23380 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23381 if (!SWIG_IsOK(res2
)) {
23382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23384 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23400 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23401 PyObject
*resultobj
= 0;
23402 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 PyObject
* obj2
= 0 ;
23420 PyObject
* obj3
= 0 ;
23421 PyObject
* obj4
= 0 ;
23422 char * kwnames
[] = {
23423 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23428 if (!SWIG_IsOK(res1
)) {
23429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23431 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23433 if (!SWIG_IsOK(ecode2
)) {
23434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23436 arg2
= static_cast< int >(val2
);
23437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23438 if (!SWIG_IsOK(ecode3
)) {
23439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23441 arg3
= static_cast< int >(val3
);
23442 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23443 if (!SWIG_IsOK(ecode4
)) {
23444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23446 arg4
= static_cast< int >(val4
);
23447 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23448 if (!SWIG_IsOK(ecode5
)) {
23449 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23451 arg5
= static_cast< int >(val5
);
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= SWIG_Py_Void();
23465 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
= 0;
23467 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23472 int arg6
= (int) wxSIZE_AUTO
;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 PyObject
* obj2
= 0 ;
23488 PyObject
* obj3
= 0 ;
23489 PyObject
* obj4
= 0 ;
23490 PyObject
* obj5
= 0 ;
23491 char * kwnames
[] = {
23492 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23497 if (!SWIG_IsOK(res1
)) {
23498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23500 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23502 if (!SWIG_IsOK(ecode2
)) {
23503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23505 arg2
= static_cast< int >(val2
);
23506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23507 if (!SWIG_IsOK(ecode3
)) {
23508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23510 arg3
= static_cast< int >(val3
);
23511 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23512 if (!SWIG_IsOK(ecode4
)) {
23513 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23515 arg4
= static_cast< int >(val4
);
23516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23517 if (!SWIG_IsOK(ecode5
)) {
23518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23520 arg5
= static_cast< int >(val5
);
23522 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23523 if (!SWIG_IsOK(ecode6
)) {
23524 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23526 arg6
= static_cast< int >(val6
);
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= SWIG_Py_Void();
23541 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
= 0;
23543 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23552 PyObject
* obj0
= 0 ;
23553 PyObject
* obj1
= 0 ;
23554 PyObject
* obj2
= 0 ;
23555 char * kwnames
[] = {
23556 (char *) "self",(char *) "width",(char *) "height", NULL
23559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23561 if (!SWIG_IsOK(res1
)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23564 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23566 if (!SWIG_IsOK(ecode2
)) {
23567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23569 arg2
= static_cast< int >(val2
);
23570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23571 if (!SWIG_IsOK(ecode3
)) {
23572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23574 arg3
= static_cast< int >(val3
);
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 (arg1
)->DoSetClientSize(arg2
,arg3
);
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23581 resultobj
= SWIG_Py_Void();
23588 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
= 0;
23590 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23599 PyObject
* obj0
= 0 ;
23600 PyObject
* obj1
= 0 ;
23601 PyObject
* obj2
= 0 ;
23602 char * kwnames
[] = {
23603 (char *) "self",(char *) "x",(char *) "y", NULL
23606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23608 if (!SWIG_IsOK(res1
)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23611 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23613 if (!SWIG_IsOK(ecode2
)) {
23614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23616 arg2
= static_cast< int >(val2
);
23617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23618 if (!SWIG_IsOK(ecode3
)) {
23619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23621 arg3
= static_cast< int >(val3
);
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23628 resultobj
= SWIG_Py_Void();
23635 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23636 PyObject
*resultobj
= 0;
23637 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23638 int *arg2
= (int *) 0 ;
23639 int *arg3
= (int *) 0 ;
23643 int res2
= SWIG_TMPOBJ
;
23645 int res3
= SWIG_TMPOBJ
;
23646 PyObject
*swig_obj
[1] ;
23650 if (!args
) SWIG_fail
;
23651 swig_obj
[0] = args
;
23652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23653 if (!SWIG_IsOK(res1
)) {
23654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23656 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23663 resultobj
= SWIG_Py_Void();
23664 if (SWIG_IsTmpObj(res2
)) {
23665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23667 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23670 if (SWIG_IsTmpObj(res3
)) {
23671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23673 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23682 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23683 PyObject
*resultobj
= 0;
23684 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23685 int *arg2
= (int *) 0 ;
23686 int *arg3
= (int *) 0 ;
23690 int res2
= SWIG_TMPOBJ
;
23692 int res3
= SWIG_TMPOBJ
;
23693 PyObject
*swig_obj
[1] ;
23697 if (!args
) SWIG_fail
;
23698 swig_obj
[0] = args
;
23699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23700 if (!SWIG_IsOK(res1
)) {
23701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23703 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= SWIG_Py_Void();
23711 if (SWIG_IsTmpObj(res2
)) {
23712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23714 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23717 if (SWIG_IsTmpObj(res3
)) {
23718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23720 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23729 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23730 PyObject
*resultobj
= 0;
23731 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23732 int *arg2
= (int *) 0 ;
23733 int *arg3
= (int *) 0 ;
23737 int res2
= SWIG_TMPOBJ
;
23739 int res3
= SWIG_TMPOBJ
;
23740 PyObject
*swig_obj
[1] ;
23744 if (!args
) SWIG_fail
;
23745 swig_obj
[0] = args
;
23746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23747 if (!SWIG_IsOK(res1
)) {
23748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23750 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= SWIG_Py_Void();
23758 if (SWIG_IsTmpObj(res2
)) {
23759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23761 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23764 if (SWIG_IsTmpObj(res3
)) {
23765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23767 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23776 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23777 PyObject
*resultobj
= 0;
23778 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23782 PyObject
*swig_obj
[1] ;
23784 if (!args
) SWIG_fail
;
23785 swig_obj
[0] = args
;
23786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23787 if (!SWIG_IsOK(res1
)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23790 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23797 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23804 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23805 PyObject
*resultobj
= 0;
23806 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23810 PyObject
*swig_obj
[1] ;
23812 if (!args
) SWIG_fail
;
23813 swig_obj
[0] = args
;
23814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23815 if (!SWIG_IsOK(res1
)) {
23816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23818 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23832 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23833 PyObject
*resultobj
= 0;
23834 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23835 SwigValueWrapper
<wxVisualAttributes
> result
;
23838 PyObject
*swig_obj
[1] ;
23840 if (!args
) SWIG_fail
;
23841 swig_obj
[0] = args
;
23842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23843 if (!SWIG_IsOK(res1
)) {
23844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23846 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= (arg1
)->GetDefaultAttributes();
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23860 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23861 PyObject
*resultobj
= 0;
23862 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23865 PyObject
*swig_obj
[1] ;
23867 if (!args
) SWIG_fail
;
23868 swig_obj
[0] = args
;
23869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23870 if (!SWIG_IsOK(res1
)) {
23871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23873 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 (arg1
)->OnInternalIdle();
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= SWIG_Py_Void();
23887 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23890 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23891 return SWIG_Py_Void();
23894 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23895 return SWIG_Python_InitShadowInstance(args
);
23898 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23899 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23904 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23905 PyObject
*pyobj
= 0;
23909 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23911 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23918 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23919 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23924 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23925 PyObject
*pyobj
= 0;
23929 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23931 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23938 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23939 PyObject
*resultobj
= 0;
23940 wxPrintData
*result
= 0 ;
23942 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 result
= (wxPrintData
*)new wxPrintData();
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23956 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23957 PyObject
*resultobj
= 0;
23958 wxPrintData
*arg1
= 0 ;
23959 wxPrintData
*result
= 0 ;
23963 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23965 if (!SWIG_IsOK(res1
)) {
23966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23971 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23985 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23989 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23992 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23995 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23999 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
24004 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24005 PyObject
*resultobj
= 0;
24006 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24009 PyObject
*swig_obj
[1] ;
24011 if (!args
) SWIG_fail
;
24012 swig_obj
[0] = args
;
24013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
24014 if (!SWIG_IsOK(res1
)) {
24015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24017 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 resultobj
= SWIG_Py_Void();
24032 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24033 PyObject
*resultobj
= 0;
24034 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24038 PyObject
*swig_obj
[1] ;
24040 if (!args
) SWIG_fail
;
24041 swig_obj
[0] = args
;
24042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24043 if (!SWIG_IsOK(res1
)) {
24044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24046 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (int)(arg1
)->GetNoCopies();
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 resultobj
= SWIG_From_int(static_cast< int >(result
));
24060 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24061 PyObject
*resultobj
= 0;
24062 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24066 PyObject
*swig_obj
[1] ;
24068 if (!args
) SWIG_fail
;
24069 swig_obj
[0] = args
;
24070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24071 if (!SWIG_IsOK(res1
)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24074 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= (bool)(arg1
)->GetCollate();
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24090 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24091 PyObject
*resultobj
= 0;
24092 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24096 PyObject
*swig_obj
[1] ;
24098 if (!args
) SWIG_fail
;
24099 swig_obj
[0] = args
;
24100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24101 if (!SWIG_IsOK(res1
)) {
24102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24104 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 result
= (int)(arg1
)->GetOrientation();
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 resultobj
= SWIG_From_int(static_cast< int >(result
));
24118 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24119 PyObject
*resultobj
= 0;
24120 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24124 PyObject
*swig_obj
[1] ;
24126 if (!args
) SWIG_fail
;
24127 swig_obj
[0] = args
;
24128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24129 if (!SWIG_IsOK(res1
)) {
24130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24132 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24148 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24149 PyObject
*resultobj
= 0;
24150 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24154 PyObject
*swig_obj
[1] ;
24156 if (!args
) SWIG_fail
;
24157 swig_obj
[0] = args
;
24158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24159 if (!SWIG_IsOK(res1
)) {
24160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
24162 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 result
= (bool)(arg1
)->IsOk();
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24178 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24179 PyObject
*resultobj
= 0;
24180 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24181 wxString
*result
= 0 ;
24184 PyObject
*swig_obj
[1] ;
24186 if (!args
) SWIG_fail
;
24187 swig_obj
[0] = args
;
24188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24189 if (!SWIG_IsOK(res1
)) {
24190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24192 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
24197 result
= (wxString
*) &_result_ref
;
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24204 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24206 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24215 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24216 PyObject
*resultobj
= 0;
24217 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24221 PyObject
*swig_obj
[1] ;
24223 if (!args
) SWIG_fail
;
24224 swig_obj
[0] = args
;
24225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24226 if (!SWIG_IsOK(res1
)) {
24227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24229 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 result
= (bool)(arg1
)->GetColour();
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24245 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24246 PyObject
*resultobj
= 0;
24247 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24248 wxDuplexMode result
;
24251 PyObject
*swig_obj
[1] ;
24253 if (!args
) SWIG_fail
;
24254 swig_obj
[0] = args
;
24255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24256 if (!SWIG_IsOK(res1
)) {
24257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24259 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24266 resultobj
= SWIG_From_int(static_cast< int >(result
));
24273 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24274 PyObject
*resultobj
= 0;
24275 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24276 wxPaperSize result
;
24279 PyObject
*swig_obj
[1] ;
24281 if (!args
) SWIG_fail
;
24282 swig_obj
[0] = args
;
24283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24284 if (!SWIG_IsOK(res1
)) {
24285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24287 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= SWIG_From_int(static_cast< int >(result
));
24301 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24302 PyObject
*resultobj
= 0;
24303 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24304 wxSize
*result
= 0 ;
24307 PyObject
*swig_obj
[1] ;
24309 if (!args
) SWIG_fail
;
24310 swig_obj
[0] = args
;
24311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24312 if (!SWIG_IsOK(res1
)) {
24313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24315 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24320 result
= (wxSize
*) &_result_ref
;
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24332 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24333 PyObject
*resultobj
= 0;
24334 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24338 PyObject
*swig_obj
[1] ;
24340 if (!args
) SWIG_fail
;
24341 swig_obj
[0] = args
;
24342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24343 if (!SWIG_IsOK(res1
)) {
24344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24346 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 result
= (int)(arg1
)->GetQuality();
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= SWIG_From_int(static_cast< int >(result
));
24360 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24361 PyObject
*resultobj
= 0;
24362 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24366 PyObject
*swig_obj
[1] ;
24368 if (!args
) SWIG_fail
;
24369 swig_obj
[0] = args
;
24370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24371 if (!SWIG_IsOK(res1
)) {
24372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24374 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 result
= (wxPrintBin
)(arg1
)->GetBin();
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_From_int(static_cast< int >(result
));
24388 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24389 PyObject
*resultobj
= 0;
24390 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24391 wxPrintMode result
;
24394 PyObject
*swig_obj
[1] ;
24396 if (!args
) SWIG_fail
;
24397 swig_obj
[0] = args
;
24398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24399 if (!SWIG_IsOK(res1
)) {
24400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24402 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24409 resultobj
= SWIG_From_int(static_cast< int >(result
));
24416 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24417 PyObject
*resultobj
= 0;
24418 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24422 PyObject
*swig_obj
[1] ;
24424 if (!args
) SWIG_fail
;
24425 swig_obj
[0] = args
;
24426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24427 if (!SWIG_IsOK(res1
)) {
24428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24430 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= SWIG_From_int(static_cast< int >(result
));
24444 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= 0;
24446 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24452 PyObject
* obj0
= 0 ;
24453 PyObject
* obj1
= 0 ;
24454 char * kwnames
[] = {
24455 (char *) "self",(char *) "v", NULL
24458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24460 if (!SWIG_IsOK(res1
)) {
24461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24463 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24465 if (!SWIG_IsOK(ecode2
)) {
24466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24468 arg2
= static_cast< int >(val2
);
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 (arg1
)->SetNoCopies(arg2
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_Py_Void();
24482 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
= 0;
24484 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24490 PyObject
* obj0
= 0 ;
24491 PyObject
* obj1
= 0 ;
24492 char * kwnames
[] = {
24493 (char *) "self",(char *) "flag", NULL
24496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24498 if (!SWIG_IsOK(res1
)) {
24499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24501 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24502 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24503 if (!SWIG_IsOK(ecode2
)) {
24504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24506 arg2
= static_cast< bool >(val2
);
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 (arg1
)->SetCollate(arg2
);
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24513 resultobj
= SWIG_Py_Void();
24520 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24521 PyObject
*resultobj
= 0;
24522 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24528 PyObject
* obj0
= 0 ;
24529 PyObject
* obj1
= 0 ;
24530 char * kwnames
[] = {
24531 (char *) "self",(char *) "orient", NULL
24534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24539 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24541 if (!SWIG_IsOK(ecode2
)) {
24542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24544 arg2
= static_cast< int >(val2
);
24546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 (arg1
)->SetOrientation(arg2
);
24548 wxPyEndAllowThreads(__tstate
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24551 resultobj
= SWIG_Py_Void();
24558 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24559 PyObject
*resultobj
= 0;
24560 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24566 PyObject
* obj0
= 0 ;
24567 PyObject
* obj1
= 0 ;
24568 char * kwnames
[] = {
24569 (char *) "self",(char *) "reversed", NULL
24572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24574 if (!SWIG_IsOK(res1
)) {
24575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24577 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24578 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24579 if (!SWIG_IsOK(ecode2
)) {
24580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24582 arg2
= static_cast< bool >(val2
);
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 (arg1
)->SetOrientationReversed(arg2
);
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= SWIG_Py_Void();
24596 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24597 PyObject
*resultobj
= 0;
24598 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24599 wxString
*arg2
= 0 ;
24602 bool temp2
= false ;
24603 PyObject
* obj0
= 0 ;
24604 PyObject
* obj1
= 0 ;
24605 char * kwnames
[] = {
24606 (char *) "self",(char *) "name", NULL
24609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24611 if (!SWIG_IsOK(res1
)) {
24612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24614 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24616 arg2
= wxString_in_helper(obj1
);
24617 if (arg2
== NULL
) SWIG_fail
;
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= SWIG_Py_Void();
24641 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
= 0;
24643 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24649 PyObject
* obj0
= 0 ;
24650 PyObject
* obj1
= 0 ;
24651 char * kwnames
[] = {
24652 (char *) "self",(char *) "colour", NULL
24655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24657 if (!SWIG_IsOK(res1
)) {
24658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24660 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24661 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24662 if (!SWIG_IsOK(ecode2
)) {
24663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24665 arg2
= static_cast< bool >(val2
);
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 (arg1
)->SetColour(arg2
);
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24672 resultobj
= SWIG_Py_Void();
24679 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
= 0;
24681 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24682 wxDuplexMode arg2
;
24687 PyObject
* obj0
= 0 ;
24688 PyObject
* obj1
= 0 ;
24689 char * kwnames
[] = {
24690 (char *) "self",(char *) "duplex", NULL
24693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24695 if (!SWIG_IsOK(res1
)) {
24696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24698 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24700 if (!SWIG_IsOK(ecode2
)) {
24701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24703 arg2
= static_cast< wxDuplexMode
>(val2
);
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 (arg1
)->SetDuplex(arg2
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24710 resultobj
= SWIG_Py_Void();
24717 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(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 *) "sizeId", NULL
24731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",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_SetPaperId" "', 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_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24741 arg2
= static_cast< wxPaperSize
>(val2
);
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 (arg1
)->SetPaperId(arg2
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= SWIG_Py_Void();
24755 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
= 0;
24757 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24762 PyObject
* obj0
= 0 ;
24763 PyObject
* obj1
= 0 ;
24764 char * kwnames
[] = {
24765 (char *) "self",(char *) "sz", NULL
24768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24770 if (!SWIG_IsOK(res1
)) {
24771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24773 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24776 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24784 resultobj
= SWIG_Py_Void();
24791 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24792 PyObject
*resultobj
= 0;
24793 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24799 PyObject
* obj0
= 0 ;
24800 PyObject
* obj1
= 0 ;
24801 char * kwnames
[] = {
24802 (char *) "self",(char *) "quality", NULL
24805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24807 if (!SWIG_IsOK(res1
)) {
24808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24810 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24812 if (!SWIG_IsOK(ecode2
)) {
24813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24815 arg2
= static_cast< int >(val2
);
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 (arg1
)->SetQuality(arg2
);
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= SWIG_Py_Void();
24829 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
= 0;
24831 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 PyObject
* obj1
= 0 ;
24839 char * kwnames
[] = {
24840 (char *) "self",(char *) "bin", NULL
24843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24845 if (!SWIG_IsOK(res1
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24848 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24850 if (!SWIG_IsOK(ecode2
)) {
24851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24853 arg2
= static_cast< wxPrintBin
>(val2
);
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 (arg1
)->SetBin(arg2
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= SWIG_Py_Void();
24867 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
= 0;
24869 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24875 PyObject
* obj0
= 0 ;
24876 PyObject
* obj1
= 0 ;
24877 char * kwnames
[] = {
24878 (char *) "self",(char *) "printMode", NULL
24881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24883 if (!SWIG_IsOK(res1
)) {
24884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24886 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24888 if (!SWIG_IsOK(ecode2
)) {
24889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24891 arg2
= static_cast< wxPrintMode
>(val2
);
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 (arg1
)->SetPrintMode(arg2
);
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24898 resultobj
= SWIG_Py_Void();
24905 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24906 PyObject
*resultobj
= 0;
24907 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24913 PyObject
* obj0
= 0 ;
24914 PyObject
* obj1
= 0 ;
24915 char * kwnames
[] = {
24916 (char *) "self",(char *) "media", NULL
24919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24921 if (!SWIG_IsOK(res1
)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24924 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24926 if (!SWIG_IsOK(ecode2
)) {
24927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24929 arg2
= static_cast< int >(val2
);
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 (arg1
)->SetMedia(arg2
);
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24936 resultobj
= SWIG_Py_Void();
24943 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24944 PyObject
*resultobj
= 0;
24945 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24949 PyObject
*swig_obj
[1] ;
24951 if (!args
) SWIG_fail
;
24952 swig_obj
[0] = args
;
24953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24954 if (!SWIG_IsOK(res1
)) {
24955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24957 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24977 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
= 0;
24979 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24980 wxString
*arg2
= 0 ;
24983 bool temp2
= false ;
24984 PyObject
* obj0
= 0 ;
24985 PyObject
* obj1
= 0 ;
24986 char * kwnames
[] = {
24987 (char *) "self",(char *) "filename", NULL
24990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24992 if (!SWIG_IsOK(res1
)) {
24993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24995 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24997 arg2
= wxString_in_helper(obj1
);
24998 if (arg2
== NULL
) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 (arg1
)->SetFilename((wxString
const &)*arg2
);
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25007 resultobj
= SWIG_Py_Void();
25022 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25023 PyObject
*resultobj
= 0;
25024 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25025 PyObject
*result
= 0 ;
25028 PyObject
*swig_obj
[1] ;
25030 if (!args
) SWIG_fail
;
25031 swig_obj
[0] = args
;
25032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
25033 if (!SWIG_IsOK(res1
)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25036 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= result
;
25050 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
= 0;
25052 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
25053 PyObject
*arg2
= (PyObject
*) 0 ;
25056 PyObject
* obj0
= 0 ;
25057 PyObject
* obj1
= 0 ;
25058 char * kwnames
[] = {
25059 (char *) "self",(char *) "data", NULL
25062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
25064 if (!SWIG_IsOK(res1
)) {
25065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
25067 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 wxPrintData_SetPrivData(arg1
,arg2
);
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= SWIG_Py_Void();
25082 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25085 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
25086 return SWIG_Py_Void();
25089 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25090 return SWIG_Python_InitShadowInstance(args
);
25093 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25094 PyObject
*resultobj
= 0;
25095 wxPageSetupDialogData
*result
= 0 ;
25097 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
25101 wxPyEndAllowThreads(__tstate
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25111 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25112 PyObject
*resultobj
= 0;
25113 wxPageSetupDialogData
*arg1
= 0 ;
25114 wxPageSetupDialogData
*result
= 0 ;
25118 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
25120 if (!SWIG_IsOK(res1
)) {
25121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25126 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25140 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25141 PyObject
*resultobj
= 0;
25142 wxPrintData
*arg1
= 0 ;
25143 wxPageSetupDialogData
*result
= 0 ;
25147 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25149 if (!SWIG_IsOK(res1
)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25155 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25169 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
25173 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
25176 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
25181 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
25182 _v
= SWIG_CheckState(res
);
25184 if (!_v
) goto check_2
;
25185 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
25190 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
25194 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
25199 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25200 PyObject
*resultobj
= 0;
25201 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25204 PyObject
*swig_obj
[1] ;
25206 if (!args
) SWIG_fail
;
25207 swig_obj
[0] = args
;
25208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25212 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_Py_Void();
25227 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
= 0;
25229 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25235 PyObject
* obj0
= 0 ;
25236 PyObject
* obj1
= 0 ;
25237 char * kwnames
[] = {
25238 (char *) "self",(char *) "flag", NULL
25241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25243 if (!SWIG_IsOK(res1
)) {
25244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25246 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25247 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25248 if (!SWIG_IsOK(ecode2
)) {
25249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25251 arg2
= static_cast< bool >(val2
);
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 (arg1
)->EnableHelp(arg2
);
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 resultobj
= SWIG_Py_Void();
25265 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
= 0;
25267 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 char * kwnames
[] = {
25276 (char *) "self",(char *) "flag", NULL
25279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25284 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25285 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25286 if (!SWIG_IsOK(ecode2
)) {
25287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25289 arg2
= static_cast< bool >(val2
);
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 (arg1
)->EnableMargins(arg2
);
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= SWIG_Py_Void();
25303 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
= 0;
25305 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25311 PyObject
* obj0
= 0 ;
25312 PyObject
* obj1
= 0 ;
25313 char * kwnames
[] = {
25314 (char *) "self",(char *) "flag", NULL
25317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25319 if (!SWIG_IsOK(res1
)) {
25320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25322 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25323 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25324 if (!SWIG_IsOK(ecode2
)) {
25325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25327 arg2
= static_cast< bool >(val2
);
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 (arg1
)->EnableOrientation(arg2
);
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25334 resultobj
= SWIG_Py_Void();
25341 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
= 0;
25343 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25349 PyObject
* obj0
= 0 ;
25350 PyObject
* obj1
= 0 ;
25351 char * kwnames
[] = {
25352 (char *) "self",(char *) "flag", NULL
25355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25357 if (!SWIG_IsOK(res1
)) {
25358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25360 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25361 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25362 if (!SWIG_IsOK(ecode2
)) {
25363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25365 arg2
= static_cast< bool >(val2
);
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 (arg1
)->EnablePaper(arg2
);
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= SWIG_Py_Void();
25379 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
= 0;
25381 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25387 PyObject
* obj0
= 0 ;
25388 PyObject
* obj1
= 0 ;
25389 char * kwnames
[] = {
25390 (char *) "self",(char *) "flag", NULL
25393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25395 if (!SWIG_IsOK(res1
)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25398 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25399 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25400 if (!SWIG_IsOK(ecode2
)) {
25401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25403 arg2
= static_cast< bool >(val2
);
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 (arg1
)->EnablePrinter(arg2
);
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= SWIG_Py_Void();
25417 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25418 PyObject
*resultobj
= 0;
25419 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25423 PyObject
*swig_obj
[1] ;
25425 if (!args
) SWIG_fail
;
25426 swig_obj
[0] = args
;
25427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25428 if (!SWIG_IsOK(res1
)) {
25429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25431 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25434 result
= (bool)(arg1
)->GetDefaultMinMargins();
25435 wxPyEndAllowThreads(__tstate
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25447 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25448 PyObject
*resultobj
= 0;
25449 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25453 PyObject
*swig_obj
[1] ;
25455 if (!args
) SWIG_fail
;
25456 swig_obj
[0] = args
;
25457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25458 if (!SWIG_IsOK(res1
)) {
25459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25461 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 result
= (bool)(arg1
)->GetEnableMargins();
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25477 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25478 PyObject
*resultobj
= 0;
25479 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25483 PyObject
*swig_obj
[1] ;
25485 if (!args
) SWIG_fail
;
25486 swig_obj
[0] = args
;
25487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25488 if (!SWIG_IsOK(res1
)) {
25489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25491 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 result
= (bool)(arg1
)->GetEnableOrientation();
25495 wxPyEndAllowThreads(__tstate
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25507 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25508 PyObject
*resultobj
= 0;
25509 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25513 PyObject
*swig_obj
[1] ;
25515 if (!args
) SWIG_fail
;
25516 swig_obj
[0] = args
;
25517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25518 if (!SWIG_IsOK(res1
)) {
25519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25521 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 result
= (bool)(arg1
)->GetEnablePaper();
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25537 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25538 PyObject
*resultobj
= 0;
25539 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25543 PyObject
*swig_obj
[1] ;
25545 if (!args
) SWIG_fail
;
25546 swig_obj
[0] = args
;
25547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25548 if (!SWIG_IsOK(res1
)) {
25549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25551 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 result
= (bool)(arg1
)->GetEnablePrinter();
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25567 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25568 PyObject
*resultobj
= 0;
25569 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25573 PyObject
*swig_obj
[1] ;
25575 if (!args
) SWIG_fail
;
25576 swig_obj
[0] = args
;
25577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25578 if (!SWIG_IsOK(res1
)) {
25579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25581 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 result
= (bool)(arg1
)->GetEnableHelp();
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25597 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25598 PyObject
*resultobj
= 0;
25599 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25603 PyObject
*swig_obj
[1] ;
25605 if (!args
) SWIG_fail
;
25606 swig_obj
[0] = args
;
25607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25608 if (!SWIG_IsOK(res1
)) {
25609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25611 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 result
= (bool)(arg1
)->GetDefaultInfo();
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25627 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25628 PyObject
*resultobj
= 0;
25629 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25633 PyObject
*swig_obj
[1] ;
25635 if (!args
) SWIG_fail
;
25636 swig_obj
[0] = args
;
25637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25638 if (!SWIG_IsOK(res1
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25641 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= (arg1
)->GetMarginTopLeft();
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25648 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25655 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25656 PyObject
*resultobj
= 0;
25657 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25661 PyObject
*swig_obj
[1] ;
25663 if (!args
) SWIG_fail
;
25664 swig_obj
[0] = args
;
25665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25666 if (!SWIG_IsOK(res1
)) {
25667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25669 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25672 result
= (arg1
)->GetMarginBottomRight();
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25676 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25683 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25684 PyObject
*resultobj
= 0;
25685 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25689 PyObject
*swig_obj
[1] ;
25691 if (!args
) SWIG_fail
;
25692 swig_obj
[0] = args
;
25693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25694 if (!SWIG_IsOK(res1
)) {
25695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25697 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 result
= (arg1
)->GetMinMarginTopLeft();
25701 wxPyEndAllowThreads(__tstate
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25704 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25711 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25712 PyObject
*resultobj
= 0;
25713 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25717 PyObject
*swig_obj
[1] ;
25719 if (!args
) SWIG_fail
;
25720 swig_obj
[0] = args
;
25721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25722 if (!SWIG_IsOK(res1
)) {
25723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25725 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 result
= (arg1
)->GetMinMarginBottomRight();
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25732 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25739 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25740 PyObject
*resultobj
= 0;
25741 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25742 wxPaperSize result
;
25745 PyObject
*swig_obj
[1] ;
25747 if (!args
) SWIG_fail
;
25748 swig_obj
[0] = args
;
25749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25750 if (!SWIG_IsOK(res1
)) {
25751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25753 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= SWIG_From_int(static_cast< int >(result
));
25767 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25768 PyObject
*resultobj
= 0;
25769 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25773 PyObject
*swig_obj
[1] ;
25775 if (!args
) SWIG_fail
;
25776 swig_obj
[0] = args
;
25777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25778 if (!SWIG_IsOK(res1
)) {
25779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25781 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 result
= (arg1
)->GetPaperSize();
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25795 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25796 PyObject
*resultobj
= 0;
25797 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25798 wxPrintData
*result
= 0 ;
25801 PyObject
*swig_obj
[1] ;
25803 if (!args
) SWIG_fail
;
25804 swig_obj
[0] = args
;
25805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25806 if (!SWIG_IsOK(res1
)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25809 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25814 result
= (wxPrintData
*) &_result_ref
;
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25826 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25827 PyObject
*resultobj
= 0;
25828 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25832 PyObject
*swig_obj
[1] ;
25834 if (!args
) SWIG_fail
;
25835 swig_obj
[0] = args
;
25836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25837 if (!SWIG_IsOK(res1
)) {
25838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25840 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= (bool)(arg1
)->IsOk();
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25856 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
= 0;
25858 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25864 PyObject
* obj0
= 0 ;
25865 PyObject
* obj1
= 0 ;
25866 char * kwnames
[] = {
25867 (char *) "self",(char *) "flag", NULL
25870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25872 if (!SWIG_IsOK(res1
)) {
25873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25875 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25876 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25877 if (!SWIG_IsOK(ecode2
)) {
25878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25880 arg2
= static_cast< bool >(val2
);
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 (arg1
)->SetDefaultInfo(arg2
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 resultobj
= SWIG_Py_Void();
25894 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
= 0;
25896 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25902 PyObject
* obj0
= 0 ;
25903 PyObject
* obj1
= 0 ;
25904 char * kwnames
[] = {
25905 (char *) "self",(char *) "flag", NULL
25908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25910 if (!SWIG_IsOK(res1
)) {
25911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25913 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25914 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25915 if (!SWIG_IsOK(ecode2
)) {
25916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25918 arg2
= static_cast< bool >(val2
);
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 (arg1
)->SetDefaultMinMargins(arg2
);
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25925 resultobj
= SWIG_Py_Void();
25932 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
= 0;
25934 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25935 wxPoint
*arg2
= 0 ;
25939 PyObject
* obj0
= 0 ;
25940 PyObject
* obj1
= 0 ;
25941 char * kwnames
[] = {
25942 (char *) "self",(char *) "pt", NULL
25945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25947 if (!SWIG_IsOK(res1
)) {
25948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25950 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25953 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25958 wxPyEndAllowThreads(__tstate
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25961 resultobj
= SWIG_Py_Void();
25968 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
= 0;
25970 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25971 wxPoint
*arg2
= 0 ;
25975 PyObject
* obj0
= 0 ;
25976 PyObject
* obj1
= 0 ;
25977 char * kwnames
[] = {
25978 (char *) "self",(char *) "pt", NULL
25981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25983 if (!SWIG_IsOK(res1
)) {
25984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25986 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25989 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25997 resultobj
= SWIG_Py_Void();
26004 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
= 0;
26006 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26007 wxPoint
*arg2
= 0 ;
26011 PyObject
* obj0
= 0 ;
26012 PyObject
* obj1
= 0 ;
26013 char * kwnames
[] = {
26014 (char *) "self",(char *) "pt", NULL
26017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26019 if (!SWIG_IsOK(res1
)) {
26020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26022 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26025 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_Py_Void();
26040 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
= 0;
26042 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26043 wxPoint
*arg2
= 0 ;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 char * kwnames
[] = {
26050 (char *) "self",(char *) "pt", NULL
26053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",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_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26058 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26061 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_Py_Void();
26076 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
= 0;
26078 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26084 PyObject
* obj0
= 0 ;
26085 PyObject
* obj1
= 0 ;
26086 char * kwnames
[] = {
26087 (char *) "self",(char *) "id", NULL
26090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",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_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26095 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26097 if (!SWIG_IsOK(ecode2
)) {
26098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26100 arg2
= static_cast< wxPaperSize
>(val2
);
26102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26103 (arg1
)->SetPaperId(arg2
);
26104 wxPyEndAllowThreads(__tstate
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26107 resultobj
= SWIG_Py_Void();
26114 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26115 PyObject
*resultobj
= 0;
26116 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26121 PyObject
* obj0
= 0 ;
26122 PyObject
* obj1
= 0 ;
26123 char * kwnames
[] = {
26124 (char *) "self",(char *) "size", NULL
26127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26129 if (!SWIG_IsOK(res1
)) {
26130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26132 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26135 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 resultobj
= SWIG_Py_Void();
26150 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
= 0;
26152 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26153 wxPrintData
*arg2
= 0 ;
26158 PyObject
* obj0
= 0 ;
26159 PyObject
* obj1
= 0 ;
26160 char * kwnames
[] = {
26161 (char *) "self",(char *) "printData", NULL
26164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26166 if (!SWIG_IsOK(res1
)) {
26167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26169 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26170 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26171 if (!SWIG_IsOK(res2
)) {
26172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26177 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26180 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= SWIG_Py_Void();
26191 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26192 PyObject
*resultobj
= 0;
26193 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26196 PyObject
*swig_obj
[1] ;
26198 if (!args
) SWIG_fail
;
26199 swig_obj
[0] = args
;
26200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26201 if (!SWIG_IsOK(res1
)) {
26202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26204 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 (arg1
)->CalculateIdFromPaperSize();
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= SWIG_Py_Void();
26218 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26219 PyObject
*resultobj
= 0;
26220 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26223 PyObject
*swig_obj
[1] ;
26225 if (!args
) SWIG_fail
;
26226 swig_obj
[0] = args
;
26227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26228 if (!SWIG_IsOK(res1
)) {
26229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26231 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 (arg1
)->CalculatePaperSizeFromId();
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= SWIG_Py_Void();
26245 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26248 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
26249 return SWIG_Py_Void();
26252 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26253 return SWIG_Python_InitShadowInstance(args
);
26256 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26257 PyObject
*resultobj
= 0;
26258 wxWindow
*arg1
= (wxWindow
*) 0 ;
26259 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
26260 wxPageSetupDialog
*result
= 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 char * kwnames
[] = {
26268 (char *) "parent",(char *) "data", NULL
26271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26273 if (!SWIG_IsOK(res1
)) {
26274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26276 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26278 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26279 if (!SWIG_IsOK(res2
)) {
26280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26282 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26285 if (!wxPyCheckForApp()) SWIG_fail
;
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26298 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26299 PyObject
*resultobj
= 0;
26300 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26303 PyObject
*swig_obj
[1] ;
26305 if (!args
) SWIG_fail
;
26306 swig_obj
[0] = args
;
26307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26308 if (!SWIG_IsOK(res1
)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26311 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 resultobj
= SWIG_Py_Void();
26326 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26327 PyObject
*resultobj
= 0;
26328 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26329 wxPageSetupDialogData
*result
= 0 ;
26332 PyObject
*swig_obj
[1] ;
26334 if (!args
) SWIG_fail
;
26335 swig_obj
[0] = args
;
26336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26337 if (!SWIG_IsOK(res1
)) {
26338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26340 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26345 result
= (wxPageSetupDialogData
*) &_result_ref
;
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26357 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26358 PyObject
*resultobj
= 0;
26359 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26360 wxPageSetupDialogData
*result
= 0 ;
26363 PyObject
*swig_obj
[1] ;
26365 if (!args
) SWIG_fail
;
26366 swig_obj
[0] = args
;
26367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26368 if (!SWIG_IsOK(res1
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26371 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26376 result
= (wxPageSetupDialogData
*) &_result_ref
;
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26388 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26389 PyObject
*resultobj
= 0;
26390 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26394 PyObject
*swig_obj
[1] ;
26396 if (!args
) SWIG_fail
;
26397 swig_obj
[0] = args
;
26398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26399 if (!SWIG_IsOK(res1
)) {
26400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26402 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 result
= (int)(arg1
)->ShowModal();
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_From_int(static_cast< int >(result
));
26416 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26418 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26419 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26420 return SWIG_Py_Void();
26423 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26424 return SWIG_Python_InitShadowInstance(args
);
26427 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26428 PyObject
*resultobj
= 0;
26429 wxPrintDialogData
*result
= 0 ;
26431 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26445 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26446 PyObject
*resultobj
= 0;
26447 wxPrintData
*arg1
= 0 ;
26448 wxPrintDialogData
*result
= 0 ;
26452 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26454 if (!SWIG_IsOK(res1
)) {
26455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26460 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26464 wxPyEndAllowThreads(__tstate
);
26465 if (PyErr_Occurred()) SWIG_fail
;
26467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26474 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26475 PyObject
*resultobj
= 0;
26476 wxPrintDialogData
*arg1
= 0 ;
26477 wxPrintDialogData
*result
= 0 ;
26481 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26483 if (!SWIG_IsOK(res1
)) {
26484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26489 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26503 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26507 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26510 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26515 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26516 _v
= SWIG_CheckState(res
);
26518 if (!_v
) goto check_2
;
26519 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26524 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26528 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26533 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26534 PyObject
*resultobj
= 0;
26535 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26538 PyObject
*swig_obj
[1] ;
26540 if (!args
) SWIG_fail
;
26541 swig_obj
[0] = args
;
26542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26543 if (!SWIG_IsOK(res1
)) {
26544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26546 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 resultobj
= SWIG_Py_Void();
26561 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26562 PyObject
*resultobj
= 0;
26563 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26567 PyObject
*swig_obj
[1] ;
26569 if (!args
) SWIG_fail
;
26570 swig_obj
[0] = args
;
26571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26572 if (!SWIG_IsOK(res1
)) {
26573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26575 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26579 wxPyEndAllowThreads(__tstate
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= SWIG_From_int(static_cast< int >(result
));
26589 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26590 PyObject
*resultobj
= 0;
26591 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26595 PyObject
*swig_obj
[1] ;
26597 if (!args
) SWIG_fail
;
26598 swig_obj
[0] = args
;
26599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26600 if (!SWIG_IsOK(res1
)) {
26601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26603 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26606 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26607 wxPyEndAllowThreads(__tstate
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26610 resultobj
= SWIG_From_int(static_cast< int >(result
));
26617 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26618 PyObject
*resultobj
= 0;
26619 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26623 PyObject
*swig_obj
[1] ;
26625 if (!args
) SWIG_fail
;
26626 swig_obj
[0] = args
;
26627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26628 if (!SWIG_IsOK(res1
)) {
26629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26631 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26634 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26635 wxPyEndAllowThreads(__tstate
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= SWIG_From_int(static_cast< int >(result
));
26645 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26646 PyObject
*resultobj
= 0;
26647 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26651 PyObject
*swig_obj
[1] ;
26653 if (!args
) SWIG_fail
;
26654 swig_obj
[0] = args
;
26655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26656 if (!SWIG_IsOK(res1
)) {
26657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26659 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 resultobj
= SWIG_From_int(static_cast< int >(result
));
26673 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26674 PyObject
*resultobj
= 0;
26675 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26679 PyObject
*swig_obj
[1] ;
26681 if (!args
) SWIG_fail
;
26682 swig_obj
[0] = args
;
26683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26684 if (!SWIG_IsOK(res1
)) {
26685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26687 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 resultobj
= SWIG_From_int(static_cast< int >(result
));
26701 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26702 PyObject
*resultobj
= 0;
26703 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26707 PyObject
*swig_obj
[1] ;
26709 if (!args
) SWIG_fail
;
26710 swig_obj
[0] = args
;
26711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26712 if (!SWIG_IsOK(res1
)) {
26713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26715 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26718 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26731 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26732 PyObject
*resultobj
= 0;
26733 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26737 PyObject
*swig_obj
[1] ;
26739 if (!args
) SWIG_fail
;
26740 swig_obj
[0] = args
;
26741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26742 if (!SWIG_IsOK(res1
)) {
26743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26745 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26761 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26762 PyObject
*resultobj
= 0;
26763 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26767 PyObject
*swig_obj
[1] ;
26769 if (!args
) SWIG_fail
;
26770 swig_obj
[0] = args
;
26771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26772 if (!SWIG_IsOK(res1
)) {
26773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26775 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26779 wxPyEndAllowThreads(__tstate
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26791 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26792 PyObject
*resultobj
= 0;
26793 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26797 PyObject
*swig_obj
[1] ;
26799 if (!args
) SWIG_fail
;
26800 swig_obj
[0] = args
;
26801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26802 if (!SWIG_IsOK(res1
)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26805 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26821 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
= 0;
26823 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 char * kwnames
[] = {
26832 (char *) "self",(char *) "v", NULL
26835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26837 if (!SWIG_IsOK(res1
)) {
26838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26840 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26842 if (!SWIG_IsOK(ecode2
)) {
26843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26845 arg2
= static_cast< int >(val2
);
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26848 (arg1
)->SetFromPage(arg2
);
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26852 resultobj
= SWIG_Py_Void();
26859 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
= 0;
26861 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26867 PyObject
* obj0
= 0 ;
26868 PyObject
* obj1
= 0 ;
26869 char * kwnames
[] = {
26870 (char *) "self",(char *) "v", NULL
26873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26875 if (!SWIG_IsOK(res1
)) {
26876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26878 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26880 if (!SWIG_IsOK(ecode2
)) {
26881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26883 arg2
= static_cast< int >(val2
);
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 (arg1
)->SetToPage(arg2
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= SWIG_Py_Void();
26897 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
= 0;
26899 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char * kwnames
[] = {
26908 (char *) "self",(char *) "v", NULL
26911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26913 if (!SWIG_IsOK(res1
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26916 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26918 if (!SWIG_IsOK(ecode2
)) {
26919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26921 arg2
= static_cast< int >(val2
);
26923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26924 (arg1
)->SetMinPage(arg2
);
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26928 resultobj
= SWIG_Py_Void();
26935 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
= 0;
26937 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26943 PyObject
* obj0
= 0 ;
26944 PyObject
* obj1
= 0 ;
26945 char * kwnames
[] = {
26946 (char *) "self",(char *) "v", NULL
26949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26951 if (!SWIG_IsOK(res1
)) {
26952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26954 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26956 if (!SWIG_IsOK(ecode2
)) {
26957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26959 arg2
= static_cast< int >(val2
);
26961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 (arg1
)->SetMaxPage(arg2
);
26963 wxPyEndAllowThreads(__tstate
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26966 resultobj
= SWIG_Py_Void();
26973 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26974 PyObject
*resultobj
= 0;
26975 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 char * kwnames
[] = {
26984 (char *) "self",(char *) "v", NULL
26987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26989 if (!SWIG_IsOK(res1
)) {
26990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26992 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26994 if (!SWIG_IsOK(ecode2
)) {
26995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26997 arg2
= static_cast< int >(val2
);
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 (arg1
)->SetNoCopies(arg2
);
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 resultobj
= SWIG_Py_Void();
27011 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
= 0;
27013 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27019 PyObject
* obj0
= 0 ;
27020 PyObject
* obj1
= 0 ;
27021 char * kwnames
[] = {
27022 (char *) "self",(char *) "flag", NULL
27025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27027 if (!SWIG_IsOK(res1
)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27030 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27031 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27032 if (!SWIG_IsOK(ecode2
)) {
27033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
27035 arg2
= static_cast< bool >(val2
);
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 (arg1
)->SetAllPages(arg2
);
27039 wxPyEndAllowThreads(__tstate
);
27040 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= SWIG_Py_Void();
27049 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27050 PyObject
*resultobj
= 0;
27051 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 char * kwnames
[] = {
27060 (char *) "self",(char *) "flag", NULL
27063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27065 if (!SWIG_IsOK(res1
)) {
27066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27068 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27069 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27070 if (!SWIG_IsOK(ecode2
)) {
27071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
27073 arg2
= static_cast< bool >(val2
);
27075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27076 (arg1
)->SetSelection(arg2
);
27077 wxPyEndAllowThreads(__tstate
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= SWIG_Py_Void();
27087 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27088 PyObject
*resultobj
= 0;
27089 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27095 PyObject
* obj0
= 0 ;
27096 PyObject
* obj1
= 0 ;
27097 char * kwnames
[] = {
27098 (char *) "self",(char *) "flag", NULL
27101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27103 if (!SWIG_IsOK(res1
)) {
27104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27106 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27107 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27108 if (!SWIG_IsOK(ecode2
)) {
27109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
27111 arg2
= static_cast< bool >(val2
);
27113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27114 (arg1
)->SetCollate(arg2
);
27115 wxPyEndAllowThreads(__tstate
);
27116 if (PyErr_Occurred()) SWIG_fail
;
27118 resultobj
= SWIG_Py_Void();
27125 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27126 PyObject
*resultobj
= 0;
27127 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27133 PyObject
* obj0
= 0 ;
27134 PyObject
* obj1
= 0 ;
27135 char * kwnames
[] = {
27136 (char *) "self",(char *) "flag", NULL
27139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27141 if (!SWIG_IsOK(res1
)) {
27142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27144 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27145 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27146 if (!SWIG_IsOK(ecode2
)) {
27147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27149 arg2
= static_cast< bool >(val2
);
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27152 (arg1
)->SetPrintToFile(arg2
);
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27156 resultobj
= SWIG_Py_Void();
27163 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27164 PyObject
*resultobj
= 0;
27165 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27171 PyObject
* obj0
= 0 ;
27172 PyObject
* obj1
= 0 ;
27173 char * kwnames
[] = {
27174 (char *) "self",(char *) "flag", NULL
27177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27179 if (!SWIG_IsOK(res1
)) {
27180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27182 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27183 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27184 if (!SWIG_IsOK(ecode2
)) {
27185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27187 arg2
= static_cast< bool >(val2
);
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 (arg1
)->EnablePrintToFile(arg2
);
27191 wxPyEndAllowThreads(__tstate
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27194 resultobj
= SWIG_Py_Void();
27201 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27202 PyObject
*resultobj
= 0;
27203 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 char * kwnames
[] = {
27212 (char *) "self",(char *) "flag", NULL
27215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27217 if (!SWIG_IsOK(res1
)) {
27218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27220 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27221 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27222 if (!SWIG_IsOK(ecode2
)) {
27223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27225 arg2
= static_cast< bool >(val2
);
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 (arg1
)->EnableSelection(arg2
);
27229 wxPyEndAllowThreads(__tstate
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27232 resultobj
= SWIG_Py_Void();
27239 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27240 PyObject
*resultobj
= 0;
27241 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27247 PyObject
* obj0
= 0 ;
27248 PyObject
* obj1
= 0 ;
27249 char * kwnames
[] = {
27250 (char *) "self",(char *) "flag", NULL
27253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27258 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27259 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27260 if (!SWIG_IsOK(ecode2
)) {
27261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27263 arg2
= static_cast< bool >(val2
);
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27266 (arg1
)->EnablePageNumbers(arg2
);
27267 wxPyEndAllowThreads(__tstate
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= SWIG_Py_Void();
27277 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
= 0;
27279 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 char * kwnames
[] = {
27288 (char *) "self",(char *) "flag", NULL
27291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27293 if (!SWIG_IsOK(res1
)) {
27294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27296 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27297 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27298 if (!SWIG_IsOK(ecode2
)) {
27299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27301 arg2
= static_cast< bool >(val2
);
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 (arg1
)->EnableHelp(arg2
);
27305 wxPyEndAllowThreads(__tstate
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= SWIG_Py_Void();
27315 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27316 PyObject
*resultobj
= 0;
27317 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27321 PyObject
*swig_obj
[1] ;
27323 if (!args
) SWIG_fail
;
27324 swig_obj
[0] = args
;
27325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27326 if (!SWIG_IsOK(res1
)) {
27327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27329 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27345 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27346 PyObject
*resultobj
= 0;
27347 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27351 PyObject
*swig_obj
[1] ;
27353 if (!args
) SWIG_fail
;
27354 swig_obj
[0] = args
;
27355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27356 if (!SWIG_IsOK(res1
)) {
27357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27359 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27375 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27376 PyObject
*resultobj
= 0;
27377 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27381 PyObject
*swig_obj
[1] ;
27383 if (!args
) SWIG_fail
;
27384 swig_obj
[0] = args
;
27385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27386 if (!SWIG_IsOK(res1
)) {
27387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27389 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27392 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27405 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27406 PyObject
*resultobj
= 0;
27407 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27411 PyObject
*swig_obj
[1] ;
27413 if (!args
) SWIG_fail
;
27414 swig_obj
[0] = args
;
27415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27416 if (!SWIG_IsOK(res1
)) {
27417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27419 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27423 wxPyEndAllowThreads(__tstate
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27435 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27436 PyObject
*resultobj
= 0;
27437 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27441 PyObject
*swig_obj
[1] ;
27443 if (!args
) SWIG_fail
;
27444 swig_obj
[0] = args
;
27445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27446 if (!SWIG_IsOK(res1
)) {
27447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27449 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27465 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27466 PyObject
*resultobj
= 0;
27467 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27468 wxPrintData
*result
= 0 ;
27471 PyObject
*swig_obj
[1] ;
27473 if (!args
) SWIG_fail
;
27474 swig_obj
[0] = args
;
27475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27476 if (!SWIG_IsOK(res1
)) {
27477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27479 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27484 result
= (wxPrintData
*) &_result_ref
;
27486 wxPyEndAllowThreads(__tstate
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27496 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27497 PyObject
*resultobj
= 0;
27498 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27499 wxPrintData
*arg2
= 0 ;
27504 PyObject
* obj0
= 0 ;
27505 PyObject
* obj1
= 0 ;
27506 char * kwnames
[] = {
27507 (char *) "self",(char *) "printData", NULL
27510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27512 if (!SWIG_IsOK(res1
)) {
27513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27515 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27516 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27517 if (!SWIG_IsOK(res2
)) {
27518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27523 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= SWIG_Py_Void();
27537 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27540 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27541 return SWIG_Py_Void();
27544 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27545 return SWIG_Python_InitShadowInstance(args
);
27548 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27549 PyObject
*resultobj
= 0;
27550 wxWindow
*arg1
= (wxWindow
*) 0 ;
27551 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27552 wxPrintDialog
*result
= 0 ;
27557 PyObject
* obj0
= 0 ;
27558 PyObject
* obj1
= 0 ;
27559 char * kwnames
[] = {
27560 (char *) "parent",(char *) "data", NULL
27563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27565 if (!SWIG_IsOK(res1
)) {
27566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27568 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27571 if (!SWIG_IsOK(res2
)) {
27572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27574 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27577 if (!wxPyCheckForApp()) SWIG_fail
;
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27590 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27591 PyObject
*resultobj
= 0;
27592 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27595 PyObject
*swig_obj
[1] ;
27597 if (!args
) SWIG_fail
;
27598 swig_obj
[0] = args
;
27599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27600 if (!SWIG_IsOK(res1
)) {
27601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27603 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27611 resultobj
= SWIG_Py_Void();
27618 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27619 PyObject
*resultobj
= 0;
27620 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27624 PyObject
*swig_obj
[1] ;
27626 if (!args
) SWIG_fail
;
27627 swig_obj
[0] = args
;
27628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27629 if (!SWIG_IsOK(res1
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27632 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 result
= (int)(arg1
)->ShowModal();
27636 wxPyEndAllowThreads(__tstate
);
27637 if (PyErr_Occurred()) SWIG_fail
;
27639 resultobj
= SWIG_From_int(static_cast< int >(result
));
27646 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27647 PyObject
*resultobj
= 0;
27648 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27649 wxPrintDialogData
*result
= 0 ;
27652 PyObject
*swig_obj
[1] ;
27654 if (!args
) SWIG_fail
;
27655 swig_obj
[0] = args
;
27656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27657 if (!SWIG_IsOK(res1
)) {
27658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27660 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27664 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27665 result
= (wxPrintDialogData
*) &_result_ref
;
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27677 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27678 PyObject
*resultobj
= 0;
27679 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27680 wxPrintData
*result
= 0 ;
27683 PyObject
*swig_obj
[1] ;
27685 if (!args
) SWIG_fail
;
27686 swig_obj
[0] = args
;
27687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27688 if (!SWIG_IsOK(res1
)) {
27689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27691 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27696 result
= (wxPrintData
*) &_result_ref
;
27698 wxPyEndAllowThreads(__tstate
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27708 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27709 PyObject
*resultobj
= 0;
27710 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27714 PyObject
*swig_obj
[1] ;
27716 if (!args
) SWIG_fail
;
27717 swig_obj
[0] = args
;
27718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27719 if (!SWIG_IsOK(res1
)) {
27720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27722 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 result
= (wxDC
*)(arg1
)->GetPrintDC();
27726 wxPyEndAllowThreads(__tstate
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27730 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27738 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27740 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27741 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27742 return SWIG_Py_Void();
27745 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27746 return SWIG_Python_InitShadowInstance(args
);
27749 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27750 PyObject
*resultobj
= 0;
27751 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27752 wxPrinter
*result
= 0 ;
27755 PyObject
* obj0
= 0 ;
27756 char * kwnames
[] = {
27757 (char *) "data", NULL
27760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27763 if (!SWIG_IsOK(res1
)) {
27764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27766 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27769 if (!wxPyCheckForApp()) SWIG_fail
;
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 result
= (wxPrinter
*)new wxPrinter(arg1
);
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27782 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27783 PyObject
*resultobj
= 0;
27784 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27787 PyObject
*swig_obj
[1] ;
27789 if (!args
) SWIG_fail
;
27790 swig_obj
[0] = args
;
27791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27792 if (!SWIG_IsOK(res1
)) {
27793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27795 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 wxPyEndAllowThreads(__tstate
);
27801 if (PyErr_Occurred()) SWIG_fail
;
27803 resultobj
= SWIG_Py_Void();
27810 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27811 PyObject
*resultobj
= 0;
27812 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27813 wxWindow
*arg2
= (wxWindow
*) 0 ;
27814 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27815 wxWindow
*result
= 0 ;
27822 PyObject
* obj0
= 0 ;
27823 PyObject
* obj1
= 0 ;
27824 PyObject
* obj2
= 0 ;
27825 char * kwnames
[] = {
27826 (char *) "self",(char *) "parent",(char *) "printout", NULL
27829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27831 if (!SWIG_IsOK(res1
)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27834 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27836 if (!SWIG_IsOK(res2
)) {
27837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27839 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27840 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27841 if (!SWIG_IsOK(res3
)) {
27842 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27844 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27852 resultobj
= wxPyMake_wxObject(result
, 0);
27860 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27861 PyObject
*resultobj
= 0;
27862 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27863 wxWindow
*arg2
= (wxWindow
*) 0 ;
27864 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27865 wxString
*arg4
= 0 ;
27872 bool temp4
= false ;
27873 PyObject
* obj0
= 0 ;
27874 PyObject
* obj1
= 0 ;
27875 PyObject
* obj2
= 0 ;
27876 PyObject
* obj3
= 0 ;
27877 char * kwnames
[] = {
27878 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27883 if (!SWIG_IsOK(res1
)) {
27884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27886 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27887 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27888 if (!SWIG_IsOK(res2
)) {
27889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27891 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27892 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27893 if (!SWIG_IsOK(res3
)) {
27894 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27896 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27898 arg4
= wxString_in_helper(obj3
);
27899 if (arg4
== NULL
) SWIG_fail
;
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= SWIG_Py_Void();
27923 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27924 PyObject
*resultobj
= 0;
27925 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27926 wxWindow
*arg2
= (wxWindow
*) 0 ;
27932 PyObject
* obj0
= 0 ;
27933 PyObject
* obj1
= 0 ;
27934 char * kwnames
[] = {
27935 (char *) "self",(char *) "parent", NULL
27938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27940 if (!SWIG_IsOK(res1
)) {
27941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27943 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27945 if (!SWIG_IsOK(res2
)) {
27946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27948 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 result
= (bool)(arg1
)->Setup(arg2
);
27952 wxPyEndAllowThreads(__tstate
);
27953 if (PyErr_Occurred()) SWIG_fail
;
27956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27964 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
= 0;
27966 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27967 wxWindow
*arg2
= (wxWindow
*) 0 ;
27968 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27969 bool arg4
= (bool) true ;
27979 PyObject
* obj0
= 0 ;
27980 PyObject
* obj1
= 0 ;
27981 PyObject
* obj2
= 0 ;
27982 PyObject
* obj3
= 0 ;
27983 char * kwnames
[] = {
27984 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27989 if (!SWIG_IsOK(res1
)) {
27990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27992 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27994 if (!SWIG_IsOK(res2
)) {
27995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27997 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27998 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27999 if (!SWIG_IsOK(res3
)) {
28000 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
28002 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
28004 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
28005 if (!SWIG_IsOK(ecode4
)) {
28006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
28008 arg4
= static_cast< bool >(val4
);
28011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28012 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28025 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28026 PyObject
*resultobj
= 0;
28027 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28028 wxWindow
*arg2
= (wxWindow
*) 0 ;
28034 PyObject
* obj0
= 0 ;
28035 PyObject
* obj1
= 0 ;
28036 char * kwnames
[] = {
28037 (char *) "self",(char *) "parent", NULL
28040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28042 if (!SWIG_IsOK(res1
)) {
28043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
28045 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28046 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28047 if (!SWIG_IsOK(res2
)) {
28048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
28050 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28058 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28066 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28067 PyObject
*resultobj
= 0;
28068 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28069 wxPrintDialogData
*result
= 0 ;
28072 PyObject
*swig_obj
[1] ;
28074 if (!args
) SWIG_fail
;
28075 swig_obj
[0] = args
;
28076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28077 if (!SWIG_IsOK(res1
)) {
28078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
28080 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28084 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
28085 result
= (wxPrintDialogData
*) &_result_ref
;
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28097 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28098 PyObject
*resultobj
= 0;
28099 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28103 PyObject
*swig_obj
[1] ;
28105 if (!args
) SWIG_fail
;
28106 swig_obj
[0] = args
;
28107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28108 if (!SWIG_IsOK(res1
)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
28111 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 result
= (bool)(arg1
)->GetAbort();
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28127 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28128 PyObject
*resultobj
= 0;
28129 wxPrinterError result
;
28131 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 result
= (wxPrinterError
)wxPrinter::GetLastError();
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= SWIG_From_int(static_cast< int >(result
));
28145 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28148 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
28149 return SWIG_Py_Void();
28152 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28153 return SWIG_Python_InitShadowInstance(args
);
28156 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
= 0;
28158 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
28159 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28160 wxPyPrintout
*result
= 0 ;
28161 bool temp1
= false ;
28162 PyObject
* obj0
= 0 ;
28163 char * kwnames
[] = {
28164 (char *) "title", NULL
28167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
28170 arg1
= wxString_in_helper(obj0
);
28171 if (arg1
== NULL
) SWIG_fail
;
28176 if (!wxPyCheckForApp()) SWIG_fail
;
28177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28178 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
28197 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28198 PyObject
*resultobj
= 0;
28199 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28202 PyObject
*swig_obj
[1] ;
28204 if (!args
) SWIG_fail
;
28205 swig_obj
[0] = args
;
28206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28207 if (!SWIG_IsOK(res1
)) {
28208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28210 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28215 wxPyEndAllowThreads(__tstate
);
28216 if (PyErr_Occurred()) SWIG_fail
;
28218 resultobj
= SWIG_Py_Void();
28225 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28226 PyObject
*resultobj
= 0;
28227 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28228 PyObject
*arg2
= (PyObject
*) 0 ;
28229 PyObject
*arg3
= (PyObject
*) 0 ;
28232 PyObject
* obj0
= 0 ;
28233 PyObject
* obj1
= 0 ;
28234 PyObject
* obj2
= 0 ;
28235 char * kwnames
[] = {
28236 (char *) "self",(char *) "self",(char *) "_class", NULL
28239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28241 if (!SWIG_IsOK(res1
)) {
28242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28244 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28250 wxPyEndAllowThreads(__tstate
);
28251 if (PyErr_Occurred()) SWIG_fail
;
28253 resultobj
= SWIG_Py_Void();
28260 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28261 PyObject
*resultobj
= 0;
28262 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28266 PyObject
*swig_obj
[1] ;
28268 if (!args
) SWIG_fail
;
28269 swig_obj
[0] = args
;
28270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28271 if (!SWIG_IsOK(res1
)) {
28272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28274 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28277 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28294 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28295 PyObject
*resultobj
= 0;
28296 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28300 PyObject
*swig_obj
[1] ;
28302 if (!args
) SWIG_fail
;
28303 swig_obj
[0] = args
;
28304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28305 if (!SWIG_IsOK(res1
)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28308 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28311 result
= (wxDC
*)(arg1
)->GetDC();
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28316 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28324 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
= 0;
28326 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28327 wxDC
*arg2
= (wxDC
*) 0 ;
28332 PyObject
* obj0
= 0 ;
28333 PyObject
* obj1
= 0 ;
28334 char * kwnames
[] = {
28335 (char *) "self",(char *) "dc", NULL
28338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28340 if (!SWIG_IsOK(res1
)) {
28341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28343 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28345 if (!SWIG_IsOK(res2
)) {
28346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28348 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28351 (arg1
)->SetDC(arg2
);
28352 wxPyEndAllowThreads(__tstate
);
28353 if (PyErr_Occurred()) SWIG_fail
;
28355 resultobj
= SWIG_Py_Void();
28362 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
= 0;
28364 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28369 PyObject
* obj0
= 0 ;
28370 PyObject
* obj1
= 0 ;
28371 char * kwnames
[] = {
28372 (char *) "self",(char *) "imageSize", NULL
28375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28377 if (!SWIG_IsOK(res1
)) {
28378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28380 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28383 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 resultobj
= SWIG_Py_Void();
28398 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
= 0;
28400 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28405 PyObject
* obj0
= 0 ;
28406 PyObject
* obj1
= 0 ;
28407 char * kwnames
[] = {
28408 (char *) "self",(char *) "imageSize", NULL
28411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28413 if (!SWIG_IsOK(res1
)) {
28414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28416 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28419 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28423 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28424 wxPyEndAllowThreads(__tstate
);
28425 if (PyErr_Occurred()) SWIG_fail
;
28427 resultobj
= SWIG_Py_Void();
28434 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
= 0;
28436 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28438 wxPageSetupDialogData
*arg3
= 0 ;
28444 PyObject
* obj0
= 0 ;
28445 PyObject
* obj1
= 0 ;
28446 PyObject
* obj2
= 0 ;
28447 char * kwnames
[] = {
28448 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28453 if (!SWIG_IsOK(res1
)) {
28454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28456 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28459 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28461 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28462 if (!SWIG_IsOK(res3
)) {
28463 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28468 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28475 resultobj
= SWIG_Py_Void();
28482 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28483 PyObject
*resultobj
= 0;
28484 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28487 PyObject
*swig_obj
[1] ;
28489 if (!args
) SWIG_fail
;
28490 swig_obj
[0] = args
;
28491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28492 if (!SWIG_IsOK(res1
)) {
28493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28495 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28498 (arg1
)->MapScreenSizeToPaper();
28499 wxPyEndAllowThreads(__tstate
);
28500 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= SWIG_Py_Void();
28509 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28510 PyObject
*resultobj
= 0;
28511 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28514 PyObject
*swig_obj
[1] ;
28516 if (!args
) SWIG_fail
;
28517 swig_obj
[0] = args
;
28518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28519 if (!SWIG_IsOK(res1
)) {
28520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28522 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 (arg1
)->MapScreenSizeToPage();
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= SWIG_Py_Void();
28536 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
= 0;
28538 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28539 wxPageSetupDialogData
*arg2
= 0 ;
28544 PyObject
* obj0
= 0 ;
28545 PyObject
* obj1
= 0 ;
28546 char * kwnames
[] = {
28547 (char *) "self",(char *) "pageSetupData", NULL
28550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28552 if (!SWIG_IsOK(res1
)) {
28553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28555 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28557 if (!SWIG_IsOK(res2
)) {
28558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28563 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28566 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28567 wxPyEndAllowThreads(__tstate
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28570 resultobj
= SWIG_Py_Void();
28577 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28578 PyObject
*resultobj
= 0;
28579 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28582 PyObject
*swig_obj
[1] ;
28584 if (!args
) SWIG_fail
;
28585 swig_obj
[0] = args
;
28586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28587 if (!SWIG_IsOK(res1
)) {
28588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28590 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28593 (arg1
)->MapScreenSizeToDevice();
28594 wxPyEndAllowThreads(__tstate
);
28595 if (PyErr_Occurred()) SWIG_fail
;
28597 resultobj
= SWIG_Py_Void();
28604 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28605 PyObject
*resultobj
= 0;
28606 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28610 PyObject
*swig_obj
[1] ;
28612 if (!args
) SWIG_fail
;
28613 swig_obj
[0] = args
;
28614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28615 if (!SWIG_IsOK(res1
)) {
28616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28618 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28621 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28625 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28632 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28633 PyObject
*resultobj
= 0;
28634 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28638 PyObject
*swig_obj
[1] ;
28640 if (!args
) SWIG_fail
;
28641 swig_obj
[0] = args
;
28642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28643 if (!SWIG_IsOK(res1
)) {
28644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28646 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28649 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28653 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28660 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28661 PyObject
*resultobj
= 0;
28662 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28663 wxPageSetupDialogData
*arg2
= 0 ;
28669 PyObject
* obj0
= 0 ;
28670 PyObject
* obj1
= 0 ;
28671 char * kwnames
[] = {
28672 (char *) "self",(char *) "pageSetupData", NULL
28675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28677 if (!SWIG_IsOK(res1
)) {
28678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28680 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28682 if (!SWIG_IsOK(res2
)) {
28683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28688 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28702 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
= 0;
28704 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28713 PyObject
* obj0
= 0 ;
28714 PyObject
* obj1
= 0 ;
28715 PyObject
* obj2
= 0 ;
28716 char * kwnames
[] = {
28717 (char *) "self",(char *) "x",(char *) "y", NULL
28720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28722 if (!SWIG_IsOK(res1
)) {
28723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28725 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28727 if (!SWIG_IsOK(ecode2
)) {
28728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28730 arg2
= static_cast< int >(val2
);
28731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28732 if (!SWIG_IsOK(ecode3
)) {
28733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28735 arg3
= static_cast< int >(val3
);
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28739 wxPyEndAllowThreads(__tstate
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28742 resultobj
= SWIG_Py_Void();
28749 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28750 PyObject
*resultobj
= 0;
28751 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28760 PyObject
* obj0
= 0 ;
28761 PyObject
* obj1
= 0 ;
28762 PyObject
* obj2
= 0 ;
28763 char * kwnames
[] = {
28764 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28769 if (!SWIG_IsOK(res1
)) {
28770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28772 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28774 if (!SWIG_IsOK(ecode2
)) {
28775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28777 arg2
= static_cast< int >(val2
);
28778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28779 if (!SWIG_IsOK(ecode3
)) {
28780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28782 arg3
= static_cast< int >(val3
);
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 resultobj
= SWIG_Py_Void();
28796 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28797 PyObject
*resultobj
= 0;
28798 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28807 PyObject
* obj0
= 0 ;
28808 PyObject
* obj1
= 0 ;
28809 PyObject
* obj2
= 0 ;
28810 char * kwnames
[] = {
28811 (char *) "self",(char *) "w",(char *) "h", NULL
28814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28816 if (!SWIG_IsOK(res1
)) {
28817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28819 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28821 if (!SWIG_IsOK(ecode2
)) {
28822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28824 arg2
= static_cast< int >(val2
);
28825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28826 if (!SWIG_IsOK(ecode3
)) {
28827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28829 arg3
= static_cast< int >(val3
);
28831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28832 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= SWIG_Py_Void();
28843 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28844 PyObject
*resultobj
= 0;
28845 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28846 int *arg2
= (int *) 0 ;
28847 int *arg3
= (int *) 0 ;
28851 int res2
= SWIG_TMPOBJ
;
28853 int res3
= SWIG_TMPOBJ
;
28854 PyObject
*swig_obj
[1] ;
28858 if (!args
) SWIG_fail
;
28859 swig_obj
[0] = args
;
28860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28861 if (!SWIG_IsOK(res1
)) {
28862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28864 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28871 resultobj
= SWIG_Py_Void();
28872 if (SWIG_IsTmpObj(res2
)) {
28873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28875 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28878 if (SWIG_IsTmpObj(res3
)) {
28879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28881 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28890 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
= 0;
28892 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28901 PyObject
* obj0
= 0 ;
28902 PyObject
* obj1
= 0 ;
28903 PyObject
* obj2
= 0 ;
28904 char * kwnames
[] = {
28905 (char *) "self",(char *) "w",(char *) "h", NULL
28908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28910 if (!SWIG_IsOK(res1
)) {
28911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28913 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28915 if (!SWIG_IsOK(ecode2
)) {
28916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28918 arg2
= static_cast< int >(val2
);
28919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28920 if (!SWIG_IsOK(ecode3
)) {
28921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28923 arg3
= static_cast< int >(val3
);
28925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28926 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28930 resultobj
= SWIG_Py_Void();
28937 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28938 PyObject
*resultobj
= 0;
28939 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28940 int *arg2
= (int *) 0 ;
28941 int *arg3
= (int *) 0 ;
28945 int res2
= SWIG_TMPOBJ
;
28947 int res3
= SWIG_TMPOBJ
;
28948 PyObject
*swig_obj
[1] ;
28952 if (!args
) SWIG_fail
;
28953 swig_obj
[0] = args
;
28954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28955 if (!SWIG_IsOK(res1
)) {
28956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28958 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28965 resultobj
= SWIG_Py_Void();
28966 if (SWIG_IsTmpObj(res2
)) {
28967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28969 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28972 if (SWIG_IsTmpObj(res3
)) {
28973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28975 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28984 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28985 PyObject
*resultobj
= 0;
28986 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28995 PyObject
* obj0
= 0 ;
28996 PyObject
* obj1
= 0 ;
28997 PyObject
* obj2
= 0 ;
28998 char * kwnames
[] = {
28999 (char *) "self",(char *) "x",(char *) "y", NULL
29002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29004 if (!SWIG_IsOK(res1
)) {
29005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29007 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29009 if (!SWIG_IsOK(ecode2
)) {
29010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
29012 arg2
= static_cast< int >(val2
);
29013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29014 if (!SWIG_IsOK(ecode3
)) {
29015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
29017 arg3
= static_cast< int >(val3
);
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 (arg1
)->SetPPIScreen(arg2
,arg3
);
29021 wxPyEndAllowThreads(__tstate
);
29022 if (PyErr_Occurred()) SWIG_fail
;
29024 resultobj
= SWIG_Py_Void();
29031 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29032 PyObject
*resultobj
= 0;
29033 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29034 int *arg2
= (int *) 0 ;
29035 int *arg3
= (int *) 0 ;
29039 int res2
= SWIG_TMPOBJ
;
29041 int res3
= SWIG_TMPOBJ
;
29042 PyObject
*swig_obj
[1] ;
29046 if (!args
) SWIG_fail
;
29047 swig_obj
[0] = args
;
29048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29049 if (!SWIG_IsOK(res1
)) {
29050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29052 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 (arg1
)->GetPPIScreen(arg2
,arg3
);
29056 wxPyEndAllowThreads(__tstate
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29059 resultobj
= SWIG_Py_Void();
29060 if (SWIG_IsTmpObj(res2
)) {
29061 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29063 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29064 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29066 if (SWIG_IsTmpObj(res3
)) {
29067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29069 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29078 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29079 PyObject
*resultobj
= 0;
29080 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29089 PyObject
* obj0
= 0 ;
29090 PyObject
* obj1
= 0 ;
29091 PyObject
* obj2
= 0 ;
29092 char * kwnames
[] = {
29093 (char *) "self",(char *) "x",(char *) "y", NULL
29096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29098 if (!SWIG_IsOK(res1
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29101 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29103 if (!SWIG_IsOK(ecode2
)) {
29104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
29106 arg2
= static_cast< int >(val2
);
29107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29108 if (!SWIG_IsOK(ecode3
)) {
29109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
29111 arg3
= static_cast< int >(val3
);
29113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29114 (arg1
)->SetPPIPrinter(arg2
,arg3
);
29115 wxPyEndAllowThreads(__tstate
);
29116 if (PyErr_Occurred()) SWIG_fail
;
29118 resultobj
= SWIG_Py_Void();
29125 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29126 PyObject
*resultobj
= 0;
29127 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29128 int *arg2
= (int *) 0 ;
29129 int *arg3
= (int *) 0 ;
29133 int res2
= SWIG_TMPOBJ
;
29135 int res3
= SWIG_TMPOBJ
;
29136 PyObject
*swig_obj
[1] ;
29140 if (!args
) SWIG_fail
;
29141 swig_obj
[0] = args
;
29142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29143 if (!SWIG_IsOK(res1
)) {
29144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29146 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29149 (arg1
)->GetPPIPrinter(arg2
,arg3
);
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= SWIG_Py_Void();
29154 if (SWIG_IsTmpObj(res2
)) {
29155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29157 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29160 if (SWIG_IsTmpObj(res3
)) {
29161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29163 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29172 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
= 0;
29174 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29179 PyObject
* obj0
= 0 ;
29180 PyObject
* obj1
= 0 ;
29181 char * kwnames
[] = {
29182 (char *) "self",(char *) "paperRectPixels", NULL
29185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29187 if (!SWIG_IsOK(res1
)) {
29188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29190 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29193 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29201 resultobj
= SWIG_Py_Void();
29208 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29209 PyObject
*resultobj
= 0;
29210 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29214 PyObject
*swig_obj
[1] ;
29216 if (!args
) SWIG_fail
;
29217 swig_obj
[0] = args
;
29218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29219 if (!SWIG_IsOK(res1
)) {
29220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29222 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29225 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29236 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29237 PyObject
*resultobj
= 0;
29238 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29242 PyObject
*swig_obj
[1] ;
29244 if (!args
) SWIG_fail
;
29245 swig_obj
[0] = args
;
29246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29247 if (!SWIG_IsOK(res1
)) {
29248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29250 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29253 result
= (bool)(arg1
)->IsPreview();
29254 wxPyEndAllowThreads(__tstate
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29266 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
= 0;
29268 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29274 PyObject
* obj0
= 0 ;
29275 PyObject
* obj1
= 0 ;
29276 char * kwnames
[] = {
29277 (char *) "self",(char *) "p", NULL
29280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29282 if (!SWIG_IsOK(res1
)) {
29283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29285 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29286 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29287 if (!SWIG_IsOK(ecode2
)) {
29288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29290 arg2
= static_cast< bool >(val2
);
29292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29293 (arg1
)->SetIsPreview(arg2
);
29294 wxPyEndAllowThreads(__tstate
);
29295 if (PyErr_Occurred()) SWIG_fail
;
29297 resultobj
= SWIG_Py_Void();
29304 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29305 PyObject
*resultobj
= 0;
29306 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29316 PyObject
* obj0
= 0 ;
29317 PyObject
* obj1
= 0 ;
29318 PyObject
* obj2
= 0 ;
29319 char * kwnames
[] = {
29320 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29325 if (!SWIG_IsOK(res1
)) {
29326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29328 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29330 if (!SWIG_IsOK(ecode2
)) {
29331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29333 arg2
= static_cast< int >(val2
);
29334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29335 if (!SWIG_IsOK(ecode3
)) {
29336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29338 arg3
= static_cast< int >(val3
);
29340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29341 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
29342 wxPyEndAllowThreads(__tstate
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29354 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29355 PyObject
*resultobj
= 0;
29356 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29359 PyObject
*swig_obj
[1] ;
29361 if (!args
) SWIG_fail
;
29362 swig_obj
[0] = args
;
29363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29364 if (!SWIG_IsOK(res1
)) {
29365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29367 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 (arg1
)->OnEndDocument();
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29374 resultobj
= SWIG_Py_Void();
29381 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29382 PyObject
*resultobj
= 0;
29383 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29386 PyObject
*swig_obj
[1] ;
29388 if (!args
) SWIG_fail
;
29389 swig_obj
[0] = args
;
29390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29391 if (!SWIG_IsOK(res1
)) {
29392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29394 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29397 (arg1
)->OnBeginPrinting();
29398 wxPyEndAllowThreads(__tstate
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= SWIG_Py_Void();
29408 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29409 PyObject
*resultobj
= 0;
29410 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29413 PyObject
*swig_obj
[1] ;
29415 if (!args
) SWIG_fail
;
29416 swig_obj
[0] = args
;
29417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29418 if (!SWIG_IsOK(res1
)) {
29419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29421 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29424 (arg1
)->OnEndPrinting();
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29428 resultobj
= SWIG_Py_Void();
29435 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29436 PyObject
*resultobj
= 0;
29437 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29440 PyObject
*swig_obj
[1] ;
29442 if (!args
) SWIG_fail
;
29443 swig_obj
[0] = args
;
29444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29445 if (!SWIG_IsOK(res1
)) {
29446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29448 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 (arg1
)->OnPreparePrinting();
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= SWIG_Py_Void();
29462 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29463 PyObject
*resultobj
= 0;
29464 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29471 PyObject
* obj0
= 0 ;
29472 PyObject
* obj1
= 0 ;
29473 char * kwnames
[] = {
29474 (char *) "self",(char *) "page", NULL
29477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29479 if (!SWIG_IsOK(res1
)) {
29480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29482 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29484 if (!SWIG_IsOK(ecode2
)) {
29485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29487 arg2
= static_cast< int >(val2
);
29489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29490 result
= (bool)(arg1
)->HasPage(arg2
);
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29503 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29504 PyObject
*resultobj
= 0;
29505 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29506 int *arg2
= (int *) 0 ;
29507 int *arg3
= (int *) 0 ;
29508 int *arg4
= (int *) 0 ;
29509 int *arg5
= (int *) 0 ;
29513 int res2
= SWIG_TMPOBJ
;
29515 int res3
= SWIG_TMPOBJ
;
29517 int res4
= SWIG_TMPOBJ
;
29519 int res5
= SWIG_TMPOBJ
;
29520 PyObject
*swig_obj
[1] ;
29526 if (!args
) SWIG_fail
;
29527 swig_obj
[0] = args
;
29528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29529 if (!SWIG_IsOK(res1
)) {
29530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29532 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29535 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29536 wxPyEndAllowThreads(__tstate
);
29537 if (PyErr_Occurred()) SWIG_fail
;
29539 resultobj
= SWIG_Py_Void();
29540 if (SWIG_IsTmpObj(res2
)) {
29541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29543 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29546 if (SWIG_IsTmpObj(res3
)) {
29547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29549 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29552 if (SWIG_IsTmpObj(res4
)) {
29553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29555 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29558 if (SWIG_IsTmpObj(res5
)) {
29559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29561 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29570 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29573 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29574 return SWIG_Py_Void();
29577 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29578 return SWIG_Python_InitShadowInstance(args
);
29581 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29582 PyObject
*resultobj
= 0;
29583 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29584 wxWindow
*arg2
= (wxWindow
*) 0 ;
29585 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29586 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29587 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29588 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29589 long arg5
= (long) 0 ;
29590 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29591 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29592 wxPreviewCanvas
*result
= 0 ;
29601 bool temp6
= false ;
29602 PyObject
* obj0
= 0 ;
29603 PyObject
* obj1
= 0 ;
29604 PyObject
* obj2
= 0 ;
29605 PyObject
* obj3
= 0 ;
29606 PyObject
* obj4
= 0 ;
29607 PyObject
* obj5
= 0 ;
29608 char * kwnames
[] = {
29609 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29614 if (!SWIG_IsOK(res1
)) {
29615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29617 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29619 if (!SWIG_IsOK(res2
)) {
29620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29622 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29626 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29632 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29636 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29637 if (!SWIG_IsOK(ecode5
)) {
29638 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29640 arg5
= static_cast< long >(val5
);
29644 arg6
= wxString_in_helper(obj5
);
29645 if (arg6
== NULL
) SWIG_fail
;
29650 if (!wxPyCheckForApp()) SWIG_fail
;
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29671 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29674 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29675 return SWIG_Py_Void();
29678 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29679 return SWIG_Python_InitShadowInstance(args
);
29682 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29683 PyObject
*resultobj
= 0;
29684 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29685 wxFrame
*arg2
= (wxFrame
*) 0 ;
29686 wxString
*arg3
= 0 ;
29687 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29688 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29689 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29690 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29691 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29692 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29693 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29694 wxPreviewFrame
*result
= 0 ;
29698 bool temp3
= false ;
29703 bool temp7
= false ;
29704 PyObject
* obj0
= 0 ;
29705 PyObject
* obj1
= 0 ;
29706 PyObject
* obj2
= 0 ;
29707 PyObject
* obj3
= 0 ;
29708 PyObject
* obj4
= 0 ;
29709 PyObject
* obj5
= 0 ;
29710 PyObject
* obj6
= 0 ;
29711 char * kwnames
[] = {
29712 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29716 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29717 if (!SWIG_IsOK(res1
)) {
29718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29721 if (!SWIG_IsOK(res2
)) {
29722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29724 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29726 arg3
= wxString_in_helper(obj2
);
29727 if (arg3
== NULL
) SWIG_fail
;
29733 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29739 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29743 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29744 if (!SWIG_IsOK(ecode6
)) {
29745 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29747 arg6
= static_cast< long >(val6
);
29751 arg7
= wxString_in_helper(obj6
);
29752 if (arg7
== NULL
) SWIG_fail
;
29757 if (!wxPyCheckForApp()) SWIG_fail
;
29758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29759 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29760 wxPyEndAllowThreads(__tstate
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29786 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29787 PyObject
*resultobj
= 0;
29788 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29791 PyObject
*swig_obj
[1] ;
29793 if (!args
) SWIG_fail
;
29794 swig_obj
[0] = args
;
29795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29796 if (!SWIG_IsOK(res1
)) {
29797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29799 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29802 (arg1
)->Initialize();
29803 wxPyEndAllowThreads(__tstate
);
29804 if (PyErr_Occurred()) SWIG_fail
;
29806 resultobj
= SWIG_Py_Void();
29813 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29814 PyObject
*resultobj
= 0;
29815 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29818 PyObject
*swig_obj
[1] ;
29820 if (!args
) SWIG_fail
;
29821 swig_obj
[0] = args
;
29822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29823 if (!SWIG_IsOK(res1
)) {
29824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29826 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29829 (arg1
)->CreateControlBar();
29830 wxPyEndAllowThreads(__tstate
);
29831 if (PyErr_Occurred()) SWIG_fail
;
29833 resultobj
= SWIG_Py_Void();
29840 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29841 PyObject
*resultobj
= 0;
29842 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29845 PyObject
*swig_obj
[1] ;
29847 if (!args
) SWIG_fail
;
29848 swig_obj
[0] = args
;
29849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29850 if (!SWIG_IsOK(res1
)) {
29851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29853 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29856 (arg1
)->CreateCanvas();
29857 wxPyEndAllowThreads(__tstate
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29860 resultobj
= SWIG_Py_Void();
29867 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29868 PyObject
*resultobj
= 0;
29869 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29870 wxPreviewControlBar
*result
= 0 ;
29873 PyObject
*swig_obj
[1] ;
29875 if (!args
) SWIG_fail
;
29876 swig_obj
[0] = args
;
29877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29878 if (!SWIG_IsOK(res1
)) {
29879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29881 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29895 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29898 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29899 return SWIG_Py_Void();
29902 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29903 return SWIG_Python_InitShadowInstance(args
);
29906 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
= 0;
29908 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29910 wxWindow
*arg3
= (wxWindow
*) 0 ;
29911 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29912 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29913 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29914 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29915 long arg6
= (long) wxTAB_TRAVERSAL
;
29916 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29917 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29918 wxPreviewControlBar
*result
= 0 ;
29929 bool temp7
= false ;
29930 PyObject
* obj0
= 0 ;
29931 PyObject
* obj1
= 0 ;
29932 PyObject
* obj2
= 0 ;
29933 PyObject
* obj3
= 0 ;
29934 PyObject
* obj4
= 0 ;
29935 PyObject
* obj5
= 0 ;
29936 PyObject
* obj6
= 0 ;
29937 char * kwnames
[] = {
29938 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29943 if (!SWIG_IsOK(res1
)) {
29944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29946 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29947 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29948 if (!SWIG_IsOK(ecode2
)) {
29949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29951 arg2
= static_cast< long >(val2
);
29952 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29953 if (!SWIG_IsOK(res3
)) {
29954 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29956 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29970 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29971 if (!SWIG_IsOK(ecode6
)) {
29972 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29974 arg6
= static_cast< long >(val6
);
29978 arg7
= wxString_in_helper(obj6
);
29979 if (arg7
== NULL
) SWIG_fail
;
29984 if (!wxPyCheckForApp()) SWIG_fail
;
29985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29986 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30005 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30006 PyObject
*resultobj
= 0;
30007 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30011 PyObject
*swig_obj
[1] ;
30013 if (!args
) SWIG_fail
;
30014 swig_obj
[0] = args
;
30015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30016 if (!SWIG_IsOK(res1
)) {
30017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30019 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30022 result
= (int)(arg1
)->GetZoomControl();
30023 wxPyEndAllowThreads(__tstate
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30026 resultobj
= SWIG_From_int(static_cast< int >(result
));
30033 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30034 PyObject
*resultobj
= 0;
30035 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30041 PyObject
* obj0
= 0 ;
30042 PyObject
* obj1
= 0 ;
30043 char * kwnames
[] = {
30044 (char *) "self",(char *) "zoom", NULL
30047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30049 if (!SWIG_IsOK(res1
)) {
30050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30052 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30054 if (!SWIG_IsOK(ecode2
)) {
30055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30057 arg2
= static_cast< int >(val2
);
30059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30060 (arg1
)->SetZoomControl(arg2
);
30061 wxPyEndAllowThreads(__tstate
);
30062 if (PyErr_Occurred()) SWIG_fail
;
30064 resultobj
= SWIG_Py_Void();
30071 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30072 PyObject
*resultobj
= 0;
30073 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30074 wxPrintPreview
*result
= 0 ;
30077 PyObject
*swig_obj
[1] ;
30079 if (!args
) SWIG_fail
;
30080 swig_obj
[0] = args
;
30081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30082 if (!SWIG_IsOK(res1
)) {
30083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30085 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30088 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
30089 wxPyEndAllowThreads(__tstate
);
30090 if (PyErr_Occurred()) SWIG_fail
;
30092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30099 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30100 PyObject
*resultobj
= 0;
30101 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30104 PyObject
*swig_obj
[1] ;
30106 if (!args
) SWIG_fail
;
30107 swig_obj
[0] = args
;
30108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30109 if (!SWIG_IsOK(res1
)) {
30110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30112 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30116 wxPyEndAllowThreads(__tstate
);
30117 if (PyErr_Occurred()) SWIG_fail
;
30119 resultobj
= SWIG_Py_Void();
30126 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30127 PyObject
*resultobj
= 0;
30128 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30131 PyObject
*swig_obj
[1] ;
30133 if (!args
) SWIG_fail
;
30134 swig_obj
[0] = args
;
30135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30136 if (!SWIG_IsOK(res1
)) {
30137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30139 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30142 (arg1
)->OnPrevious();
30143 wxPyEndAllowThreads(__tstate
);
30144 if (PyErr_Occurred()) SWIG_fail
;
30146 resultobj
= SWIG_Py_Void();
30153 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30154 PyObject
*resultobj
= 0;
30155 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30158 PyObject
*swig_obj
[1] ;
30160 if (!args
) SWIG_fail
;
30161 swig_obj
[0] = args
;
30162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30163 if (!SWIG_IsOK(res1
)) {
30164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30166 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30170 wxPyEndAllowThreads(__tstate
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30173 resultobj
= SWIG_Py_Void();
30180 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30181 PyObject
*resultobj
= 0;
30182 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30185 PyObject
*swig_obj
[1] ;
30187 if (!args
) SWIG_fail
;
30188 swig_obj
[0] = args
;
30189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30190 if (!SWIG_IsOK(res1
)) {
30191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30193 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= SWIG_Py_Void();
30207 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30208 PyObject
*resultobj
= 0;
30209 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30212 PyObject
*swig_obj
[1] ;
30214 if (!args
) SWIG_fail
;
30215 swig_obj
[0] = args
;
30216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30217 if (!SWIG_IsOK(res1
)) {
30218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30220 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30227 resultobj
= SWIG_Py_Void();
30234 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30237 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
30238 return SWIG_Py_Void();
30241 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30242 return SWIG_Python_InitShadowInstance(args
);
30245 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30246 PyObject
*resultobj
= 0;
30247 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30248 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30249 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30250 wxPrintPreview
*result
= 0 ;
30256 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30257 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30258 if (!SWIG_IsOK(res1
)) {
30259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30261 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30262 if (!SWIG_IsOK(res2
)) {
30263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30266 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30267 if (!SWIG_IsOK(res3
)) {
30268 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30270 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30273 if (!wxPyCheckForApp()) SWIG_fail
;
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30276 wxPyEndAllowThreads(__tstate
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30286 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30287 PyObject
*resultobj
= 0;
30288 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30289 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30290 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30291 wxPrintPreview
*result
= 0 ;
30297 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30298 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30299 if (!SWIG_IsOK(res1
)) {
30300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30302 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30303 if (!SWIG_IsOK(res2
)) {
30304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30306 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30307 if (!SWIG_IsOK(res3
)) {
30308 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30310 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30312 if (!wxPyCheckForApp()) SWIG_fail
;
30313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30314 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30315 wxPyEndAllowThreads(__tstate
);
30316 if (PyErr_Occurred()) SWIG_fail
;
30318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30325 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
30329 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
30331 if ((argc
>= 2) && (argc
<= 3)) {
30336 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30337 _v
= SWIG_CheckState(res
);
30339 if (!_v
) goto check_1
;
30341 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
30346 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
30350 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
30355 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30356 PyObject
*resultobj
= 0;
30357 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30360 PyObject
*swig_obj
[1] ;
30362 if (!args
) SWIG_fail
;
30363 swig_obj
[0] = args
;
30364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30365 if (!SWIG_IsOK(res1
)) {
30366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30368 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30376 resultobj
= SWIG_Py_Void();
30383 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30384 PyObject
*resultobj
= 0;
30385 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30392 PyObject
* obj0
= 0 ;
30393 PyObject
* obj1
= 0 ;
30394 char * kwnames
[] = {
30395 (char *) "self",(char *) "pageNum", NULL
30398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30400 if (!SWIG_IsOK(res1
)) {
30401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30403 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30405 if (!SWIG_IsOK(ecode2
)) {
30406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30408 arg2
= static_cast< int >(val2
);
30410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30424 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30425 PyObject
*resultobj
= 0;
30426 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30430 PyObject
*swig_obj
[1] ;
30432 if (!args
) SWIG_fail
;
30433 swig_obj
[0] = args
;
30434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30435 if (!SWIG_IsOK(res1
)) {
30436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30438 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30441 result
= (int)(arg1
)->GetCurrentPage();
30442 wxPyEndAllowThreads(__tstate
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30445 resultobj
= SWIG_From_int(static_cast< int >(result
));
30452 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30453 PyObject
*resultobj
= 0;
30454 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30455 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30459 PyObject
* obj0
= 0 ;
30460 PyObject
* obj1
= 0 ;
30461 char * kwnames
[] = {
30462 (char *) "self",(char *) "printout", NULL
30465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30467 if (!SWIG_IsOK(res1
)) {
30468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30470 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30471 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30472 if (!SWIG_IsOK(res2
)) {
30473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30477 (arg1
)->SetPrintout(arg2
);
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30481 resultobj
= SWIG_Py_Void();
30488 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30489 PyObject
*resultobj
= 0;
30490 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30491 wxPyPrintout
*result
= 0 ;
30494 PyObject
*swig_obj
[1] ;
30496 if (!args
) SWIG_fail
;
30497 swig_obj
[0] = args
;
30498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30499 if (!SWIG_IsOK(res1
)) {
30500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30502 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30505 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30506 wxPyEndAllowThreads(__tstate
);
30507 if (PyErr_Occurred()) SWIG_fail
;
30510 resultobj
= wxPyMake_wxObject(result
, 0);
30518 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30519 PyObject
*resultobj
= 0;
30520 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30521 wxPyPrintout
*result
= 0 ;
30524 PyObject
*swig_obj
[1] ;
30526 if (!args
) SWIG_fail
;
30527 swig_obj
[0] = args
;
30528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30529 if (!SWIG_IsOK(res1
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30532 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30536 wxPyEndAllowThreads(__tstate
);
30537 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= wxPyMake_wxObject(result
, 0);
30548 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
= 0;
30550 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30551 wxFrame
*arg2
= (wxFrame
*) 0 ;
30556 PyObject
* obj0
= 0 ;
30557 PyObject
* obj1
= 0 ;
30558 char * kwnames
[] = {
30559 (char *) "self",(char *) "frame", NULL
30562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30564 if (!SWIG_IsOK(res1
)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30567 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30569 if (!SWIG_IsOK(res2
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30572 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30575 (arg1
)->SetFrame(arg2
);
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 resultobj
= SWIG_Py_Void();
30586 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
= 0;
30588 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30589 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30594 PyObject
* obj0
= 0 ;
30595 PyObject
* obj1
= 0 ;
30596 char * kwnames
[] = {
30597 (char *) "self",(char *) "canvas", NULL
30600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30602 if (!SWIG_IsOK(res1
)) {
30603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30605 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30606 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30607 if (!SWIG_IsOK(res2
)) {
30608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30610 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30613 (arg1
)->SetCanvas(arg2
);
30614 wxPyEndAllowThreads(__tstate
);
30615 if (PyErr_Occurred()) SWIG_fail
;
30617 resultobj
= SWIG_Py_Void();
30624 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30625 PyObject
*resultobj
= 0;
30626 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30627 wxFrame
*result
= 0 ;
30630 PyObject
*swig_obj
[1] ;
30632 if (!args
) SWIG_fail
;
30633 swig_obj
[0] = args
;
30634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30635 if (!SWIG_IsOK(res1
)) {
30636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30638 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 result
= (wxFrame
*)(arg1
)->GetFrame();
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30646 resultobj
= wxPyMake_wxObject(result
, 0);
30654 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30655 PyObject
*resultobj
= 0;
30656 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30657 wxPreviewCanvas
*result
= 0 ;
30660 PyObject
*swig_obj
[1] ;
30662 if (!args
) SWIG_fail
;
30663 swig_obj
[0] = args
;
30664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30665 if (!SWIG_IsOK(res1
)) {
30666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30668 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30671 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30672 wxPyEndAllowThreads(__tstate
);
30673 if (PyErr_Occurred()) SWIG_fail
;
30675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30682 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30683 PyObject
*resultobj
= 0;
30684 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30685 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 PyObject
* obj1
= 0 ;
30696 PyObject
* obj2
= 0 ;
30697 char * kwnames
[] = {
30698 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30703 if (!SWIG_IsOK(res1
)) {
30704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30706 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30707 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30708 if (!SWIG_IsOK(res2
)) {
30709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30711 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30712 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30713 if (!SWIG_IsOK(res3
)) {
30714 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30719 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30722 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30723 wxPyEndAllowThreads(__tstate
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30735 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30736 PyObject
*resultobj
= 0;
30737 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30738 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30747 PyObject
* obj0
= 0 ;
30748 PyObject
* obj1
= 0 ;
30749 PyObject
* obj2
= 0 ;
30750 char * kwnames
[] = {
30751 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30756 if (!SWIG_IsOK(res1
)) {
30757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30759 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30760 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30761 if (!SWIG_IsOK(res2
)) {
30762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30764 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30765 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30766 if (!SWIG_IsOK(res3
)) {
30767 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30772 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30776 wxPyEndAllowThreads(__tstate
);
30777 if (PyErr_Occurred()) SWIG_fail
;
30780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30788 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
= 0;
30790 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30797 PyObject
* obj0
= 0 ;
30798 PyObject
* obj1
= 0 ;
30799 char * kwnames
[] = {
30800 (char *) "self",(char *) "pageNum", NULL
30803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30805 if (!SWIG_IsOK(res1
)) {
30806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30808 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30810 if (!SWIG_IsOK(ecode2
)) {
30811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30813 arg2
= static_cast< int >(val2
);
30815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30816 result
= (bool)(arg1
)->RenderPage(arg2
);
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30829 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
= 0;
30831 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30832 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30837 PyObject
* obj0
= 0 ;
30838 PyObject
* obj1
= 0 ;
30839 char * kwnames
[] = {
30840 (char *) "self",(char *) "canvas", NULL
30843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30845 if (!SWIG_IsOK(res1
)) {
30846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30848 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30849 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30850 if (!SWIG_IsOK(res2
)) {
30851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30853 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 (arg1
)->AdjustScrollbars(arg2
);
30857 wxPyEndAllowThreads(__tstate
);
30858 if (PyErr_Occurred()) SWIG_fail
;
30860 resultobj
= SWIG_Py_Void();
30867 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30868 PyObject
*resultobj
= 0;
30869 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30870 wxPrintDialogData
*result
= 0 ;
30873 PyObject
*swig_obj
[1] ;
30875 if (!args
) SWIG_fail
;
30876 swig_obj
[0] = args
;
30877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30878 if (!SWIG_IsOK(res1
)) {
30879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30881 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30885 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30886 result
= (wxPrintDialogData
*) &_result_ref
;
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30898 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30899 PyObject
*resultobj
= 0;
30900 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 char * kwnames
[] = {
30909 (char *) "self",(char *) "percent", NULL
30912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30914 if (!SWIG_IsOK(res1
)) {
30915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30917 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30919 if (!SWIG_IsOK(ecode2
)) {
30920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30922 arg2
= static_cast< int >(val2
);
30924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30925 (arg1
)->SetZoom(arg2
);
30926 wxPyEndAllowThreads(__tstate
);
30927 if (PyErr_Occurred()) SWIG_fail
;
30929 resultobj
= SWIG_Py_Void();
30936 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30937 PyObject
*resultobj
= 0;
30938 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30942 PyObject
*swig_obj
[1] ;
30944 if (!args
) SWIG_fail
;
30945 swig_obj
[0] = args
;
30946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30947 if (!SWIG_IsOK(res1
)) {
30948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30950 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30953 result
= (int)(arg1
)->GetZoom();
30954 wxPyEndAllowThreads(__tstate
);
30955 if (PyErr_Occurred()) SWIG_fail
;
30957 resultobj
= SWIG_From_int(static_cast< int >(result
));
30964 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30965 PyObject
*resultobj
= 0;
30966 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30970 PyObject
*swig_obj
[1] ;
30972 if (!args
) SWIG_fail
;
30973 swig_obj
[0] = args
;
30974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30975 if (!SWIG_IsOK(res1
)) {
30976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30978 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30981 result
= (int)(arg1
)->GetMaxPage();
30982 wxPyEndAllowThreads(__tstate
);
30983 if (PyErr_Occurred()) SWIG_fail
;
30985 resultobj
= SWIG_From_int(static_cast< int >(result
));
30992 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30993 PyObject
*resultobj
= 0;
30994 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30998 PyObject
*swig_obj
[1] ;
31000 if (!args
) SWIG_fail
;
31001 swig_obj
[0] = args
;
31002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31003 if (!SWIG_IsOK(res1
)) {
31004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31006 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31009 result
= (int)(arg1
)->GetMinPage();
31010 wxPyEndAllowThreads(__tstate
);
31011 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= SWIG_From_int(static_cast< int >(result
));
31020 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31021 PyObject
*resultobj
= 0;
31022 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31026 PyObject
*swig_obj
[1] ;
31028 if (!args
) SWIG_fail
;
31029 swig_obj
[0] = args
;
31030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31031 if (!SWIG_IsOK(res1
)) {
31032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31034 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 result
= (bool)(arg1
)->IsOk();
31038 wxPyEndAllowThreads(__tstate
);
31039 if (PyErr_Occurred()) SWIG_fail
;
31042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31050 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31051 PyObject
*resultobj
= 0;
31052 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 char * kwnames
[] = {
31061 (char *) "self",(char *) "ok", NULL
31064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31066 if (!SWIG_IsOK(res1
)) {
31067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31069 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31070 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31071 if (!SWIG_IsOK(ecode2
)) {
31072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
31074 arg2
= static_cast< bool >(val2
);
31076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31077 (arg1
)->SetOk(arg2
);
31078 wxPyEndAllowThreads(__tstate
);
31079 if (PyErr_Occurred()) SWIG_fail
;
31081 resultobj
= SWIG_Py_Void();
31088 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31089 PyObject
*resultobj
= 0;
31090 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31097 PyObject
* obj0
= 0 ;
31098 PyObject
* obj1
= 0 ;
31099 char * kwnames
[] = {
31100 (char *) "self",(char *) "interactive", NULL
31103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31105 if (!SWIG_IsOK(res1
)) {
31106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31108 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31109 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31110 if (!SWIG_IsOK(ecode2
)) {
31111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
31113 arg2
= static_cast< bool >(val2
);
31115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31116 result
= (bool)(arg1
)->Print(arg2
);
31117 wxPyEndAllowThreads(__tstate
);
31118 if (PyErr_Occurred()) SWIG_fail
;
31121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31129 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31130 PyObject
*resultobj
= 0;
31131 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31134 PyObject
*swig_obj
[1] ;
31136 if (!args
) SWIG_fail
;
31137 swig_obj
[0] = args
;
31138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31139 if (!SWIG_IsOK(res1
)) {
31140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31142 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31145 (arg1
)->DetermineScaling();
31146 wxPyEndAllowThreads(__tstate
);
31147 if (PyErr_Occurred()) SWIG_fail
;
31149 resultobj
= SWIG_Py_Void();
31156 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31159 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
31160 return SWIG_Py_Void();
31163 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31164 return SWIG_Python_InitShadowInstance(args
);
31167 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31168 PyObject
*resultobj
= 0;
31169 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31170 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31171 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
31172 wxPyPrintPreview
*result
= 0 ;
31178 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
31179 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31180 if (!SWIG_IsOK(res1
)) {
31181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31183 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31184 if (!SWIG_IsOK(res2
)) {
31185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31188 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
31189 if (!SWIG_IsOK(res3
)) {
31190 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
31192 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
31195 if (!wxPyCheckForApp()) SWIG_fail
;
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31198 wxPyEndAllowThreads(__tstate
);
31199 if (PyErr_Occurred()) SWIG_fail
;
31201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31208 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31209 PyObject
*resultobj
= 0;
31210 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31211 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31212 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
31213 wxPyPrintPreview
*result
= 0 ;
31219 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
31220 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31221 if (!SWIG_IsOK(res1
)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31224 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31225 if (!SWIG_IsOK(res2
)) {
31226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31228 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
31229 if (!SWIG_IsOK(res3
)) {
31230 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31232 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
31234 if (!wxPyCheckForApp()) SWIG_fail
;
31235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31236 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31237 wxPyEndAllowThreads(__tstate
);
31238 if (PyErr_Occurred()) SWIG_fail
;
31240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31247 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
31251 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
31253 if ((argc
>= 2) && (argc
<= 3)) {
31258 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
31259 _v
= SWIG_CheckState(res
);
31261 if (!_v
) goto check_1
;
31263 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
31268 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
31272 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
31277 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31278 PyObject
*resultobj
= 0;
31279 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
31280 PyObject
*arg2
= (PyObject
*) 0 ;
31281 PyObject
*arg3
= (PyObject
*) 0 ;
31284 PyObject
* obj0
= 0 ;
31285 PyObject
* obj1
= 0 ;
31286 PyObject
* obj2
= 0 ;
31287 char * kwnames
[] = {
31288 (char *) "self",(char *) "self",(char *) "_class", NULL
31291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
31293 if (!SWIG_IsOK(res1
)) {
31294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31296 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
31300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31301 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31302 wxPyEndAllowThreads(__tstate
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31305 resultobj
= SWIG_Py_Void();
31312 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31315 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
31316 return SWIG_Py_Void();
31319 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31320 return SWIG_Python_InitShadowInstance(args
);
31323 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31324 PyObject
*resultobj
= 0;
31325 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31326 wxFrame
*arg2
= (wxFrame
*) 0 ;
31327 wxString
*arg3
= 0 ;
31328 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31329 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31330 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31331 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31332 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31333 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31334 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31335 wxPyPreviewFrame
*result
= 0 ;
31339 bool temp3
= false ;
31344 bool temp7
= false ;
31345 PyObject
* obj0
= 0 ;
31346 PyObject
* obj1
= 0 ;
31347 PyObject
* obj2
= 0 ;
31348 PyObject
* obj3
= 0 ;
31349 PyObject
* obj4
= 0 ;
31350 PyObject
* obj5
= 0 ;
31351 PyObject
* obj6
= 0 ;
31352 char * kwnames
[] = {
31353 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31357 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31358 if (!SWIG_IsOK(res1
)) {
31359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31361 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31362 if (!SWIG_IsOK(res2
)) {
31363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31365 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31367 arg3
= wxString_in_helper(obj2
);
31368 if (arg3
== NULL
) SWIG_fail
;
31374 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31380 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31384 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31385 if (!SWIG_IsOK(ecode6
)) {
31386 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31388 arg6
= static_cast< long >(val6
);
31392 arg7
= wxString_in_helper(obj6
);
31393 if (arg7
== NULL
) SWIG_fail
;
31398 if (!wxPyCheckForApp()) SWIG_fail
;
31399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31400 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31427 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31428 PyObject
*resultobj
= 0;
31429 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31430 PyObject
*arg2
= (PyObject
*) 0 ;
31431 PyObject
*arg3
= (PyObject
*) 0 ;
31434 PyObject
* obj0
= 0 ;
31435 PyObject
* obj1
= 0 ;
31436 PyObject
* obj2
= 0 ;
31437 char * kwnames
[] = {
31438 (char *) "self",(char *) "self",(char *) "_class", NULL
31441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31443 if (!SWIG_IsOK(res1
)) {
31444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31446 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31451 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31452 wxPyEndAllowThreads(__tstate
);
31453 if (PyErr_Occurred()) SWIG_fail
;
31455 resultobj
= SWIG_Py_Void();
31462 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31463 PyObject
*resultobj
= 0;
31464 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31465 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31470 PyObject
* obj0
= 0 ;
31471 PyObject
* obj1
= 0 ;
31472 char * kwnames
[] = {
31473 (char *) "self",(char *) "canvas", NULL
31476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31478 if (!SWIG_IsOK(res1
)) {
31479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31481 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31482 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31483 if (!SWIG_IsOK(res2
)) {
31484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31486 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31489 (arg1
)->SetPreviewCanvas(arg2
);
31490 wxPyEndAllowThreads(__tstate
);
31491 if (PyErr_Occurred()) SWIG_fail
;
31493 resultobj
= SWIG_Py_Void();
31500 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31501 PyObject
*resultobj
= 0;
31502 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31503 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31508 PyObject
* obj0
= 0 ;
31509 PyObject
* obj1
= 0 ;
31510 char * kwnames
[] = {
31511 (char *) "self",(char *) "bar", NULL
31514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31516 if (!SWIG_IsOK(res1
)) {
31517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31519 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31521 if (!SWIG_IsOK(res2
)) {
31522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31524 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 (arg1
)->SetControlBar(arg2
);
31528 wxPyEndAllowThreads(__tstate
);
31529 if (PyErr_Occurred()) SWIG_fail
;
31531 resultobj
= SWIG_Py_Void();
31538 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31539 PyObject
*resultobj
= 0;
31540 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31543 PyObject
*swig_obj
[1] ;
31545 if (!args
) SWIG_fail
;
31546 swig_obj
[0] = args
;
31547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31548 if (!SWIG_IsOK(res1
)) {
31549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31551 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31554 (arg1
)->Initialize();
31555 wxPyEndAllowThreads(__tstate
);
31556 if (PyErr_Occurred()) SWIG_fail
;
31558 resultobj
= SWIG_Py_Void();
31565 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31566 PyObject
*resultobj
= 0;
31567 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31570 PyObject
*swig_obj
[1] ;
31572 if (!args
) SWIG_fail
;
31573 swig_obj
[0] = args
;
31574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31575 if (!SWIG_IsOK(res1
)) {
31576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31578 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31581 (arg1
)->CreateCanvas();
31582 wxPyEndAllowThreads(__tstate
);
31583 if (PyErr_Occurred()) SWIG_fail
;
31585 resultobj
= SWIG_Py_Void();
31592 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31593 PyObject
*resultobj
= 0;
31594 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31597 PyObject
*swig_obj
[1] ;
31599 if (!args
) SWIG_fail
;
31600 swig_obj
[0] = args
;
31601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31602 if (!SWIG_IsOK(res1
)) {
31603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31605 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 (arg1
)->CreateControlBar();
31609 wxPyEndAllowThreads(__tstate
);
31610 if (PyErr_Occurred()) SWIG_fail
;
31612 resultobj
= SWIG_Py_Void();
31619 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31622 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31623 return SWIG_Py_Void();
31626 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31627 return SWIG_Python_InitShadowInstance(args
);
31630 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31631 PyObject
*resultobj
= 0;
31632 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31634 wxWindow
*arg3
= (wxWindow
*) 0 ;
31635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31639 long arg6
= (long) 0 ;
31640 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31641 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31642 wxPyPreviewControlBar
*result
= 0 ;
31652 bool temp7
= false ;
31653 PyObject
* obj0
= 0 ;
31654 PyObject
* obj1
= 0 ;
31655 PyObject
* obj2
= 0 ;
31656 PyObject
* obj3
= 0 ;
31657 PyObject
* obj4
= 0 ;
31658 PyObject
* obj5
= 0 ;
31659 PyObject
* obj6
= 0 ;
31660 char * kwnames
[] = {
31661 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31665 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31666 if (!SWIG_IsOK(res1
)) {
31667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31669 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31670 if (!SWIG_IsOK(ecode2
)) {
31671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31673 arg2
= static_cast< long >(val2
);
31674 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31675 if (!SWIG_IsOK(res3
)) {
31676 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31678 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31682 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31688 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31692 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31693 if (!SWIG_IsOK(ecode6
)) {
31694 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31696 arg6
= static_cast< long >(val6
);
31700 arg7
= wxString_in_helper(obj6
);
31701 if (arg7
== NULL
) SWIG_fail
;
31706 if (!wxPyCheckForApp()) SWIG_fail
;
31707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31708 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31709 wxPyEndAllowThreads(__tstate
);
31710 if (PyErr_Occurred()) SWIG_fail
;
31712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31727 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31728 PyObject
*resultobj
= 0;
31729 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31730 PyObject
*arg2
= (PyObject
*) 0 ;
31731 PyObject
*arg3
= (PyObject
*) 0 ;
31734 PyObject
* obj0
= 0 ;
31735 PyObject
* obj1
= 0 ;
31736 PyObject
* obj2
= 0 ;
31737 char * kwnames
[] = {
31738 (char *) "self",(char *) "self",(char *) "_class", NULL
31741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31743 if (!SWIG_IsOK(res1
)) {
31744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31746 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31751 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31752 wxPyEndAllowThreads(__tstate
);
31753 if (PyErr_Occurred()) SWIG_fail
;
31755 resultobj
= SWIG_Py_Void();
31762 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31763 PyObject
*resultobj
= 0;
31764 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31765 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31769 PyObject
* obj0
= 0 ;
31770 PyObject
* obj1
= 0 ;
31771 char * kwnames
[] = {
31772 (char *) "self",(char *) "preview", NULL
31775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31777 if (!SWIG_IsOK(res1
)) {
31778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31780 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31781 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31782 if (!SWIG_IsOK(res2
)) {
31783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31787 (arg1
)->SetPrintPreview(arg2
);
31788 wxPyEndAllowThreads(__tstate
);
31789 if (PyErr_Occurred()) SWIG_fail
;
31791 resultobj
= SWIG_Py_Void();
31798 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31799 PyObject
*resultobj
= 0;
31800 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31803 PyObject
*swig_obj
[1] ;
31805 if (!args
) SWIG_fail
;
31806 swig_obj
[0] = args
;
31807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31808 if (!SWIG_IsOK(res1
)) {
31809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31811 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31814 (arg1
)->CreateButtons();
31815 wxPyEndAllowThreads(__tstate
);
31816 if (PyErr_Occurred()) SWIG_fail
;
31818 resultobj
= SWIG_Py_Void();
31825 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31826 PyObject
*resultobj
= 0;
31827 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31833 PyObject
* obj0
= 0 ;
31834 PyObject
* obj1
= 0 ;
31835 char * kwnames
[] = {
31836 (char *) "self",(char *) "zoom", NULL
31839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31841 if (!SWIG_IsOK(res1
)) {
31842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31844 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31846 if (!SWIG_IsOK(ecode2
)) {
31847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31849 arg2
= static_cast< int >(val2
);
31851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31852 (arg1
)->SetZoomControl(arg2
);
31853 wxPyEndAllowThreads(__tstate
);
31854 if (PyErr_Occurred()) SWIG_fail
;
31856 resultobj
= SWIG_Py_Void();
31863 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31866 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31867 return SWIG_Py_Void();
31870 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31871 return SWIG_Python_InitShadowInstance(args
);
31874 static PyMethodDef SwigMethods
[] = {
31875 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31877 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31879 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31881 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31882 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31884 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31891 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31893 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31895 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31896 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31897 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31898 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31899 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31902 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31904 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31907 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31908 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31910 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31912 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31913 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31914 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31915 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31919 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31921 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31925 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31927 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31929 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31932 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31933 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31935 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31937 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31939 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31942 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31949 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31951 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31956 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31957 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31959 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31962 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31964 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31966 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31971 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31972 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31975 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31976 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31978 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31980 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31981 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31984 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31985 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31986 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31988 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31989 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31990 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31991 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31992 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31994 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31997 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
32006 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
32007 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
32009 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
32010 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
32012 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
32014 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
32015 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
32017 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
32023 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
32024 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
32027 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
32028 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
32030 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
32032 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
32034 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
32036 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
32038 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
32040 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
32041 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
32044 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
32045 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
32046 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
32047 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
32048 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
32049 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
32051 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
32057 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
32059 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
32062 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
32063 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
32066 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
32067 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
32069 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
32070 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
32071 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
32074 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
32076 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
32078 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
32079 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
32080 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
32083 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
32085 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
32087 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
32089 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
32091 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
32092 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
32093 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
32096 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
32098 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
32099 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
32100 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
32102 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
32104 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
32105 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
32109 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
32110 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
32111 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
32112 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
32116 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
32117 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
32119 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
32122 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
32123 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
32125 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
32128 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
32129 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
32130 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
32133 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
32134 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
32135 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
32137 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
32146 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
32147 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
32148 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
32149 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
32151 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
32152 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32155 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32156 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
32158 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
32161 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
32162 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
32163 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
32166 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
32167 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
32169 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
32170 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
32172 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
32177 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
32178 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"VListBox_RefreshSelected", (PyCFunction
)_wrap_VListBox_RefreshSelected
, METH_O
, NULL
},
32182 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
32185 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
32186 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
32188 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
32192 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32194 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32195 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
32197 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32199 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32200 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
32201 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
32202 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
32204 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
32205 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
32206 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
32208 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
32210 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
32211 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
32213 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
32214 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
32215 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
32216 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
32217 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
32218 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
32223 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
32224 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
32226 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
32227 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
32228 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
32231 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
32232 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
32235 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
32236 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
32244 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
32245 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
32246 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
32247 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
32248 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
32249 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
32250 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
32251 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
32252 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
32253 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
32256 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32257 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32258 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
32260 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
32261 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32263 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32264 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
32266 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32268 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32269 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32271 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32272 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
32274 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32275 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32276 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
32277 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
32278 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
32280 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
32281 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
32282 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
32283 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
32284 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
32285 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
32292 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
32293 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
32295 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
32296 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
32297 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
32300 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
32301 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
32305 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
32306 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
32307 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
32309 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
32310 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
32311 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
32312 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
32316 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
32317 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
32319 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
32320 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
32321 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
32322 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
32326 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
32327 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
32329 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
32331 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
32333 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
32334 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
32336 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
32338 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
32339 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
32340 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
32341 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
32342 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
32343 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
32344 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
32347 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
32348 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
32350 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
32352 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
32353 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32354 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32356 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32358 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32359 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32361 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32368 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32369 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32370 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32371 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32372 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32373 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32374 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32375 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32376 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32378 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32385 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32386 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32387 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32388 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32389 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32390 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32391 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32392 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32393 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32395 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32402 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32403 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32404 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32405 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32406 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32407 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32408 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32409 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32410 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32411 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32412 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32413 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32414 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32415 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
32416 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32417 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32418 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32419 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32420 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32421 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32422 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32423 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32424 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32425 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32426 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32440 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32442 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32444 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32445 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32446 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32447 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32453 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32454 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32455 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32456 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32457 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32458 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32459 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32460 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32461 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32462 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32463 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32464 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32465 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32466 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32467 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32477 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32478 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32479 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32480 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32482 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32483 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32484 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32485 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32486 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32487 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32488 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32489 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32490 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32491 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32492 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32493 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32494 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32495 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32496 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32497 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32498 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32501 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32503 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32512 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32513 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32514 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32515 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32516 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32517 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32519 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32520 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32522 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32523 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32524 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32525 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32526 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32527 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32528 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32530 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32536 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32537 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32538 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32539 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32540 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32541 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32542 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32543 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32544 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32545 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32546 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32547 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32548 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32549 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32550 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32551 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32552 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32553 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32554 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32555 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32556 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32557 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32560 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32561 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32562 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32563 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32564 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32565 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32566 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32568 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32569 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32571 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32572 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32573 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32574 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32575 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32576 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32577 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32578 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32579 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32580 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32581 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32582 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32583 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32584 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32585 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32586 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32587 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32588 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32589 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32590 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32591 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32592 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32593 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32594 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32595 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32596 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32597 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32598 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32599 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32600 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32601 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32602 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32603 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32604 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32605 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32606 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32607 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32608 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32609 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32610 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32611 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32612 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32613 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32614 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32615 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32616 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32617 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32618 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32619 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32620 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32621 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32622 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32623 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32624 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32625 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32626 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32627 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32628 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32629 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32630 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32631 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32632 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32633 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32634 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32635 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32636 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32637 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32638 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32639 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32640 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32641 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32642 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32643 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32644 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32645 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32646 { NULL
, NULL
, 0, NULL
}
32650 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32652 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32653 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32655 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32656 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32658 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32659 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32661 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32662 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32664 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32665 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32667 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32668 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32670 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32671 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32673 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32674 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32676 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32677 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32679 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32680 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32682 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32683 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32685 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32686 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32688 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32689 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32691 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32692 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32694 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32695 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32697 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32698 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32700 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32701 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32703 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32704 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32706 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32707 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32709 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32710 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32712 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32713 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32715 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32716 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32718 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32719 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32721 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32722 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32724 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32725 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32727 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32728 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32730 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32731 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32733 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32734 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32736 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32737 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32739 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32740 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32742 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32743 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32745 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32746 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32748 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32749 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32751 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32752 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32754 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32755 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32757 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32758 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32760 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32761 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32763 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32764 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32766 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32767 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32769 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32770 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32772 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32773 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32775 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32776 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32778 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32779 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32781 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32782 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32784 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32785 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32787 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32788 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32790 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
32791 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
32793 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32794 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32796 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32797 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32799 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32800 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32802 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32803 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32805 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
32806 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
32808 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32809 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32811 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32812 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32814 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32815 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32817 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32818 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32820 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32821 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32823 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32824 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32826 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32827 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32829 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32830 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32832 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32833 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32835 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32836 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32838 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32839 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32841 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32842 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32844 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32845 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32847 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32848 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32850 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32851 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32853 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32854 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32856 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32859 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32860 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32862 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32863 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32865 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32866 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32868 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32869 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32871 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32872 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32874 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32875 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32877 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32878 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32880 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32881 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32883 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32884 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32886 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32887 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32889 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32890 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32892 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32893 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32895 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32896 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32898 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32899 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32901 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32902 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32904 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32905 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32907 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32908 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32910 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32911 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32913 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32914 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32916 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32917 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32919 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32920 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32922 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32923 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32925 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32926 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32928 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32929 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32931 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32932 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32934 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32935 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32937 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32938 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32940 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32941 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32943 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32944 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32946 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32947 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32949 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32950 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32952 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32953 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32955 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32956 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32958 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32959 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32961 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
32962 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32964 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32965 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32967 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32968 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32970 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32971 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32973 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32974 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32976 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32977 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32979 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32980 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32982 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32983 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32985 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32986 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32988 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32989 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32991 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
32992 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
32994 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32997 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33000 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33001 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33003 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33004 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33006 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33009 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33010 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33012 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33013 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33015 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33016 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33018 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33019 return (void *)((wxObject
*) ((wxSizer
*) x
));
33021 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33022 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33024 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33025 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33027 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
33028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
33030 static void *_p_wxEventTo_p_wxObject(void *x
) {
33031 return (void *)((wxObject
*) ((wxEvent
*) x
));
33033 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
33034 return (void *)((wxObject
*) ((wxFontData
*) x
));
33036 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
33037 return (void *)((wxObject
*) ((wxPrintData
*) x
));
33039 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33040 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33042 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33043 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33045 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33046 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33048 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
33049 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
33051 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
33052 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
33054 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
33055 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33057 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
33058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33060 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33061 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33063 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33064 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33066 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33067 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33069 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33070 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33072 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33073 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33075 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33076 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33078 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
33079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33081 static void *_p_wxControlTo_p_wxObject(void *x
) {
33082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33084 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33085 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33087 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33088 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33090 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33091 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33093 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33094 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33096 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33097 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33099 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33102 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33103 return (void *)((wxObject
*) ((wxColourData
*) x
));
33105 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33106 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33108 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33109 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33111 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33112 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33114 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33117 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33120 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33123 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33126 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33129 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
33130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33132 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
33133 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33135 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33136 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33138 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33141 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33142 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33144 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33145 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33147 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33148 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33150 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33151 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33153 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33154 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33156 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33157 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33159 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33160 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33162 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33163 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33165 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33166 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33168 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33169 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33171 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33172 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33174 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33175 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33177 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33178 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33180 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33181 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33183 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33184 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33186 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33187 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33189 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33190 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33192 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33193 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33195 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33196 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33198 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33199 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33201 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33202 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33204 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33205 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33207 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33208 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33210 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33211 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33213 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33214 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33216 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33217 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33219 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
33220 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
33222 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33223 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33225 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
33226 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
33228 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33229 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33231 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33234 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33237 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
33238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33240 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33241 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33243 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33244 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33246 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33249 static void *_p_wxImageTo_p_wxObject(void *x
) {
33250 return (void *)((wxObject
*) ((wxImage
*) x
));
33252 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33253 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33255 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33256 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33258 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33259 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33261 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33262 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33264 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33267 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33270 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33271 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33273 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33274 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33276 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33277 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33279 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33280 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33282 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33283 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33285 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33288 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33291 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33294 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33297 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33300 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33303 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33306 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33309 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33312 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33315 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33318 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33321 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33324 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33325 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33327 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33328 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33330 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33331 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33333 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33334 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33336 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33339 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33340 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33342 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33345 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33348 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33349 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
33351 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33352 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
33354 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33355 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33357 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33358 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33360 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33361 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33363 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33364 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33366 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33367 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33369 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33370 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33372 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33373 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33375 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33376 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33378 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33379 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33381 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33384 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33387 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33388 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33390 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33391 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33393 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33394 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33396 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33399 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33400 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33402 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33403 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33405 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33408 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33409 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33411 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33412 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33414 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33415 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33417 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33418 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33420 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
33421 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33423 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33424 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33426 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
33427 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33429 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33430 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33432 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33433 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33435 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33436 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33438 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33439 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33441 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33442 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33444 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33445 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33447 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33448 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33450 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33451 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33453 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33454 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33456 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33457 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33459 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33460 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33462 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33463 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33465 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33466 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33468 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33469 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33471 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33472 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33474 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33475 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33477 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33478 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33480 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33481 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33483 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33484 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33486 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33487 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33489 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33490 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33492 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33493 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33495 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33496 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33498 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33499 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33501 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33502 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33504 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33505 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33507 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33508 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33510 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33511 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33513 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33514 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33516 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33517 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33519 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33520 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33522 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33523 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33525 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33526 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33528 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33529 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33531 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33532 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33534 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33535 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33537 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33538 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33540 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33541 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33543 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33544 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33546 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33547 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33549 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33550 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33552 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33553 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33555 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33556 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33558 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33559 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33561 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33562 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33564 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33565 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33567 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33568 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33570 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33571 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33573 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33574 return (void *)((wxWindow
*) ((wxControl
*) x
));
33576 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33577 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33579 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33580 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33582 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33583 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33585 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33586 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33588 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33589 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33591 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33592 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33594 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
33595 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33597 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33598 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33600 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33601 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33603 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33604 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33606 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33607 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33609 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33610 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33612 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33613 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33615 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33616 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33618 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33619 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33621 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33622 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33624 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33625 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33627 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33628 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33630 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33631 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33633 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33634 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33636 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33637 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33639 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33640 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33642 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33643 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33645 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33646 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33648 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33649 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33651 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33652 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33654 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33655 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33657 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33658 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33660 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33661 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33663 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33664 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33666 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33667 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33669 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33670 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33672 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33673 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33675 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33676 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33678 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33679 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33681 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33682 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33684 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
33685 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33687 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33688 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33690 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33691 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33693 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33694 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33696 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33697 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33699 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33700 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33702 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33703 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33705 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33706 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33708 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33709 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33711 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33712 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33714 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33715 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33717 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33718 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33720 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33721 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33723 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33724 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33726 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33727 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33729 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33730 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33732 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33733 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33735 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33736 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33738 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33739 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33741 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33742 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33744 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33745 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33746 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};
33747 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33748 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33749 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33750 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33751 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33752 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33753 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33754 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33755 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33756 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33757 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33758 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33759 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33760 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33761 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33762 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33763 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33764 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33765 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33766 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33767 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33768 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33769 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33770 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33771 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33772 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33773 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33774 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33775 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33776 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33777 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33778 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33779 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33780 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33781 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33782 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33783 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33784 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33785 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33786 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33787 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33788 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33789 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33790 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33791 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33792 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33793 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33794 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33795 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33796 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33797 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33798 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33799 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33800 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
33801 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33802 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33803 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33804 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33805 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33806 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33807 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33808 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33809 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33810 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33811 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33812 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33813 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33814 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33815 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33816 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33817 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33818 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33819 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33820 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33821 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33822 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33823 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33824 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33825 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33826 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33827 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33828 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33829 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33830 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33831 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33832 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33833 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33834 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33835 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33836 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33837 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33838 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33839 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33840 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33841 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33842 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33843 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33844 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33845 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33846 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33847 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33848 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33849 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33850 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33851 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33852 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33853 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33854 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33855 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33856 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33857 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33858 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33859 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33860 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33861 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33862 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33863 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33864 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33865 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33866 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33867 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33868 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33869 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33870 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33871 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33872 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33873 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33874 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33875 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33876 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33877 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33878 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33879 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33880 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33881 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33882 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33883 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33884 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33885 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33886 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33887 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33888 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33889 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33890 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33891 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33892 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33893 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33894 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33895 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33896 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33897 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33898 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33899 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33900 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33901 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33902 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33903 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33904 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33905 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33906 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33907 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33908 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33909 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33910 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33911 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33912 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33913 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33915 static swig_type_info
*swig_type_initial
[] = {
33918 &_swigt__p_form_ops_t
,
33920 &_swigt__p_unsigned_char
,
33921 &_swigt__p_unsigned_int
,
33922 &_swigt__p_unsigned_long
,
33923 &_swigt__p_wxANIHandler
,
33924 &_swigt__p_wxAcceleratorTable
,
33925 &_swigt__p_wxActivateEvent
,
33926 &_swigt__p_wxArrayInt
,
33927 &_swigt__p_wxArrayString
,
33928 &_swigt__p_wxBMPHandler
,
33929 &_swigt__p_wxBitmap
,
33930 &_swigt__p_wxBoxSizer
,
33931 &_swigt__p_wxCURHandler
,
33932 &_swigt__p_wxCalculateLayoutEvent
,
33933 &_swigt__p_wxChildFocusEvent
,
33934 &_swigt__p_wxClipboardTextEvent
,
33935 &_swigt__p_wxCloseEvent
,
33936 &_swigt__p_wxColour
,
33937 &_swigt__p_wxColourData
,
33938 &_swigt__p_wxColourDialog
,
33939 &_swigt__p_wxCommandEvent
,
33940 &_swigt__p_wxContextMenuEvent
,
33941 &_swigt__p_wxControl
,
33942 &_swigt__p_wxControlWithItems
,
33944 &_swigt__p_wxDateEvent
,
33945 &_swigt__p_wxDialog
,
33946 &_swigt__p_wxDirDialog
,
33947 &_swigt__p_wxDisplayChangedEvent
,
33948 &_swigt__p_wxDropFilesEvent
,
33949 &_swigt__p_wxDuplexMode
,
33950 &_swigt__p_wxEraseEvent
,
33951 &_swigt__p_wxEvent
,
33952 &_swigt__p_wxEventBlocker
,
33953 &_swigt__p_wxEvtHandler
,
33954 &_swigt__p_wxFSFile
,
33955 &_swigt__p_wxFileDialog
,
33956 &_swigt__p_wxFileSystem
,
33957 &_swigt__p_wxFindDialogEvent
,
33958 &_swigt__p_wxFindReplaceData
,
33959 &_swigt__p_wxFindReplaceDialog
,
33960 &_swigt__p_wxFlexGridSizer
,
33961 &_swigt__p_wxFocusEvent
,
33963 &_swigt__p_wxFontData
,
33964 &_swigt__p_wxFontDialog
,
33965 &_swigt__p_wxFrame
,
33966 &_swigt__p_wxGBSizerItem
,
33967 &_swigt__p_wxGIFHandler
,
33968 &_swigt__p_wxGridBagSizer
,
33969 &_swigt__p_wxGridSizer
,
33970 &_swigt__p_wxHtmlLinkInfo
,
33971 &_swigt__p_wxICOHandler
,
33973 &_swigt__p_wxIconBundle
,
33974 &_swigt__p_wxIconizeEvent
,
33975 &_swigt__p_wxIdleEvent
,
33976 &_swigt__p_wxImage
,
33977 &_swigt__p_wxImageHandler
,
33978 &_swigt__p_wxIndividualLayoutConstraint
,
33979 &_swigt__p_wxInitDialogEvent
,
33980 &_swigt__p_wxItemContainer
,
33981 &_swigt__p_wxJPEGHandler
,
33982 &_swigt__p_wxKeyEvent
,
33983 &_swigt__p_wxLayoutAlgorithm
,
33984 &_swigt__p_wxLayoutConstraints
,
33985 &_swigt__p_wxMDIChildFrame
,
33986 &_swigt__p_wxMDIClientWindow
,
33987 &_swigt__p_wxMDIParentFrame
,
33988 &_swigt__p_wxMaximizeEvent
,
33990 &_swigt__p_wxMenuBar
,
33991 &_swigt__p_wxMenuEvent
,
33992 &_swigt__p_wxMenuItem
,
33993 &_swigt__p_wxMessageDialog
,
33994 &_swigt__p_wxMiniFrame
,
33995 &_swigt__p_wxMouseCaptureChangedEvent
,
33996 &_swigt__p_wxMouseCaptureLostEvent
,
33997 &_swigt__p_wxMouseEvent
,
33998 &_swigt__p_wxMoveEvent
,
33999 &_swigt__p_wxMultiChoiceDialog
,
34000 &_swigt__p_wxNavigationKeyEvent
,
34001 &_swigt__p_wxNcPaintEvent
,
34002 &_swigt__p_wxNotifyEvent
,
34003 &_swigt__p_wxNumberEntryDialog
,
34004 &_swigt__p_wxObject
,
34005 &_swigt__p_wxPCXHandler
,
34006 &_swigt__p_wxPNGHandler
,
34007 &_swigt__p_wxPNMHandler
,
34008 &_swigt__p_wxPageSetupDialog
,
34009 &_swigt__p_wxPageSetupDialogData
,
34010 &_swigt__p_wxPaintEvent
,
34011 &_swigt__p_wxPaletteChangedEvent
,
34012 &_swigt__p_wxPanel
,
34013 &_swigt__p_wxPaperSize
,
34014 &_swigt__p_wxPasswordEntryDialog
,
34015 &_swigt__p_wxPoint
,
34016 &_swigt__p_wxPopupWindow
,
34017 &_swigt__p_wxPreviewCanvas
,
34018 &_swigt__p_wxPreviewControlBar
,
34019 &_swigt__p_wxPreviewFrame
,
34020 &_swigt__p_wxPrintData
,
34021 &_swigt__p_wxPrintDialog
,
34022 &_swigt__p_wxPrintDialogData
,
34023 &_swigt__p_wxPrintPreview
,
34024 &_swigt__p_wxPrinter
,
34025 &_swigt__p_wxProgressDialog
,
34026 &_swigt__p_wxPyApp
,
34027 &_swigt__p_wxPyCommandEvent
,
34028 &_swigt__p_wxPyEvent
,
34029 &_swigt__p_wxPyHtmlListBox
,
34030 &_swigt__p_wxPyImageHandler
,
34031 &_swigt__p_wxPyPanel
,
34032 &_swigt__p_wxPyPopupTransientWindow
,
34033 &_swigt__p_wxPyPreviewControlBar
,
34034 &_swigt__p_wxPyPreviewFrame
,
34035 &_swigt__p_wxPyPrintPreview
,
34036 &_swigt__p_wxPyPrintout
,
34037 &_swigt__p_wxPyScrolledWindow
,
34038 &_swigt__p_wxPySizer
,
34039 &_swigt__p_wxPyTaskBarIcon
,
34040 &_swigt__p_wxPyVListBox
,
34041 &_swigt__p_wxPyVScrolledWindow
,
34042 &_swigt__p_wxPyValidator
,
34043 &_swigt__p_wxPyWindow
,
34044 &_swigt__p_wxQueryLayoutInfoEvent
,
34045 &_swigt__p_wxQueryNewPaletteEvent
,
34047 &_swigt__p_wxRegion
,
34048 &_swigt__p_wxSashEvent
,
34049 &_swigt__p_wxSashLayoutWindow
,
34050 &_swigt__p_wxSashWindow
,
34051 &_swigt__p_wxScrollEvent
,
34052 &_swigt__p_wxScrollWinEvent
,
34053 &_swigt__p_wxScrolledWindow
,
34054 &_swigt__p_wxSetCursorEvent
,
34055 &_swigt__p_wxShowEvent
,
34056 &_swigt__p_wxSimpleHtmlListBox
,
34057 &_swigt__p_wxSingleChoiceDialog
,
34059 &_swigt__p_wxSizeEvent
,
34060 &_swigt__p_wxSizer
,
34061 &_swigt__p_wxSizerItem
,
34062 &_swigt__p_wxSplashScreen
,
34063 &_swigt__p_wxSplashScreenWindow
,
34064 &_swigt__p_wxSplitterEvent
,
34065 &_swigt__p_wxSplitterWindow
,
34066 &_swigt__p_wxStaticBoxSizer
,
34067 &_swigt__p_wxStatusBar
,
34068 &_swigt__p_wxStdDialogButtonSizer
,
34069 &_swigt__p_wxString
,
34070 &_swigt__p_wxSysColourChangedEvent
,
34071 &_swigt__p_wxTGAHandler
,
34072 &_swigt__p_wxTIFFHandler
,
34073 &_swigt__p_wxTaskBarIcon
,
34074 &_swigt__p_wxTaskBarIconEvent
,
34075 &_swigt__p_wxTextEntryDialog
,
34076 &_swigt__p_wxTipWindow
,
34077 &_swigt__p_wxToolBar
,
34078 &_swigt__p_wxTopLevelWindow
,
34079 &_swigt__p_wxUpdateUIEvent
,
34080 &_swigt__p_wxValidator
,
34081 &_swigt__p_wxVisualAttributes
,
34082 &_swigt__p_wxWindow
,
34083 &_swigt__p_wxWindowCreateEvent
,
34084 &_swigt__p_wxWindowDestroyEvent
,
34085 &_swigt__p_wxXPMHandler
,
34088 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
34089 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34090 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34091 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34092 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34093 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34094 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34095 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
34096 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34097 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34098 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
34099 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34100 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
34101 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
34102 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34103 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
34104 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34105 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34106 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34107 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34108 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34109 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34110 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34111 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}};
34112 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34113 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}};
34114 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
34115 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34116 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34117 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34118 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34119 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34120 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34121 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34122 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34123 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
34124 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34125 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34126 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34127 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34128 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34129 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34130 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34131 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34132 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34133 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34134 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34135 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34136 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34137 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34138 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34139 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34140 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34141 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34142 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}};
34143 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
34144 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34145 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34146 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34147 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34148 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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}};
34149 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
34150 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34151 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34152 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
34153 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34154 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34155 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
34156 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
34157 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}};
34158 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
34159 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34160 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
34161 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}};
34162 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
34163 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
34164 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
34165 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
34166 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34167 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34168 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
34169 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
34170 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34171 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}};
34172 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34173 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34174 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34175 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34176 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34177 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34178 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34179 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34180 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34181 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34182 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34183 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34184 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34185 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34186 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34187 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34188 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34189 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34190 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34191 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34192 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34193 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34194 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34195 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34196 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34197 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34198 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34199 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
34200 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34201 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34202 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_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_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_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_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_wxBMPHandler
, _p_wxBMPHandlerTo_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}};
34203 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
34204 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34205 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}};
34206 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34207 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34208 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34209 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}};
34210 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
34211 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}};
34212 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}};
34213 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
34214 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
34215 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34216 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}};
34217 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
34218 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
34219 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}};
34220 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
34221 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}};
34222 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
34223 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
34224 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
34225 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
34226 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
34227 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34228 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}};
34229 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}};
34230 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
34231 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
34232 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34233 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
34234 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
34235 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
34236 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}};
34237 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34238 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}};
34239 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
34240 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34241 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34242 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
34243 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
34244 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
34245 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
34246 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
34247 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34248 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34249 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34250 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
34251 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}};
34252 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
34253 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
34254 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}};
34255 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}};
34256 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
34257 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}};
34259 static swig_cast_info
*swig_cast_initial
[] = {
34262 _swigc__p_form_ops_t
,
34264 _swigc__p_unsigned_char
,
34265 _swigc__p_unsigned_int
,
34266 _swigc__p_unsigned_long
,
34267 _swigc__p_wxANIHandler
,
34268 _swigc__p_wxAcceleratorTable
,
34269 _swigc__p_wxActivateEvent
,
34270 _swigc__p_wxArrayInt
,
34271 _swigc__p_wxArrayString
,
34272 _swigc__p_wxBMPHandler
,
34273 _swigc__p_wxBitmap
,
34274 _swigc__p_wxBoxSizer
,
34275 _swigc__p_wxCURHandler
,
34276 _swigc__p_wxCalculateLayoutEvent
,
34277 _swigc__p_wxChildFocusEvent
,
34278 _swigc__p_wxClipboardTextEvent
,
34279 _swigc__p_wxCloseEvent
,
34280 _swigc__p_wxColour
,
34281 _swigc__p_wxColourData
,
34282 _swigc__p_wxColourDialog
,
34283 _swigc__p_wxCommandEvent
,
34284 _swigc__p_wxContextMenuEvent
,
34285 _swigc__p_wxControl
,
34286 _swigc__p_wxControlWithItems
,
34288 _swigc__p_wxDateEvent
,
34289 _swigc__p_wxDialog
,
34290 _swigc__p_wxDirDialog
,
34291 _swigc__p_wxDisplayChangedEvent
,
34292 _swigc__p_wxDropFilesEvent
,
34293 _swigc__p_wxDuplexMode
,
34294 _swigc__p_wxEraseEvent
,
34296 _swigc__p_wxEventBlocker
,
34297 _swigc__p_wxEvtHandler
,
34298 _swigc__p_wxFSFile
,
34299 _swigc__p_wxFileDialog
,
34300 _swigc__p_wxFileSystem
,
34301 _swigc__p_wxFindDialogEvent
,
34302 _swigc__p_wxFindReplaceData
,
34303 _swigc__p_wxFindReplaceDialog
,
34304 _swigc__p_wxFlexGridSizer
,
34305 _swigc__p_wxFocusEvent
,
34307 _swigc__p_wxFontData
,
34308 _swigc__p_wxFontDialog
,
34310 _swigc__p_wxGBSizerItem
,
34311 _swigc__p_wxGIFHandler
,
34312 _swigc__p_wxGridBagSizer
,
34313 _swigc__p_wxGridSizer
,
34314 _swigc__p_wxHtmlLinkInfo
,
34315 _swigc__p_wxICOHandler
,
34317 _swigc__p_wxIconBundle
,
34318 _swigc__p_wxIconizeEvent
,
34319 _swigc__p_wxIdleEvent
,
34321 _swigc__p_wxImageHandler
,
34322 _swigc__p_wxIndividualLayoutConstraint
,
34323 _swigc__p_wxInitDialogEvent
,
34324 _swigc__p_wxItemContainer
,
34325 _swigc__p_wxJPEGHandler
,
34326 _swigc__p_wxKeyEvent
,
34327 _swigc__p_wxLayoutAlgorithm
,
34328 _swigc__p_wxLayoutConstraints
,
34329 _swigc__p_wxMDIChildFrame
,
34330 _swigc__p_wxMDIClientWindow
,
34331 _swigc__p_wxMDIParentFrame
,
34332 _swigc__p_wxMaximizeEvent
,
34334 _swigc__p_wxMenuBar
,
34335 _swigc__p_wxMenuEvent
,
34336 _swigc__p_wxMenuItem
,
34337 _swigc__p_wxMessageDialog
,
34338 _swigc__p_wxMiniFrame
,
34339 _swigc__p_wxMouseCaptureChangedEvent
,
34340 _swigc__p_wxMouseCaptureLostEvent
,
34341 _swigc__p_wxMouseEvent
,
34342 _swigc__p_wxMoveEvent
,
34343 _swigc__p_wxMultiChoiceDialog
,
34344 _swigc__p_wxNavigationKeyEvent
,
34345 _swigc__p_wxNcPaintEvent
,
34346 _swigc__p_wxNotifyEvent
,
34347 _swigc__p_wxNumberEntryDialog
,
34348 _swigc__p_wxObject
,
34349 _swigc__p_wxPCXHandler
,
34350 _swigc__p_wxPNGHandler
,
34351 _swigc__p_wxPNMHandler
,
34352 _swigc__p_wxPageSetupDialog
,
34353 _swigc__p_wxPageSetupDialogData
,
34354 _swigc__p_wxPaintEvent
,
34355 _swigc__p_wxPaletteChangedEvent
,
34357 _swigc__p_wxPaperSize
,
34358 _swigc__p_wxPasswordEntryDialog
,
34360 _swigc__p_wxPopupWindow
,
34361 _swigc__p_wxPreviewCanvas
,
34362 _swigc__p_wxPreviewControlBar
,
34363 _swigc__p_wxPreviewFrame
,
34364 _swigc__p_wxPrintData
,
34365 _swigc__p_wxPrintDialog
,
34366 _swigc__p_wxPrintDialogData
,
34367 _swigc__p_wxPrintPreview
,
34368 _swigc__p_wxPrinter
,
34369 _swigc__p_wxProgressDialog
,
34371 _swigc__p_wxPyCommandEvent
,
34372 _swigc__p_wxPyEvent
,
34373 _swigc__p_wxPyHtmlListBox
,
34374 _swigc__p_wxPyImageHandler
,
34375 _swigc__p_wxPyPanel
,
34376 _swigc__p_wxPyPopupTransientWindow
,
34377 _swigc__p_wxPyPreviewControlBar
,
34378 _swigc__p_wxPyPreviewFrame
,
34379 _swigc__p_wxPyPrintPreview
,
34380 _swigc__p_wxPyPrintout
,
34381 _swigc__p_wxPyScrolledWindow
,
34382 _swigc__p_wxPySizer
,
34383 _swigc__p_wxPyTaskBarIcon
,
34384 _swigc__p_wxPyVListBox
,
34385 _swigc__p_wxPyVScrolledWindow
,
34386 _swigc__p_wxPyValidator
,
34387 _swigc__p_wxPyWindow
,
34388 _swigc__p_wxQueryLayoutInfoEvent
,
34389 _swigc__p_wxQueryNewPaletteEvent
,
34391 _swigc__p_wxRegion
,
34392 _swigc__p_wxSashEvent
,
34393 _swigc__p_wxSashLayoutWindow
,
34394 _swigc__p_wxSashWindow
,
34395 _swigc__p_wxScrollEvent
,
34396 _swigc__p_wxScrollWinEvent
,
34397 _swigc__p_wxScrolledWindow
,
34398 _swigc__p_wxSetCursorEvent
,
34399 _swigc__p_wxShowEvent
,
34400 _swigc__p_wxSimpleHtmlListBox
,
34401 _swigc__p_wxSingleChoiceDialog
,
34403 _swigc__p_wxSizeEvent
,
34405 _swigc__p_wxSizerItem
,
34406 _swigc__p_wxSplashScreen
,
34407 _swigc__p_wxSplashScreenWindow
,
34408 _swigc__p_wxSplitterEvent
,
34409 _swigc__p_wxSplitterWindow
,
34410 _swigc__p_wxStaticBoxSizer
,
34411 _swigc__p_wxStatusBar
,
34412 _swigc__p_wxStdDialogButtonSizer
,
34413 _swigc__p_wxString
,
34414 _swigc__p_wxSysColourChangedEvent
,
34415 _swigc__p_wxTGAHandler
,
34416 _swigc__p_wxTIFFHandler
,
34417 _swigc__p_wxTaskBarIcon
,
34418 _swigc__p_wxTaskBarIconEvent
,
34419 _swigc__p_wxTextEntryDialog
,
34420 _swigc__p_wxTipWindow
,
34421 _swigc__p_wxToolBar
,
34422 _swigc__p_wxTopLevelWindow
,
34423 _swigc__p_wxUpdateUIEvent
,
34424 _swigc__p_wxValidator
,
34425 _swigc__p_wxVisualAttributes
,
34426 _swigc__p_wxWindow
,
34427 _swigc__p_wxWindowCreateEvent
,
34428 _swigc__p_wxWindowDestroyEvent
,
34429 _swigc__p_wxXPMHandler
,
34433 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34435 static swig_const_info swig_const_table
[] = {
34436 {0, 0, 0, 0.0, 0, 0}};
34441 /* -----------------------------------------------------------------------------
34442 * Type initialization:
34443 * This problem is tough by the requirement that no dynamic
34444 * memory is used. Also, since swig_type_info structures store pointers to
34445 * swig_cast_info structures and swig_cast_info structures store pointers back
34446 * to swig_type_info structures, we need some lookup code at initialization.
34447 * The idea is that swig generates all the structures that are needed.
34448 * The runtime then collects these partially filled structures.
34449 * The SWIG_InitializeModule function takes these initial arrays out of
34450 * swig_module, and does all the lookup, filling in the swig_module.types
34451 * array with the correct data and linking the correct swig_cast_info
34452 * structures together.
34454 * The generated swig_type_info structures are assigned staticly to an initial
34455 * array. We just loop though that array, and handle each type individually.
34456 * First we lookup if this type has been already loaded, and if so, use the
34457 * loaded structure instead of the generated one. Then we have to fill in the
34458 * cast linked list. The cast data is initially stored in something like a
34459 * two-dimensional array. Each row corresponds to a type (there are the same
34460 * number of rows as there are in the swig_type_initial array). Each entry in
34461 * a column is one of the swig_cast_info structures for that type.
34462 * The cast_initial array is actually an array of arrays, because each row has
34463 * a variable number of columns. So to actually build the cast linked list,
34464 * we find the array of casts associated with the type, and loop through it
34465 * adding the casts to the list. The one last trick we need to do is making
34466 * sure the type pointer in the swig_cast_info struct is correct.
34468 * First off, we lookup the cast->type name to see if it is already loaded.
34469 * There are three cases to handle:
34470 * 1) If the cast->type has already been loaded AND the type we are adding
34471 * casting info to has not been loaded (it is in this module), THEN we
34472 * replace the cast->type pointer with the type pointer that has already
34474 * 2) If BOTH types (the one we are adding casting info to, and the
34475 * cast->type) are loaded, THEN the cast info has already been loaded by
34476 * the previous module so we just ignore it.
34477 * 3) Finally, if cast->type has not already been loaded, then we add that
34478 * swig_cast_info to the linked list (because the cast->type) pointer will
34480 * ----------------------------------------------------------------------------- */
34490 #define SWIGRUNTIME_DEBUG
34494 SWIG_InitializeModule(void *clientdata
) {
34496 swig_module_info
*module_head
;
34497 static int init_run
= 0;
34499 clientdata
= clientdata
;
34501 if (init_run
) return;
34504 /* Initialize the swig_module */
34505 swig_module
.type_initial
= swig_type_initial
;
34506 swig_module
.cast_initial
= swig_cast_initial
;
34508 /* Try and load any already created modules */
34509 module_head
= SWIG_GetModule(clientdata
);
34511 swig_module
.next
= module_head
->next
;
34512 module_head
->next
= &swig_module
;
34514 /* This is the first module loaded */
34515 swig_module
.next
= &swig_module
;
34516 SWIG_SetModule(clientdata
, &swig_module
);
34519 /* Now work on filling in swig_module.types */
34520 #ifdef SWIGRUNTIME_DEBUG
34521 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34523 for (i
= 0; i
< swig_module
.size
; ++i
) {
34524 swig_type_info
*type
= 0;
34525 swig_type_info
*ret
;
34526 swig_cast_info
*cast
;
34528 #ifdef SWIGRUNTIME_DEBUG
34529 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34532 /* if there is another module already loaded */
34533 if (swig_module
.next
!= &swig_module
) {
34534 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34537 /* Overwrite clientdata field */
34538 #ifdef SWIGRUNTIME_DEBUG
34539 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34541 if (swig_module
.type_initial
[i
]->clientdata
) {
34542 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34543 #ifdef SWIGRUNTIME_DEBUG
34544 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34548 type
= swig_module
.type_initial
[i
];
34551 /* Insert casting types */
34552 cast
= swig_module
.cast_initial
[i
];
34553 while (cast
->type
) {
34554 /* Don't need to add information already in the list */
34556 #ifdef SWIGRUNTIME_DEBUG
34557 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34559 if (swig_module
.next
!= &swig_module
) {
34560 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34561 #ifdef SWIGRUNTIME_DEBUG
34562 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34566 if (type
== swig_module
.type_initial
[i
]) {
34567 #ifdef SWIGRUNTIME_DEBUG
34568 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34573 /* Check for casting already in the list */
34574 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34575 #ifdef SWIGRUNTIME_DEBUG
34576 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34578 if (!ocast
) ret
= 0;
34583 #ifdef SWIGRUNTIME_DEBUG
34584 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34587 type
->cast
->prev
= cast
;
34588 cast
->next
= type
->cast
;
34594 /* Set entry in modules->types array equal to the type */
34595 swig_module
.types
[i
] = type
;
34597 swig_module
.types
[i
] = 0;
34599 #ifdef SWIGRUNTIME_DEBUG
34600 printf("**** SWIG_InitializeModule: Cast List ******\n");
34601 for (i
= 0; i
< swig_module
.size
; ++i
) {
34603 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34604 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34605 while (cast
->type
) {
34606 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34610 printf("---- Total casts: %d\n",j
);
34612 printf("**** SWIG_InitializeModule: Cast List ******\n");
34616 /* This function will propagate the clientdata field of type to
34617 * any new swig_type_info structures that have been added into the list
34618 * of equivalent types. It is like calling
34619 * SWIG_TypeClientData(type, clientdata) a second time.
34622 SWIG_PropagateClientData(void) {
34624 swig_cast_info
*equiv
;
34625 static int init_run
= 0;
34627 if (init_run
) return;
34630 for (i
= 0; i
< swig_module
.size
; i
++) {
34631 if (swig_module
.types
[i
]->clientdata
) {
34632 equiv
= swig_module
.types
[i
]->cast
;
34634 if (!equiv
->converter
) {
34635 if (equiv
->type
&& !equiv
->type
->clientdata
)
34636 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34638 equiv
= equiv
->next
;
34658 /* Python-specific SWIG API */
34659 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34660 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34661 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34663 /* -----------------------------------------------------------------------------
34664 * global variable support code.
34665 * ----------------------------------------------------------------------------- */
34667 typedef struct swig_globalvar
{
34668 char *name
; /* Name of global variable */
34669 PyObject
*(*get_attr
)(void); /* Return the current value */
34670 int (*set_attr
)(PyObject
*); /* Set the value */
34671 struct swig_globalvar
*next
;
34674 typedef struct swig_varlinkobject
{
34676 swig_globalvar
*vars
;
34677 } swig_varlinkobject
;
34679 SWIGINTERN PyObject
*
34680 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34681 return PyString_FromString("<Swig global variables>");
34684 SWIGINTERN PyObject
*
34685 swig_varlink_str(swig_varlinkobject
*v
) {
34686 PyObject
*str
= PyString_FromString("(");
34687 swig_globalvar
*var
;
34688 for (var
= v
->vars
; var
; var
=var
->next
) {
34689 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34690 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34692 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34697 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34698 PyObject
*str
= swig_varlink_str(v
);
34699 fprintf(fp
,"Swig global variables ");
34700 fprintf(fp
,"%s\n", PyString_AsString(str
));
34706 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34707 swig_globalvar
*var
= v
->vars
;
34709 swig_globalvar
*n
= var
->next
;
34716 SWIGINTERN PyObject
*
34717 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34718 PyObject
*res
= NULL
;
34719 swig_globalvar
*var
= v
->vars
;
34721 if (strcmp(var
->name
,n
) == 0) {
34722 res
= (*var
->get_attr
)();
34727 if (res
== NULL
&& !PyErr_Occurred()) {
34728 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34734 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34736 swig_globalvar
*var
= v
->vars
;
34738 if (strcmp(var
->name
,n
) == 0) {
34739 res
= (*var
->set_attr
)(p
);
34744 if (res
== 1 && !PyErr_Occurred()) {
34745 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34750 SWIGINTERN PyTypeObject
*
34751 swig_varlink_type(void) {
34752 static char varlink__doc__
[] = "Swig var link object";
34753 static PyTypeObject varlink_type
;
34754 static int type_init
= 0;
34756 const PyTypeObject tmp
34758 PyObject_HEAD_INIT(NULL
)
34759 0, /* Number of items in variable part (ob_size) */
34760 (char *)"swigvarlink", /* Type name (tp_name) */
34761 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34762 0, /* Itemsize (tp_itemsize) */
34763 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34764 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34765 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34766 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34767 0, /* tp_compare */
34768 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34769 0, /* tp_as_number */
34770 0, /* tp_as_sequence */
34771 0, /* tp_as_mapping */
34774 (reprfunc
)swig_varlink_str
, /* tp_str */
34775 0, /* tp_getattro */
34776 0, /* tp_setattro */
34777 0, /* tp_as_buffer */
34779 varlink__doc__
, /* tp_doc */
34780 0, /* tp_traverse */
34782 0, /* tp_richcompare */
34783 0, /* tp_weaklistoffset */
34784 #if PY_VERSION_HEX >= 0x02020000
34785 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34787 #if PY_VERSION_HEX >= 0x02030000
34790 #ifdef COUNT_ALLOCS
34791 0,0,0,0 /* tp_alloc -> tp_next */
34794 varlink_type
= tmp
;
34795 varlink_type
.ob_type
= &PyType_Type
;
34798 return &varlink_type
;
34801 /* Create a variable linking object for use later */
34802 SWIGINTERN PyObject
*
34803 SWIG_Python_newvarlink(void) {
34804 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34808 return ((PyObject
*) result
);
34812 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34813 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34814 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34816 size_t size
= strlen(name
)+1;
34817 gv
->name
= (char *)malloc(size
);
34819 strncpy(gv
->name
,name
,size
);
34820 gv
->get_attr
= get_attr
;
34821 gv
->set_attr
= set_attr
;
34822 gv
->next
= v
->vars
;
34828 SWIGINTERN PyObject
*
34830 static PyObject
*_SWIG_globals
= 0;
34831 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34832 return _SWIG_globals
;
34835 /* -----------------------------------------------------------------------------
34836 * constants/methods manipulation
34837 * ----------------------------------------------------------------------------- */
34839 /* Install Constants */
34841 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34844 for (i
= 0; constants
[i
].type
; ++i
) {
34845 switch(constants
[i
].type
) {
34846 case SWIG_PY_POINTER
:
34847 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34849 case SWIG_PY_BINARY
:
34850 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34857 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34863 /* -----------------------------------------------------------------------------*/
34864 /* Fix SwigMethods to carry the callback ptrs when needed */
34865 /* -----------------------------------------------------------------------------*/
34868 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34869 swig_const_info
*const_table
,
34870 swig_type_info
**types
,
34871 swig_type_info
**types_initial
) {
34873 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34874 const char *c
= methods
[i
].ml_doc
;
34875 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34877 swig_const_info
*ci
= 0;
34878 const char *name
= c
+ 10;
34879 for (j
= 0; const_table
[j
].type
; ++j
) {
34880 if (strncmp(const_table
[j
].name
, name
,
34881 strlen(const_table
[j
].name
)) == 0) {
34882 ci
= &(const_table
[j
]);
34887 size_t shift
= (ci
->ptype
) - types
;
34888 swig_type_info
*ty
= types_initial
[shift
];
34889 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34890 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34891 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34894 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34896 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34898 strncpy(buff
, "swig_ptr: ", 10);
34900 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34901 methods
[i
].ml_doc
= ndoc
;
34913 /* -----------------------------------------------------------------------------*
34914 * Partial Init method
34915 * -----------------------------------------------------------------------------*/
34920 SWIGEXPORT
void SWIG_init(void) {
34923 /* Fix SwigMethods to carry the callback ptrs when needed */
34924 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34926 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34927 d
= PyModule_GetDict(m
);
34929 SWIG_InitializeModule(0);
34930 SWIG_InstallConstants(d
,swig_const_table
);
34933 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34934 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34935 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34936 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34937 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34938 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34939 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34940 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34941 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34942 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34943 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34944 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34945 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34946 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34947 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34948 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34949 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34950 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34951 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34952 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34953 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34954 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34955 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34956 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34957 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34958 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34959 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34960 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34961 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34962 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34963 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34964 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34965 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34966 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34967 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34968 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34969 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34970 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34971 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34972 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34973 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
34974 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34975 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34976 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34977 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34978 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34979 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34980 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34981 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34982 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34983 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34984 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34985 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34986 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34987 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34988 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34989 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34990 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34991 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34992 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34993 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34994 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34995 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34996 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34997 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34998 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34999 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
35000 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
35001 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
35002 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
35003 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
35004 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
35005 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
35006 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
35007 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
35008 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
35009 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
35010 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
35011 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
35012 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
35013 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
35014 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
35015 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
35016 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
35017 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
35018 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
35019 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
35020 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
35021 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
35022 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
35023 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
35024 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
35025 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
35026 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
35027 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
35028 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
35029 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
35030 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
35031 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
35032 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
35033 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
35034 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
35035 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
35037 // Map renamed classes back to their common name for OOR
35038 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
35039 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
35040 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
35042 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
35043 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
35044 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
35045 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
35046 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
35047 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
35048 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
35049 PyDict_SetItemString(d
, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK
));
35050 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
35051 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
35052 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
35053 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
35054 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
35055 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
35056 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
35057 SWIG_Python_SetConstant(d
, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST
)));
35058 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
35059 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
35060 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
35061 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
35062 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
35063 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
35064 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
35065 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
35066 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
35067 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
35068 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
35069 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
35070 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
35071 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
35072 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
35073 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
35074 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
35075 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
35076 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
35077 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
35078 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
35079 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
35080 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
35081 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
35082 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
35083 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
35084 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
35085 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
35086 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
35087 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
35088 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
35089 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
35090 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
35091 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
35092 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
35093 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
35094 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
35095 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
35096 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
35097 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
35098 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
35099 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
35100 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
35101 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
35102 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
35103 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
35104 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
35105 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
35106 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
35107 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
35108 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
35109 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
35110 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
35111 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
35112 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
35113 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
35114 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
35115 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
35116 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
35117 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
35118 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
35119 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
35120 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
35121 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
35122 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
35123 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
35124 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
35125 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
35126 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
35127 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
35128 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
35129 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
35130 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
35131 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
35132 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
35133 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
35134 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
35135 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
35136 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
35137 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
35138 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
35139 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
35140 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
35142 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");