1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info
*swig_types
[166];
2632 static swig_module_info swig_module
= {swig_types
, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636 /* -------- TYPES TABLE (END) -------- */
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2658 #define SWIG_name "_windows_"
2660 #define SWIGVERSION 0x010329
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667 #include <stdexcept>
2671 class PyObject_ptr
{
2676 PyObject_ptr() :_obj(0)
2680 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2685 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2687 if (initial_ref
) Py_XINCREF(_obj
);
2690 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2692 Py_XINCREF(item
._obj
);
2703 operator PyObject
*() const
2708 PyObject
*operator->() const
2717 struct PyObject_var
: PyObject_ptr
{
2718 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2720 PyObject_var
& operator = (PyObject
* obj
)
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2734 static const wxString
wxPyEmptyString(wxEmptyString
);
2735 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2766 int res
= SWIG_AsVal_long (obj
, &v
);
2767 if (SWIG_IsOK(res
)) {
2768 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2769 return SWIG_OverflowError
;
2771 if (val
) *val
= static_cast< int >(v
);
2779 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2781 if (obj
== Py_True
) {
2782 if (val
) *val
= true;
2784 } else if (obj
== Py_False
) {
2785 if (val
) *val
= false;
2789 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2790 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2796 #define SWIG_From_long PyInt_FromLong
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_int (int value
)
2802 return SWIG_From_long (value
);
2807 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2809 if (PyNumber_Check(obj
)) {
2810 if (val
) *val
= PyFloat_AsDouble(obj
);
2813 return SWIG_TypeError
;
2817 #define SWIG_From_double PyFloat_FromDouble
2819 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2820 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2821 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2822 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2823 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2824 int style
= self
->GetExtraStyle();
2826 style
|= wxFRAME_EX_METAL
;
2828 style
&= ~wxFRAME_EX_METAL
;
2829 self
->SetExtraStyle(style
);
2831 SWIGINTERN
bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow
*self
,bool enable
=true){ return false; }
2834 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2836 self
->GetFieldRect(i
, r
);
2839 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2843 #include <wx/popupwin.h>
2846 class wxPopupWindow
: public wxWindow
{
2848 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2849 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2852 class wxPyPopupTransientWindow
: public wxPopupWindow
2855 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2856 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2860 #include <wx/tipwin.h>
2862 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2863 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2866 #include <wx/tipwin.h>
2869 #include <wx/vscroll.h>
2872 class wxPyVScrolledWindow
: public wxVScrolledWindow
2874 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2876 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2878 wxPyVScrolledWindow(wxWindow
*parent
,
2879 wxWindowID id
= wxID_ANY
,
2880 const wxPoint
& pos
= wxDefaultPosition
,
2881 const wxSize
& size
= wxDefaultSize
,
2883 const wxString
& name
= wxPyPanelNameStr
)
2884 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2887 // Overridable virtuals
2889 // this function must be overridden in the derived class and it should
2890 // return the height of the given line in pixels
2891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2894 // this function doesn't have to be overridden but it may be useful to do
2895 // it if calculating the lines heights is a relatively expensive operation
2896 // as it gives the user code a possibility to calculate several of them at
2899 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2900 // shouldn't rely on the latter being called for all lines in the interval
2901 // specified here. It is also possible that OnGetLineHeight() will be
2902 // called for the lines outside of this interval, so this is really just a
2903 // hint, not a promise.
2905 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2907 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2910 // when the number of lines changes, we try to estimate the total height
2911 // of all lines which is a rather expensive operation in terms of lines
2912 // access, so if the user code may estimate the average height
2913 // better/faster than we do, it should override this function to implement
2916 // this function should return the best guess for the total height it may
2918 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2921 // Also expose some other interesting protected methods
2924 // find the index of the line we need to show at the top of the window such
2925 // that the last (fully or partially) visible line is the given one
2926 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2927 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2929 // get the total height of the lines between lineMin (inclusive) and
2930 // lineMax (exclusive)
2931 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2932 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2934 // update the thumb size shown by the scrollbar
2935 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2937 // remove the scrollbar completely because we don't need it
2938 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2943 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2945 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2946 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2947 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2951 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2954 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2955 return SWIG_TypeError
;
2958 *val
= (unsigned long)v
;
2963 SWIGINTERNINLINE
int
2964 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2967 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2968 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2973 SWIGINTERNINLINE PyObject
*
2974 SWIG_From_unsigned_SS_long (unsigned long value
)
2976 return (value
> LONG_MAX
) ?
2977 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2981 SWIGINTERNINLINE PyObject
*
2982 SWIG_From_size_t (size_t value
)
2984 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2988 #include <wx/vlbox.h>
2990 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2992 class wxPyVListBox
: public wxVListBox
2994 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2996 wxPyVListBox() : wxVListBox() {}
2998 wxPyVListBox(wxWindow
*parent
,
2999 wxWindowID id
= wxID_ANY
,
3000 const wxPoint
& pos
= wxDefaultPosition
,
3001 const wxSize
& size
= wxDefaultSize
,
3003 const wxString
& name
= wxPyVListBoxNameStr
)
3004 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3007 // Overridable virtuals
3009 // the derived class must implement this function to actually draw the item
3010 // with the given index on the provided DC
3011 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3012 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3015 // the derived class must implement this method to return the height of the
3017 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3018 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3021 // this method may be used to draw separators between the lines; note that
3022 // the rectangle may be modified, typically to deflate it a bit before
3023 // passing to OnDrawItem()
3025 // the base class version doesn't do anything
3026 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3027 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3030 // this method is used to draw the items background and, maybe, a border
3033 // the base class version implements a reasonable default behaviour which
3034 // consists in drawing the selected item with the standard background
3035 // colour and drawing a border around the item if it is either selected or
3037 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3038 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3044 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3046 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3047 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3048 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3049 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3052 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3053 unsigned long cookie
= 0;
3054 int selected
= self
->GetFirstSelected(cookie
);
3055 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3056 PyObject
* tup
= PyTuple_New(2);
3057 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3058 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3059 wxPyEndBlockThreads(blocked
);
3062 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3063 int selected
= self
->GetNextSelected(cookie
);
3064 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3065 PyObject
* tup
= PyTuple_New(2);
3066 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3067 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3068 wxPyEndBlockThreads(blocked
);
3072 #include <wx/htmllbox.h>
3075 class wxPyHtmlListBox
: public wxHtmlListBox
3077 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3079 wxPyHtmlListBox() : wxHtmlListBox() {}
3081 wxPyHtmlListBox(wxWindow
*parent
,
3082 wxWindowID id
= wxID_ANY
,
3083 const wxPoint
& pos
= wxDefaultPosition
,
3084 const wxSize
& size
= wxDefaultSize
,
3086 const wxString
& name
= wxPyVListBoxNameStr
)
3087 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3090 // Overridable virtuals
3092 // this method must be implemented in the derived class and should return
3093 // the body (i.e. without <html>) of the HTML for the given item
3094 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3096 // this function may be overridden to decorate HTML returned by OnGetItem()
3097 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3099 // These are from wxVListBox
3100 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3101 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3104 // // this method allows to customize the selection appearance: it may be used
3105 // // to specify the colour of the text which normally has the given colour
3106 // // colFg when it is inside the selection
3108 // // by default, the original colour is not used at all and all text has the
3109 // // same (default for this system) colour inside selection
3110 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3112 // // this is the same as GetSelectedTextColour() but allows to customize the
3113 // // background colour -- this is even more rarely used as you can change it
3114 // // globally using SetSelectionBackground()
3115 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3118 // This method may be overriden to handle clicking on a link in
3119 // the listbox. By default, clicking links is ignored.
3120 virtual void OnLinkClicked(size_t n
,
3121 const wxHtmlLinkInfo
& link
);
3127 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3129 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3130 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3131 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3132 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3135 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3136 const wxHtmlLinkInfo
& link
) {
3138 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3139 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3140 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3141 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3144 wxPyEndBlockThreads(blocked
);
3146 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3153 #ifndef wxHAS_TASK_BAR_ICON
3154 // implement dummy classes for platforms that don't have it
3156 class wxTaskBarIcon
: public wxEvtHandler
3159 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3163 class wxTaskBarIconEvent
: public wxEvent
3166 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3167 { wxPyRaiseNotImplemented(); }
3168 virtual wxEvent
* Clone() const { return NULL
; }
3169 bool IsOk() const { return false; }
3170 bool IsIconInstalled() const { return false; }
3171 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3172 bool RemoveIcon() { return false; }
3173 bool PopupMenu(wxMenu
*menu
) { return false; }
3177 wxEVT_TASKBAR_MOVE
= 0,
3178 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3179 wxEVT_TASKBAR_LEFT_UP
= 0,
3180 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3181 wxEVT_TASKBAR_RIGHT_UP
= 0,
3182 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3183 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3188 // Otherwise make a class that can virtualize CreatePopupMenu
3189 class wxPyTaskBarIcon
: public wxTaskBarIcon
3191 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3193 wxPyTaskBarIcon() : wxTaskBarIcon()
3196 wxMenu
* CreatePopupMenu() {
3197 wxMenu
*rval
= NULL
;
3199 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3200 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3203 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3205 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3210 wxPyEndBlockThreads(blocked
);
3212 rval
= wxTaskBarIcon::CreatePopupMenu();
3219 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3223 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3227 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3228 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3229 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3230 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3231 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3232 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3234 // for compatibility only
3235 #define wxHIDE_READONLY 0
3237 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3239 self
->GetFilenames(arr
);
3240 return wxArrayString2PyList_helper(arr
);
3242 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3244 self
->GetPaths(arr
);
3245 return wxArrayString2PyList_helper(arr
);
3247 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3248 return wxArrayInt2PyList_helper(self
->GetSelections());
3250 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
){
3251 return new wxSingleChoiceDialog(parent
, message
, caption
,
3252 choices
, choices_array
, NULL
, style
, pos
);
3254 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3256 SWIGINTERNINLINE PyObject
*
3257 SWIG_From_bool (bool value
)
3259 return PyBool_FromLong(value
? 1 : 0);
3265 // C++ version of Python aware wxWindow
3266 class wxPyWindow
: public wxWindow
3268 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3270 wxPyWindow() : wxWindow() {}
3271 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3272 const wxPoint
& pos
= wxDefaultPosition
,
3273 const wxSize
& size
= wxDefaultSize
,
3275 const wxString
& name
= wxPyPanelNameStr
)
3276 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3278 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3280 bool DoEraseBackground(wxDC
* dc
) {
3282 return wxWindow::DoEraseBackground(dc
->GetHDC());
3284 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3290 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3291 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3293 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3299 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3300 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3302 DEC_PYCALLBACK__(InitDialog
);
3303 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3304 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3305 DEC_PYCALLBACK_BOOL_(Validate
);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3308 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3309 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3312 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3314 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3315 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3317 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3319 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3324 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3326 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3327 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3329 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3333 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3335 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3336 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3338 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3344 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3348 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3350 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3351 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3355 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3357 // C++ version of Python aware wxPanel
3358 class wxPyPanel
: public wxPanel
3360 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3362 wxPyPanel() : wxPanel() {}
3363 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3364 const wxPoint
& pos
= wxDefaultPosition
,
3365 const wxSize
& size
= wxDefaultSize
,
3367 const wxString
& name
= wxPyPanelNameStr
)
3368 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3370 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3371 bool DoEraseBackground(wxDC
* dc
) {
3373 return wxWindow::DoEraseBackground(dc
->GetHDC());
3375 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3382 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3383 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3391 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3392 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3394 DEC_PYCALLBACK__(InitDialog
);
3395 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3396 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3397 DEC_PYCALLBACK_BOOL_(Validate
);
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3401 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3403 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3404 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3406 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3407 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3409 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3411 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3416 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3418 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3419 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3421 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3425 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3428 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3430 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3436 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3440 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3443 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3447 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3449 // C++ version of Python aware wxScrolledWindow
3450 class wxPyScrolledWindow
: public wxScrolledWindow
3452 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3454 wxPyScrolledWindow() : wxScrolledWindow() {}
3455 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3456 const wxPoint
& pos
= wxDefaultPosition
,
3457 const wxSize
& size
= wxDefaultSize
,
3459 const wxString
& name
= wxPyPanelNameStr
)
3460 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3462 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3463 bool DoEraseBackground(wxDC
* dc
) {
3465 return wxWindow::DoEraseBackground(dc
->GetHDC());
3467 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3473 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3474 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3476 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3480 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3482 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3483 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3485 DEC_PYCALLBACK__(InitDialog
);
3486 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3487 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3488 DEC_PYCALLBACK_BOOL_(Validate
);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3491 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3492 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3495 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3497 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3498 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3500 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3502 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3507 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3509 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3510 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3512 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3516 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3519 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3521 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3524 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3527 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3528 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3531 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3534 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3538 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3541 #include "wx/wxPython/printfw.h"
3544 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3545 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3546 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3548 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3549 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3550 self
->GetPrivDataLen());
3551 wxPyEndBlockThreads(blocked
);
3554 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3555 if (! PyString_Check(data
)) {
3556 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3557 "Expected string object"));
3561 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3562 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3563 wxPyEndBlockThreads(blocked
);
3567 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3569 // Since this one would be tough and ugly to do with the Macros...
3570 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3571 bool hadErr
= false;
3574 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3575 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3576 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3577 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3580 val
= PyTuple_GetItem(result
, 0);
3581 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3584 val
= PyTuple_GetItem(result
, 1);
3585 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3588 val
= PyTuple_GetItem(result
, 2);
3589 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3592 val
= PyTuple_GetItem(result
, 3);
3593 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3600 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3605 wxPyEndBlockThreads(blocked
);
3607 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3612 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3615 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3616 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3617 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3618 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3624 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3625 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3628 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3629 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3632 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3633 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3634 PyObject* win = wxPyMake_wxObject(a,false); \
3635 PyObject* dc = wxPyMake_wxObject(&b,false); \
3636 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3640 wxPyEndBlockThreads(blocked); \
3642 rval = PCLASS::CBNAME(a, b); \
3649 class wxPyPrintPreview
: public wxPrintPreview
3651 DECLARE_CLASS(wxPyPrintPreview
)
3653 wxPyPrintPreview(wxPyPrintout
* printout
,
3654 wxPyPrintout
* printoutForPrinting
,
3655 wxPrintDialogData
* data
=NULL
)
3656 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3658 wxPyPrintPreview(wxPyPrintout
* printout
,
3659 wxPyPrintout
* printoutForPrinting
,
3661 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3664 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3666 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3667 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3668 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3669 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3670 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3675 // Stupid renamed classes... Fix this in 2.5...
3676 #if defined(__WXMSW__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3678 #elif defined(__WXMAC__)
3679 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3681 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3686 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3687 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3688 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3689 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3690 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3693 class wxPyPreviewFrame
: public wxPreviewFrame
3695 DECLARE_CLASS(wxPyPreviewFrame
)
3697 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3698 const wxString
& title
,
3699 const wxPoint
& pos
= wxDefaultPosition
,
3700 const wxSize
& size
= wxDefaultSize
,
3701 long style
= wxDEFAULT_FRAME_STYLE
,
3702 const wxString
& name
= wxPyFrameNameStr
)
3703 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3706 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3707 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3709 DEC_PYCALLBACK_VOID_(Initialize
);
3710 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3711 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3716 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3720 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3723 class wxPyPreviewControlBar
: public wxPreviewControlBar
3725 DECLARE_CLASS(wxPyPreviewControlBar
)
3727 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3730 const wxPoint
& pos
= wxDefaultPosition
,
3731 const wxSize
& size
= wxDefaultSize
,
3733 const wxString
& name
= wxPyPanelNameStr
)
3734 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3737 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3739 DEC_PYCALLBACK_VOID_(CreateButtons
);
3740 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3745 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3746 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3747 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3752 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
= 0;
3754 wxWindow
*arg1
= (wxWindow
*) 0 ;
3755 int arg2
= (int) (int)-1 ;
3756 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3757 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3758 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3759 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3760 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3761 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3762 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3763 wxPanel
*result
= 0 ;
3772 bool temp6
= false ;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3775 PyObject
* obj2
= 0 ;
3776 PyObject
* obj3
= 0 ;
3777 PyObject
* obj4
= 0 ;
3778 PyObject
* obj5
= 0 ;
3779 char * kwnames
[] = {
3780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3785 if (!SWIG_IsOK(res1
)) {
3786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3788 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3791 if (!SWIG_IsOK(ecode2
)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3794 arg2
= static_cast< int >(val2
);
3799 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3805 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3809 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3810 if (!SWIG_IsOK(ecode5
)) {
3811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3813 arg5
= static_cast< long >(val5
);
3817 arg6
= wxString_in_helper(obj5
);
3818 if (arg6
== NULL
) SWIG_fail
;
3823 if (!wxPyCheckForApp()) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3844 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3845 PyObject
*resultobj
= 0;
3846 wxPanel
*result
= 0 ;
3848 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3850 if (!wxPyCheckForApp()) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 result
= (wxPanel
*)new wxPanel();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3863 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
= 0;
3865 wxPanel
*arg1
= (wxPanel
*) 0 ;
3866 wxWindow
*arg2
= (wxWindow
*) 0 ;
3867 int arg3
= (int) (int)-1 ;
3868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3872 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3873 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3874 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3886 bool temp7
= false ;
3887 PyObject
* obj0
= 0 ;
3888 PyObject
* obj1
= 0 ;
3889 PyObject
* obj2
= 0 ;
3890 PyObject
* obj3
= 0 ;
3891 PyObject
* obj4
= 0 ;
3892 PyObject
* obj5
= 0 ;
3893 PyObject
* obj6
= 0 ;
3894 char * kwnames
[] = {
3895 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3900 if (!SWIG_IsOK(res1
)) {
3901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3903 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3905 if (!SWIG_IsOK(res2
)) {
3906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3908 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3911 if (!SWIG_IsOK(ecode3
)) {
3912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3914 arg3
= static_cast< int >(val3
);
3919 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3925 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3929 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3930 if (!SWIG_IsOK(ecode6
)) {
3931 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3933 arg6
= static_cast< long >(val6
);
3937 arg7
= wxString_in_helper(obj6
);
3938 if (arg7
== NULL
) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3965 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3966 PyObject
*resultobj
= 0;
3967 wxPanel
*arg1
= (wxPanel
*) 0 ;
3970 PyObject
*swig_obj
[1] ;
3972 if (!args
) SWIG_fail
;
3974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3975 if (!SWIG_IsOK(res1
)) {
3976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3978 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 (arg1
)->SetFocusIgnoringChildren();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= SWIG_Py_Void();
3992 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
= 0;
3994 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3995 SwigValueWrapper
<wxVisualAttributes
> result
;
3998 PyObject
* obj0
= 0 ;
3999 char * kwnames
[] = {
4000 (char *) "variant", NULL
4003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4006 if (!SWIG_IsOK(ecode1
)) {
4007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4009 arg1
= static_cast< wxWindowVariant
>(val1
);
4012 if (!wxPyCheckForApp()) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4025 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4029 return SWIG_Py_Void();
4032 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4033 return SWIG_Python_InitShadowInstance(args
);
4036 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
= 0;
4038 wxWindow
*arg1
= (wxWindow
*) 0 ;
4039 int arg2
= (int) (int)-1 ;
4040 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4041 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4042 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4043 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4044 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4045 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4046 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4047 wxScrolledWindow
*result
= 0 ;
4056 bool temp6
= false ;
4057 PyObject
* obj0
= 0 ;
4058 PyObject
* obj1
= 0 ;
4059 PyObject
* obj2
= 0 ;
4060 PyObject
* obj3
= 0 ;
4061 PyObject
* obj4
= 0 ;
4062 PyObject
* obj5
= 0 ;
4063 char * kwnames
[] = {
4064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4069 if (!SWIG_IsOK(res1
)) {
4070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4072 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4075 if (!SWIG_IsOK(ecode2
)) {
4076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4078 arg2
= static_cast< int >(val2
);
4083 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4089 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4093 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4094 if (!SWIG_IsOK(ecode5
)) {
4095 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4097 arg5
= static_cast< long >(val5
);
4101 arg6
= wxString_in_helper(obj5
);
4102 if (arg6
== NULL
) SWIG_fail
;
4107 if (!wxPyCheckForApp()) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4128 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4129 PyObject
*resultobj
= 0;
4130 wxScrolledWindow
*result
= 0 ;
4132 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4134 if (!wxPyCheckForApp()) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4147 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
= 0;
4149 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4150 wxWindow
*arg2
= (wxWindow
*) 0 ;
4151 int arg3
= (int) (int)-1 ;
4152 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4153 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4154 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4155 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4156 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4157 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4158 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4170 bool temp7
= false ;
4171 PyObject
* obj0
= 0 ;
4172 PyObject
* obj1
= 0 ;
4173 PyObject
* obj2
= 0 ;
4174 PyObject
* obj3
= 0 ;
4175 PyObject
* obj4
= 0 ;
4176 PyObject
* obj5
= 0 ;
4177 PyObject
* obj6
= 0 ;
4178 char * kwnames
[] = {
4179 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4184 if (!SWIG_IsOK(res1
)) {
4185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4187 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4189 if (!SWIG_IsOK(res2
)) {
4190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4192 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4195 if (!SWIG_IsOK(ecode3
)) {
4196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4198 arg3
= static_cast< int >(val3
);
4203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4213 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4214 if (!SWIG_IsOK(ecode6
)) {
4215 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4217 arg6
= static_cast< long >(val6
);
4221 arg7
= wxString_in_helper(obj6
);
4222 if (arg7
== NULL
) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4249 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
= 0;
4251 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4256 int arg6
= (int) 0 ;
4257 int arg7
= (int) 0 ;
4258 bool arg8
= (bool) false ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4277 PyObject
* obj2
= 0 ;
4278 PyObject
* obj3
= 0 ;
4279 PyObject
* obj4
= 0 ;
4280 PyObject
* obj5
= 0 ;
4281 PyObject
* obj6
= 0 ;
4282 PyObject
* obj7
= 0 ;
4283 char * kwnames
[] = {
4284 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4289 if (!SWIG_IsOK(res1
)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4292 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4294 if (!SWIG_IsOK(ecode2
)) {
4295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4297 arg2
= static_cast< int >(val2
);
4298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4299 if (!SWIG_IsOK(ecode3
)) {
4300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4302 arg3
= static_cast< int >(val3
);
4303 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4304 if (!SWIG_IsOK(ecode4
)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4307 arg4
= static_cast< int >(val4
);
4308 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4309 if (!SWIG_IsOK(ecode5
)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4312 arg5
= static_cast< int >(val5
);
4314 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4315 if (!SWIG_IsOK(ecode6
)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4318 arg6
= static_cast< int >(val6
);
4321 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4322 if (!SWIG_IsOK(ecode7
)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4325 arg7
= static_cast< int >(val7
);
4328 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4329 if (!SWIG_IsOK(ecode8
)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4332 arg8
= static_cast< bool >(val8
);
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= SWIG_Py_Void();
4347 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
= 0;
4349 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4358 PyObject
* obj0
= 0 ;
4359 PyObject
* obj1
= 0 ;
4360 PyObject
* obj2
= 0 ;
4361 char * kwnames
[] = {
4362 (char *) "self",(char *) "x",(char *) "y", NULL
4365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4367 if (!SWIG_IsOK(res1
)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4370 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4372 if (!SWIG_IsOK(ecode2
)) {
4373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4375 arg2
= static_cast< int >(val2
);
4376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4377 if (!SWIG_IsOK(ecode3
)) {
4378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4380 arg3
= static_cast< int >(val3
);
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 (arg1
)->Scroll(arg2
,arg3
);
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= SWIG_Py_Void();
4394 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
= 0;
4396 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4405 char * kwnames
[] = {
4406 (char *) "self",(char *) "orient", NULL
4409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4411 if (!SWIG_IsOK(res1
)) {
4412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4414 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4416 if (!SWIG_IsOK(ecode2
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4419 arg2
= static_cast< int >(val2
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_From_int(static_cast< int >(result
));
4433 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
= 0;
4435 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4444 PyObject
* obj0
= 0 ;
4445 PyObject
* obj1
= 0 ;
4446 PyObject
* obj2
= 0 ;
4447 char * kwnames
[] = {
4448 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4453 if (!SWIG_IsOK(res1
)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4456 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4458 if (!SWIG_IsOK(ecode2
)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4461 arg2
= static_cast< int >(val2
);
4462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4463 if (!SWIG_IsOK(ecode3
)) {
4464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4466 arg3
= static_cast< int >(val3
);
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= SWIG_Py_Void();
4480 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
= 0;
4482 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4493 PyObject
* obj2
= 0 ;
4494 char * kwnames
[] = {
4495 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4500 if (!SWIG_IsOK(res1
)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4503 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4505 if (!SWIG_IsOK(ecode2
)) {
4506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4508 arg2
= static_cast< int >(val2
);
4509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4510 if (!SWIG_IsOK(ecode3
)) {
4511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4513 arg3
= static_cast< int >(val3
);
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 (arg1
)->SetScrollRate(arg2
,arg3
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 resultobj
= SWIG_Py_Void();
4527 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4528 PyObject
*resultobj
= 0;
4529 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4530 int *arg2
= (int *) 0 ;
4531 int *arg3
= (int *) 0 ;
4535 int res2
= SWIG_TMPOBJ
;
4537 int res3
= SWIG_TMPOBJ
;
4538 PyObject
*swig_obj
[1] ;
4542 if (!args
) SWIG_fail
;
4544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4545 if (!SWIG_IsOK(res1
)) {
4546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4548 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= SWIG_Py_Void();
4556 if (SWIG_IsTmpObj(res2
)) {
4557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4559 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4562 if (SWIG_IsTmpObj(res3
)) {
4563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4565 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4574 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
= 0;
4576 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4587 PyObject
* obj2
= 0 ;
4588 char * kwnames
[] = {
4589 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4594 if (!SWIG_IsOK(res1
)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4597 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4598 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4599 if (!SWIG_IsOK(ecode2
)) {
4600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4602 arg2
= static_cast< bool >(val2
);
4603 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4604 if (!SWIG_IsOK(ecode3
)) {
4605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4607 arg3
= static_cast< bool >(val3
);
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 (arg1
)->EnableScrolling(arg2
,arg3
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= SWIG_Py_Void();
4621 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4622 PyObject
*resultobj
= 0;
4623 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4624 int *arg2
= (int *) 0 ;
4625 int *arg3
= (int *) 0 ;
4629 int res2
= SWIG_TMPOBJ
;
4631 int res3
= SWIG_TMPOBJ
;
4632 PyObject
*swig_obj
[1] ;
4636 if (!args
) SWIG_fail
;
4638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4639 if (!SWIG_IsOK(res1
)) {
4640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4642 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= SWIG_Py_Void();
4650 if (SWIG_IsTmpObj(res2
)) {
4651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4653 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4656 if (SWIG_IsTmpObj(res3
)) {
4657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4659 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4668 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= 0;
4670 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4681 PyObject
* obj2
= 0 ;
4682 char * kwnames
[] = {
4683 (char *) "self",(char *) "xs",(char *) "ys", NULL
4686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4688 if (!SWIG_IsOK(res1
)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4691 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4692 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4693 if (!SWIG_IsOK(ecode2
)) {
4694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4696 arg2
= static_cast< double >(val2
);
4697 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4698 if (!SWIG_IsOK(ecode3
)) {
4699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4701 arg3
= static_cast< double >(val3
);
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 (arg1
)->SetScale(arg2
,arg3
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= SWIG_Py_Void();
4715 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4716 PyObject
*resultobj
= 0;
4717 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4721 PyObject
*swig_obj
[1] ;
4723 if (!args
) SWIG_fail
;
4725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4726 if (!SWIG_IsOK(res1
)) {
4727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4729 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4736 resultobj
= SWIG_From_double(static_cast< double >(result
));
4743 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4744 PyObject
*resultobj
= 0;
4745 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4749 PyObject
*swig_obj
[1] ;
4751 if (!args
) SWIG_fail
;
4753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4754 if (!SWIG_IsOK(res1
)) {
4755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4757 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= SWIG_From_double(static_cast< double >(result
));
4771 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4772 PyObject
*resultobj
= 0;
4773 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4780 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4782 if (!SWIG_IsOK(res1
)) {
4783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4785 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4788 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4803 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4804 PyObject
*resultobj
= 0;
4805 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4808 int *arg4
= (int *) 0 ;
4809 int *arg5
= (int *) 0 ;
4817 int res4
= SWIG_TMPOBJ
;
4819 int res5
= SWIG_TMPOBJ
;
4823 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4828 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4829 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4830 if (!SWIG_IsOK(ecode2
)) {
4831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4833 arg2
= static_cast< int >(val2
);
4834 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4835 if (!SWIG_IsOK(ecode3
)) {
4836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4838 arg3
= static_cast< int >(val3
);
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4845 resultobj
= SWIG_Py_Void();
4846 if (SWIG_IsTmpObj(res4
)) {
4847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4849 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4852 if (SWIG_IsTmpObj(res5
)) {
4853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4855 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4864 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4868 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4874 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4878 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4883 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4884 PyObject
*resultobj
= 0;
4885 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4892 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4894 if (!SWIG_IsOK(res1
)) {
4895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4897 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4900 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4915 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4916 PyObject
*resultobj
= 0;
4917 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4920 int *arg4
= (int *) 0 ;
4921 int *arg5
= (int *) 0 ;
4929 int res4
= SWIG_TMPOBJ
;
4931 int res5
= SWIG_TMPOBJ
;
4935 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4937 if (!SWIG_IsOK(res1
)) {
4938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4940 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4941 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4942 if (!SWIG_IsOK(ecode2
)) {
4943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4945 arg2
= static_cast< int >(val2
);
4946 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4947 if (!SWIG_IsOK(ecode3
)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4950 arg3
= static_cast< int >(val3
);
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_Py_Void();
4958 if (SWIG_IsTmpObj(res4
)) {
4959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4961 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4964 if (SWIG_IsTmpObj(res5
)) {
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4967 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4976 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4980 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4986 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4990 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4995 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5000 PyObject
*swig_obj
[1] ;
5002 if (!args
) SWIG_fail
;
5004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5005 if (!SWIG_IsOK(res1
)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5008 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 (arg1
)->AdjustScrollbars();
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_Py_Void();
5022 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
= 0;
5024 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5025 wxScrollWinEvent
*arg2
= 0 ;
5031 PyObject
* obj0
= 0 ;
5032 PyObject
* obj1
= 0 ;
5033 char * kwnames
[] = {
5034 (char *) "self",(char *) "event", NULL
5037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5039 if (!SWIG_IsOK(res1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5042 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5044 if (!SWIG_IsOK(res2
)) {
5045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5050 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= SWIG_From_int(static_cast< int >(result
));
5064 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
= 0;
5066 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5067 wxWindow
*arg2
= (wxWindow
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5074 char * kwnames
[] = {
5075 (char *) "self",(char *) "target", NULL
5078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5080 if (!SWIG_IsOK(res1
)) {
5081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5083 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5085 if (!SWIG_IsOK(res2
)) {
5086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5088 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 (arg1
)->SetTargetWindow(arg2
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= SWIG_Py_Void();
5102 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5103 PyObject
*resultobj
= 0;
5104 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5105 wxWindow
*result
= 0 ;
5108 PyObject
*swig_obj
[1] ;
5110 if (!args
) SWIG_fail
;
5112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5113 if (!SWIG_IsOK(res1
)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5116 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= wxPyMake_wxObject(result
, 0);
5132 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
= 0;
5134 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "rect", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5150 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5153 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_Py_Void();
5168 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5169 PyObject
*resultobj
= 0;
5170 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5174 PyObject
*swig_obj
[1] ;
5176 if (!args
) SWIG_fail
;
5178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5179 if (!SWIG_IsOK(res1
)) {
5180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5182 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5196 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
= 0;
5198 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5204 PyObject
* obj0
= 0 ;
5205 PyObject
* obj1
= 0 ;
5206 char * kwnames
[] = {
5207 (char *) "self",(char *) "dc", NULL
5210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5212 if (!SWIG_IsOK(res1
)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5215 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5217 if (!SWIG_IsOK(res2
)) {
5218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5223 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 (arg1
)->DoPrepareDC(*arg2
);
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5230 resultobj
= SWIG_Py_Void();
5237 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
= 0;
5239 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5240 SwigValueWrapper
<wxVisualAttributes
> result
;
5243 PyObject
* obj0
= 0 ;
5244 char * kwnames
[] = {
5245 (char *) "variant", NULL
5248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5251 if (!SWIG_IsOK(ecode1
)) {
5252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5254 arg1
= static_cast< wxWindowVariant
>(val1
);
5257 if (!wxPyCheckForApp()) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5270 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5273 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5274 return SWIG_Py_Void();
5277 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 return SWIG_Python_InitShadowInstance(args
);
5281 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5282 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5287 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5288 PyObject
*pyobj
= 0;
5292 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5294 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5301 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5302 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5307 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5308 PyObject
*pyobj
= 0;
5312 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5314 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5321 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5322 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5327 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5328 PyObject
*pyobj
= 0;
5332 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5334 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5341 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5342 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5347 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5348 PyObject
*pyobj
= 0;
5352 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5354 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5361 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
= 0;
5363 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5364 bool arg2
= (bool) true ;
5369 PyObject
* obj0
= 0 ;
5370 PyObject
* obj1
= 0 ;
5371 char * kwnames
[] = {
5372 (char *) "self",(char *) "maximize", NULL
5375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5377 if (!SWIG_IsOK(res1
)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5380 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5383 if (!SWIG_IsOK(ecode2
)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5386 arg2
= static_cast< bool >(val2
);
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 (arg1
)->Maximize(arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_Py_Void();
5401 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5402 PyObject
*resultobj
= 0;
5403 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5406 PyObject
*swig_obj
[1] ;
5408 if (!args
) SWIG_fail
;
5410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5411 if (!SWIG_IsOK(res1
)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5414 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= SWIG_Py_Void();
5428 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
= 0;
5430 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5431 bool arg2
= (bool) true ;
5436 PyObject
* obj0
= 0 ;
5437 PyObject
* obj1
= 0 ;
5438 char * kwnames
[] = {
5439 (char *) "self",(char *) "iconize", NULL
5442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5444 if (!SWIG_IsOK(res1
)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5447 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5449 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5450 if (!SWIG_IsOK(ecode2
)) {
5451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5453 arg2
= static_cast< bool >(val2
);
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 (arg1
)->Iconize(arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= SWIG_Py_Void();
5468 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5469 PyObject
*resultobj
= 0;
5470 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5474 PyObject
*swig_obj
[1] ;
5476 if (!args
) SWIG_fail
;
5478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5479 if (!SWIG_IsOK(res1
)) {
5480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5482 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5498 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5499 PyObject
*resultobj
= 0;
5500 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5504 PyObject
*swig_obj
[1] ;
5506 if (!args
) SWIG_fail
;
5508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5509 if (!SWIG_IsOK(res1
)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5512 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5528 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5529 PyObject
*resultobj
= 0;
5530 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5534 PyObject
*swig_obj
[1] ;
5536 if (!args
) SWIG_fail
;
5538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5539 if (!SWIG_IsOK(res1
)) {
5540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5542 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5558 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5559 PyObject
*resultobj
= 0;
5560 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5564 PyObject
*swig_obj
[1] ;
5566 if (!args
) SWIG_fail
;
5568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5569 if (!SWIG_IsOK(res1
)) {
5570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5572 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5586 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
= 0;
5588 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5596 char * kwnames
[] = {
5597 (char *) "self",(char *) "icon", NULL
5600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5602 if (!SWIG_IsOK(res1
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5605 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5607 if (!SWIG_IsOK(res2
)) {
5608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5613 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_Py_Void();
5627 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
= 0;
5629 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5630 wxIconBundle
*arg2
= 0 ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5637 char * kwnames
[] = {
5638 (char *) "self",(char *) "icons", NULL
5641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5643 if (!SWIG_IsOK(res1
)) {
5644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5646 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5648 if (!SWIG_IsOK(res2
)) {
5649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5654 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= SWIG_Py_Void();
5668 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
= 0;
5670 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5672 long arg3
= (long) wxFULLSCREEN_ALL
;
5680 PyObject
* obj0
= 0 ;
5681 PyObject
* obj1
= 0 ;
5682 PyObject
* obj2
= 0 ;
5683 char * kwnames
[] = {
5684 (char *) "self",(char *) "show",(char *) "style", NULL
5687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5689 if (!SWIG_IsOK(res1
)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5692 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5693 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5694 if (!SWIG_IsOK(ecode2
)) {
5695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5697 arg2
= static_cast< bool >(val2
);
5699 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5700 if (!SWIG_IsOK(ecode3
)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5703 arg3
= static_cast< long >(val3
);
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5720 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5721 PyObject
*resultobj
= 0;
5722 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5726 PyObject
*swig_obj
[1] ;
5728 if (!args
) SWIG_fail
;
5730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5731 if (!SWIG_IsOK(res1
)) {
5732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5734 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5750 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
= 0;
5752 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5753 wxString
*arg2
= 0 ;
5756 bool temp2
= false ;
5757 PyObject
* obj0
= 0 ;
5758 PyObject
* obj1
= 0 ;
5759 char * kwnames
[] = {
5760 (char *) "self",(char *) "title", NULL
5763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5765 if (!SWIG_IsOK(res1
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5768 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5770 arg2
= wxString_in_helper(obj1
);
5771 if (arg2
== NULL
) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 (arg1
)->SetTitle((wxString
const &)*arg2
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= SWIG_Py_Void();
5795 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5796 PyObject
*resultobj
= 0;
5797 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5801 PyObject
*swig_obj
[1] ;
5803 if (!args
) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5809 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5829 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
= 0;
5831 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5832 wxRegion
*arg2
= 0 ;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5840 char * kwnames
[] = {
5841 (char *) "self",(char *) "region", NULL
5844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5846 if (!SWIG_IsOK(res1
)) {
5847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5849 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5850 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5851 if (!SWIG_IsOK(res2
)) {
5852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5857 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5873 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
= 0;
5875 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5876 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 char * kwnames
[] = {
5884 (char *) "self",(char *) "flags", NULL
5887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5889 if (!SWIG_IsOK(res1
)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5892 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5895 if (!SWIG_IsOK(ecode2
)) {
5896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5898 arg2
= static_cast< int >(val2
);
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 (arg1
)->RequestUserAttention(arg2
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= SWIG_Py_Void();
5913 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5914 PyObject
*resultobj
= 0;
5915 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5919 PyObject
*swig_obj
[1] ;
5921 if (!args
) SWIG_fail
;
5923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5924 if (!SWIG_IsOK(res1
)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5927 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 result
= (bool)(arg1
)->IsActive();
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5943 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
= 0;
5945 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5951 PyObject
* obj0
= 0 ;
5952 PyObject
* obj1
= 0 ;
5953 char * kwnames
[] = {
5954 (char *) "self",(char *) "on", NULL
5957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5959 if (!SWIG_IsOK(res1
)) {
5960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5962 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5963 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5964 if (!SWIG_IsOK(ecode2
)) {
5965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5967 arg2
= static_cast< bool >(val2
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5982 PyObject
*resultobj
= 0;
5983 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5987 PyObject
*swig_obj
[1] ;
5989 if (!args
) SWIG_fail
;
5991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5992 if (!SWIG_IsOK(res1
)) {
5993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5995 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6011 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
= 0;
6013 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6014 int arg2
= (int) wxBOTH
;
6019 PyObject
* obj0
= 0 ;
6020 PyObject
* obj1
= 0 ;
6021 char * kwnames
[] = {
6022 (char *) "self",(char *) "dir", NULL
6025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6027 if (!SWIG_IsOK(res1
)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6030 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6033 if (!SWIG_IsOK(ecode2
)) {
6034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6036 arg2
= static_cast< int >(val2
);
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 (arg1
)->CenterOnScreen(arg2
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= SWIG_Py_Void();
6051 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
= 0;
6053 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6054 bool arg2
= (bool) true ;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6062 char * kwnames
[] = {
6063 (char *) "self",(char *) "enable", NULL
6066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6068 if (!SWIG_IsOK(res1
)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6071 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6073 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6074 if (!SWIG_IsOK(ecode2
)) {
6075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6077 arg2
= static_cast< bool >(val2
);
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 result
= (bool)wxTopLevelWindow_EnableCloseButton(arg1
,arg2
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6094 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6095 PyObject
*resultobj
= 0;
6096 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6097 wxWindow
*result
= 0 ;
6100 PyObject
*swig_obj
[1] ;
6102 if (!args
) SWIG_fail
;
6104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6105 if (!SWIG_IsOK(res1
)) {
6106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6108 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6116 resultobj
= wxPyMake_wxObject(result
, 0);
6124 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
= 0;
6126 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6127 wxWindow
*arg2
= (wxWindow
*) 0 ;
6128 wxWindow
*result
= 0 ;
6133 PyObject
* obj0
= 0 ;
6134 PyObject
* obj1
= 0 ;
6135 char * kwnames
[] = {
6136 (char *) "self",(char *) "child", NULL
6139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6141 if (!SWIG_IsOK(res1
)) {
6142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6144 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6146 if (!SWIG_IsOK(res2
)) {
6147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6149 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6157 resultobj
= wxPyMake_wxObject(result
, 0);
6165 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
= 0;
6167 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6168 wxWindow
*arg2
= (wxWindow
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6174 PyObject
* obj1
= 0 ;
6175 char * kwnames
[] = {
6176 (char *) "self",(char *) "win", NULL
6179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6181 if (!SWIG_IsOK(res1
)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6184 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6186 if (!SWIG_IsOK(res2
)) {
6187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 (arg1
)->SetTmpDefaultItem(arg2
);
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 resultobj
= SWIG_Py_Void();
6203 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6204 PyObject
*resultobj
= 0;
6205 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6206 wxWindow
*result
= 0 ;
6209 PyObject
*swig_obj
[1] ;
6211 if (!args
) SWIG_fail
;
6213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6214 if (!SWIG_IsOK(res1
)) {
6215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6217 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= wxPyMake_wxObject(result
, 0);
6233 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6235 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6236 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6237 return SWIG_Py_Void();
6240 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
= 0;
6242 wxWindow
*arg1
= (wxWindow
*) 0 ;
6243 int arg2
= (int) (int)-1 ;
6244 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6245 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6246 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6247 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6248 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6249 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6250 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6251 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6252 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6253 wxFrame
*result
= 0 ;
6258 bool temp3
= false ;
6263 bool temp7
= false ;
6264 PyObject
* obj0
= 0 ;
6265 PyObject
* obj1
= 0 ;
6266 PyObject
* obj2
= 0 ;
6267 PyObject
* obj3
= 0 ;
6268 PyObject
* obj4
= 0 ;
6269 PyObject
* obj5
= 0 ;
6270 PyObject
* obj6
= 0 ;
6271 char * kwnames
[] = {
6272 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6277 if (!SWIG_IsOK(res1
)) {
6278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6283 if (!SWIG_IsOK(ecode2
)) {
6284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6286 arg2
= static_cast< int >(val2
);
6290 arg3
= wxString_in_helper(obj2
);
6291 if (arg3
== NULL
) SWIG_fail
;
6298 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6304 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6308 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6309 if (!SWIG_IsOK(ecode6
)) {
6310 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6312 arg6
= static_cast< long >(val6
);
6316 arg7
= wxString_in_helper(obj6
);
6317 if (arg7
== NULL
) SWIG_fail
;
6322 if (!wxPyCheckForApp()) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6351 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6352 PyObject
*resultobj
= 0;
6353 wxFrame
*result
= 0 ;
6355 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6357 if (!wxPyCheckForApp()) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (wxFrame
*)new wxFrame();
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6370 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
= 0;
6372 wxFrame
*arg1
= (wxFrame
*) 0 ;
6373 wxWindow
*arg2
= (wxWindow
*) 0 ;
6374 int arg3
= (int) (int)-1 ;
6375 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6376 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6377 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6378 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6379 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6380 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6381 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6382 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6383 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6391 bool temp4
= false ;
6396 bool temp8
= false ;
6397 PyObject
* obj0
= 0 ;
6398 PyObject
* obj1
= 0 ;
6399 PyObject
* obj2
= 0 ;
6400 PyObject
* obj3
= 0 ;
6401 PyObject
* obj4
= 0 ;
6402 PyObject
* obj5
= 0 ;
6403 PyObject
* obj6
= 0 ;
6404 PyObject
* obj7
= 0 ;
6405 char * kwnames
[] = {
6406 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6411 if (!SWIG_IsOK(res1
)) {
6412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6414 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6416 if (!SWIG_IsOK(res2
)) {
6417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6419 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6422 if (!SWIG_IsOK(ecode3
)) {
6423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6425 arg3
= static_cast< int >(val3
);
6429 arg4
= wxString_in_helper(obj3
);
6430 if (arg4
== NULL
) SWIG_fail
;
6437 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6443 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6447 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6448 if (!SWIG_IsOK(ecode7
)) {
6449 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6451 arg7
= static_cast< long >(val7
);
6455 arg8
= wxString_in_helper(obj7
);
6456 if (arg8
== NULL
) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6491 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6492 PyObject
*resultobj
= 0;
6493 wxFrame
*arg1
= (wxFrame
*) 0 ;
6496 PyObject
*swig_obj
[1] ;
6498 if (!args
) SWIG_fail
;
6500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6501 if (!SWIG_IsOK(res1
)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6504 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 (arg1
)->SendSizeEvent();
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_Py_Void();
6518 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
= 0;
6520 wxFrame
*arg1
= (wxFrame
*) 0 ;
6521 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6527 PyObject
* obj1
= 0 ;
6528 char * kwnames
[] = {
6529 (char *) "self",(char *) "menubar", NULL
6532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6534 if (!SWIG_IsOK(res1
)) {
6535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6537 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6539 if (!SWIG_IsOK(res2
)) {
6540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6542 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 (arg1
)->SetMenuBar(arg2
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_Py_Void();
6556 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6557 PyObject
*resultobj
= 0;
6558 wxFrame
*arg1
= (wxFrame
*) 0 ;
6559 wxMenuBar
*result
= 0 ;
6562 PyObject
*swig_obj
[1] ;
6564 if (!args
) SWIG_fail
;
6566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6567 if (!SWIG_IsOK(res1
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6570 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= wxPyMake_wxObject(result
, 0);
6586 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
= 0;
6588 wxFrame
*arg1
= (wxFrame
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6596 PyObject
* obj1
= 0 ;
6597 char * kwnames
[] = {
6598 (char *) "self",(char *) "winid", NULL
6601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6603 if (!SWIG_IsOK(res1
)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6606 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6608 if (!SWIG_IsOK(ecode2
)) {
6609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6611 arg2
= static_cast< int >(val2
);
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6627 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
= 0;
6629 wxFrame
*arg1
= (wxFrame
*) 0 ;
6630 int arg2
= (int) 1 ;
6631 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6632 int arg4
= (int) 0 ;
6633 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6634 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6635 wxStatusBar
*result
= 0 ;
6644 bool temp5
= false ;
6645 PyObject
* obj0
= 0 ;
6646 PyObject
* obj1
= 0 ;
6647 PyObject
* obj2
= 0 ;
6648 PyObject
* obj3
= 0 ;
6649 PyObject
* obj4
= 0 ;
6650 char * kwnames
[] = {
6651 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6659 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6662 if (!SWIG_IsOK(ecode2
)) {
6663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6665 arg2
= static_cast< int >(val2
);
6668 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6669 if (!SWIG_IsOK(ecode3
)) {
6670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6672 arg3
= static_cast< long >(val3
);
6675 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6676 if (!SWIG_IsOK(ecode4
)) {
6677 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6679 arg4
= static_cast< int >(val4
);
6683 arg5
= wxString_in_helper(obj4
);
6684 if (arg5
== NULL
) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6711 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6712 PyObject
*resultobj
= 0;
6713 wxFrame
*arg1
= (wxFrame
*) 0 ;
6714 wxStatusBar
*result
= 0 ;
6717 PyObject
*swig_obj
[1] ;
6719 if (!args
) SWIG_fail
;
6721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6722 if (!SWIG_IsOK(res1
)) {
6723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6725 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6741 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
= 0;
6743 wxFrame
*arg1
= (wxFrame
*) 0 ;
6744 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6751 char * kwnames
[] = {
6752 (char *) "self",(char *) "statBar", NULL
6755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6757 if (!SWIG_IsOK(res1
)) {
6758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6760 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6762 if (!SWIG_IsOK(res2
)) {
6763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6765 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 (arg1
)->SetStatusBar(arg2
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= SWIG_Py_Void();
6779 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
= 0;
6781 wxFrame
*arg1
= (wxFrame
*) 0 ;
6782 wxString
*arg2
= 0 ;
6783 int arg3
= (int) 0 ;
6786 bool temp2
= false ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6791 PyObject
* obj2
= 0 ;
6792 char * kwnames
[] = {
6793 (char *) "self",(char *) "text",(char *) "number", NULL
6796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6798 if (!SWIG_IsOK(res1
)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6801 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6803 arg2
= wxString_in_helper(obj1
);
6804 if (arg2
== NULL
) SWIG_fail
;
6808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6809 if (!SWIG_IsOK(ecode3
)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6812 arg3
= static_cast< int >(val3
);
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_Py_Void();
6835 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
= 0;
6837 wxFrame
*arg1
= (wxFrame
*) 0 ;
6839 int *arg3
= (int *) 0 ;
6842 PyObject
* obj0
= 0 ;
6843 PyObject
* obj1
= 0 ;
6844 char * kwnames
[] = {
6845 (char *) "self",(char *) "widths", NULL
6848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6850 if (!SWIG_IsOK(res1
)) {
6851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6853 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6855 arg2
= PyList_Size(obj1
);
6856 arg3
= int_LIST_helper(obj1
);
6857 if (arg3
== NULL
) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= SWIG_Py_Void();
6867 if (arg3
) delete [] arg3
;
6872 if (arg3
) delete [] arg3
;
6878 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
= 0;
6880 wxFrame
*arg1
= (wxFrame
*) 0 ;
6881 wxString
*arg2
= 0 ;
6882 int arg3
= (int) 0 ;
6885 bool temp2
= false ;
6888 PyObject
* obj0
= 0 ;
6889 PyObject
* obj1
= 0 ;
6890 PyObject
* obj2
= 0 ;
6891 char * kwnames
[] = {
6892 (char *) "self",(char *) "text",(char *) "number", NULL
6895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6897 if (!SWIG_IsOK(res1
)) {
6898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6900 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6902 arg2
= wxString_in_helper(obj1
);
6903 if (arg2
== NULL
) SWIG_fail
;
6907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6908 if (!SWIG_IsOK(ecode3
)) {
6909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6911 arg3
= static_cast< int >(val3
);
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_Py_Void();
6934 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
= 0;
6936 wxFrame
*arg1
= (wxFrame
*) 0 ;
6937 int arg2
= (int) 0 ;
6942 PyObject
* obj0
= 0 ;
6943 PyObject
* obj1
= 0 ;
6944 char * kwnames
[] = {
6945 (char *) "self",(char *) "number", NULL
6948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6950 if (!SWIG_IsOK(res1
)) {
6951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6953 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6956 if (!SWIG_IsOK(ecode2
)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6959 arg2
= static_cast< int >(val2
);
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 (arg1
)->PopStatusText(arg2
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= SWIG_Py_Void();
6974 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
= 0;
6976 wxFrame
*arg1
= (wxFrame
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6983 PyObject
* obj1
= 0 ;
6984 char * kwnames
[] = {
6985 (char *) "self",(char *) "n", NULL
6988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6990 if (!SWIG_IsOK(res1
)) {
6991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6993 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6995 if (!SWIG_IsOK(ecode2
)) {
6996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6998 arg2
= static_cast< int >(val2
);
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 (arg1
)->SetStatusBarPane(arg2
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= SWIG_Py_Void();
7012 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7013 PyObject
*resultobj
= 0;
7014 wxFrame
*arg1
= (wxFrame
*) 0 ;
7018 PyObject
*swig_obj
[1] ;
7020 if (!args
) SWIG_fail
;
7022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7023 if (!SWIG_IsOK(res1
)) {
7024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7026 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= SWIG_From_int(static_cast< int >(result
));
7040 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
= 0;
7042 wxFrame
*arg1
= (wxFrame
*) 0 ;
7043 long arg2
= (long) -1 ;
7044 int arg3
= (int) -1 ;
7045 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7046 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7047 wxToolBar
*result
= 0 ;
7054 bool temp4
= false ;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7057 PyObject
* obj2
= 0 ;
7058 PyObject
* obj3
= 0 ;
7059 char * kwnames
[] = {
7060 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7065 if (!SWIG_IsOK(res1
)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7068 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7070 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7071 if (!SWIG_IsOK(ecode2
)) {
7072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7074 arg2
= static_cast< long >(val2
);
7077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7078 if (!SWIG_IsOK(ecode3
)) {
7079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7081 arg3
= static_cast< int >(val3
);
7085 arg4
= wxString_in_helper(obj3
);
7086 if (arg4
== NULL
) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7113 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7114 PyObject
*resultobj
= 0;
7115 wxFrame
*arg1
= (wxFrame
*) 0 ;
7116 wxToolBar
*result
= 0 ;
7119 PyObject
*swig_obj
[1] ;
7121 if (!args
) SWIG_fail
;
7123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7124 if (!SWIG_IsOK(res1
)) {
7125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7127 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7143 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
= 0;
7145 wxFrame
*arg1
= (wxFrame
*) 0 ;
7146 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7151 PyObject
* obj0
= 0 ;
7152 PyObject
* obj1
= 0 ;
7153 char * kwnames
[] = {
7154 (char *) "self",(char *) "toolbar", NULL
7157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7162 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7164 if (!SWIG_IsOK(res2
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7167 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 (arg1
)->SetToolBar(arg2
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= SWIG_Py_Void();
7181 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
= 0;
7183 wxFrame
*arg1
= (wxFrame
*) 0 ;
7184 wxString
*arg2
= 0 ;
7188 bool temp2
= false ;
7191 PyObject
* obj0
= 0 ;
7192 PyObject
* obj1
= 0 ;
7193 PyObject
* obj2
= 0 ;
7194 char * kwnames
[] = {
7195 (char *) "self",(char *) "text",(char *) "show", NULL
7198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7200 if (!SWIG_IsOK(res1
)) {
7201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7203 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7205 arg2
= wxString_in_helper(obj1
);
7206 if (arg2
== NULL
) SWIG_fail
;
7209 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7210 if (!SWIG_IsOK(ecode3
)) {
7211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7213 arg3
= static_cast< bool >(val3
);
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 resultobj
= SWIG_Py_Void();
7235 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
= 0;
7237 wxFrame
*arg1
= (wxFrame
*) 0 ;
7238 wxMenu
*arg2
= (wxMenu
*) NULL
;
7243 PyObject
* obj0
= 0 ;
7244 PyObject
* obj1
= 0 ;
7245 char * kwnames
[] = {
7246 (char *) "self",(char *) "menu", NULL
7249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7251 if (!SWIG_IsOK(res1
)) {
7252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7254 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7257 if (!SWIG_IsOK(res2
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7260 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 (arg1
)->DoMenuUpdates(arg2
);
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= SWIG_Py_Void();
7275 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
= 0;
7277 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7278 SwigValueWrapper
<wxVisualAttributes
> result
;
7281 PyObject
* obj0
= 0 ;
7282 char * kwnames
[] = {
7283 (char *) "variant", NULL
7286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7288 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7289 if (!SWIG_IsOK(ecode1
)) {
7290 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7292 arg1
= static_cast< wxWindowVariant
>(val1
);
7295 if (!wxPyCheckForApp()) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7308 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7311 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7312 return SWIG_Py_Void();
7315 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7316 return SWIG_Python_InitShadowInstance(args
);
7319 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
= 0;
7321 wxWindow
*arg1
= (wxWindow
*) 0 ;
7322 int arg2
= (int) (int)-1 ;
7323 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7324 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7329 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7330 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7331 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7332 wxDialog
*result
= 0 ;
7337 bool temp3
= false ;
7342 bool temp7
= false ;
7343 PyObject
* obj0
= 0 ;
7344 PyObject
* obj1
= 0 ;
7345 PyObject
* obj2
= 0 ;
7346 PyObject
* obj3
= 0 ;
7347 PyObject
* obj4
= 0 ;
7348 PyObject
* obj5
= 0 ;
7349 PyObject
* obj6
= 0 ;
7350 char * kwnames
[] = {
7351 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7356 if (!SWIG_IsOK(res1
)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7359 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7362 if (!SWIG_IsOK(ecode2
)) {
7363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7365 arg2
= static_cast< int >(val2
);
7369 arg3
= wxString_in_helper(obj2
);
7370 if (arg3
== NULL
) SWIG_fail
;
7377 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7383 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7387 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7388 if (!SWIG_IsOK(ecode6
)) {
7389 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7391 arg6
= static_cast< long >(val6
);
7395 arg7
= wxString_in_helper(obj6
);
7396 if (arg7
== NULL
) SWIG_fail
;
7401 if (!wxPyCheckForApp()) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7430 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7431 PyObject
*resultobj
= 0;
7432 wxDialog
*result
= 0 ;
7434 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7436 if (!wxPyCheckForApp()) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 result
= (wxDialog
*)new wxDialog();
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7449 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
= 0;
7451 wxDialog
*arg1
= (wxDialog
*) 0 ;
7452 wxWindow
*arg2
= (wxWindow
*) 0 ;
7453 int arg3
= (int) (int)-1 ;
7454 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7455 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7456 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7457 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7458 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7459 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7460 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7461 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7462 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7470 bool temp4
= false ;
7475 bool temp8
= false ;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7478 PyObject
* obj2
= 0 ;
7479 PyObject
* obj3
= 0 ;
7480 PyObject
* obj4
= 0 ;
7481 PyObject
* obj5
= 0 ;
7482 PyObject
* obj6
= 0 ;
7483 PyObject
* obj7
= 0 ;
7484 char * kwnames
[] = {
7485 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7490 if (!SWIG_IsOK(res1
)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7493 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7495 if (!SWIG_IsOK(res2
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7498 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7501 if (!SWIG_IsOK(ecode3
)) {
7502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7504 arg3
= static_cast< int >(val3
);
7508 arg4
= wxString_in_helper(obj3
);
7509 if (arg4
== NULL
) SWIG_fail
;
7516 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7522 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7526 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7527 if (!SWIG_IsOK(ecode7
)) {
7528 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7530 arg7
= static_cast< long >(val7
);
7534 arg8
= wxString_in_helper(obj7
);
7535 if (arg8
== NULL
) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7570 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
= 0;
7572 wxDialog
*arg1
= (wxDialog
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7579 PyObject
* obj1
= 0 ;
7580 char * kwnames
[] = {
7581 (char *) "self",(char *) "returnCode", NULL
7584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7586 if (!SWIG_IsOK(res1
)) {
7587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7589 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7591 if (!SWIG_IsOK(ecode2
)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7594 arg2
= static_cast< int >(val2
);
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 (arg1
)->SetReturnCode(arg2
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= SWIG_Py_Void();
7608 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7609 PyObject
*resultobj
= 0;
7610 wxDialog
*arg1
= (wxDialog
*) 0 ;
7614 PyObject
*swig_obj
[1] ;
7616 if (!args
) SWIG_fail
;
7618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7619 if (!SWIG_IsOK(res1
)) {
7620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7622 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= SWIG_From_int(static_cast< int >(result
));
7636 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
= 0;
7638 wxDialog
*arg1
= (wxDialog
*) 0 ;
7644 PyObject
* obj0
= 0 ;
7645 PyObject
* obj1
= 0 ;
7646 char * kwnames
[] = {
7647 (char *) "self",(char *) "affirmativeId", NULL
7650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7652 if (!SWIG_IsOK(res1
)) {
7653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7655 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7657 if (!SWIG_IsOK(ecode2
)) {
7658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7660 arg2
= static_cast< int >(val2
);
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 (arg1
)->SetAffirmativeId(arg2
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= SWIG_Py_Void();
7674 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7675 PyObject
*resultobj
= 0;
7676 wxDialog
*arg1
= (wxDialog
*) 0 ;
7680 PyObject
*swig_obj
[1] ;
7682 if (!args
) SWIG_fail
;
7684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7685 if (!SWIG_IsOK(res1
)) {
7686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7688 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= SWIG_From_int(static_cast< int >(result
));
7702 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
= 0;
7704 wxDialog
*arg1
= (wxDialog
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7711 PyObject
* obj1
= 0 ;
7712 char * kwnames
[] = {
7713 (char *) "self",(char *) "escapeId", NULL
7716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7718 if (!SWIG_IsOK(res1
)) {
7719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7721 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7723 if (!SWIG_IsOK(ecode2
)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7726 arg2
= static_cast< int >(val2
);
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 (arg1
)->SetEscapeId(arg2
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= SWIG_Py_Void();
7740 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7741 PyObject
*resultobj
= 0;
7742 wxDialog
*arg1
= (wxDialog
*) 0 ;
7746 PyObject
*swig_obj
[1] ;
7748 if (!args
) SWIG_fail
;
7750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7751 if (!SWIG_IsOK(res1
)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7754 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= SWIG_From_int(static_cast< int >(result
));
7768 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
= 0;
7770 wxDialog
*arg1
= (wxDialog
*) 0 ;
7771 wxString
*arg2
= 0 ;
7772 wxSizer
*result
= 0 ;
7775 bool temp2
= false ;
7776 PyObject
* obj0
= 0 ;
7777 PyObject
* obj1
= 0 ;
7778 char * kwnames
[] = {
7779 (char *) "self",(char *) "message", NULL
7782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7784 if (!SWIG_IsOK(res1
)) {
7785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7787 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7789 arg2
= wxString_in_helper(obj1
);
7790 if (arg2
== NULL
) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7816 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
*resultobj
= 0;
7818 wxDialog
*arg1
= (wxDialog
*) 0 ;
7820 bool arg3
= (bool) false ;
7821 int arg4
= (int) 0 ;
7822 wxSizer
*result
= 0 ;
7831 PyObject
* obj0
= 0 ;
7832 PyObject
* obj1
= 0 ;
7833 PyObject
* obj2
= 0 ;
7834 PyObject
* obj3
= 0 ;
7835 char * kwnames
[] = {
7836 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7841 if (!SWIG_IsOK(res1
)) {
7842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7844 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7845 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7846 if (!SWIG_IsOK(ecode2
)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7849 arg2
= static_cast< long >(val2
);
7851 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7852 if (!SWIG_IsOK(ecode3
)) {
7853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7855 arg3
= static_cast< bool >(val3
);
7858 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7859 if (!SWIG_IsOK(ecode4
)) {
7860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7862 arg4
= static_cast< int >(val4
);
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7871 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7879 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
= 0;
7881 wxDialog
*arg1
= (wxDialog
*) 0 ;
7883 wxStdDialogButtonSizer
*result
= 0 ;
7888 PyObject
* obj0
= 0 ;
7889 PyObject
* obj1
= 0 ;
7890 char * kwnames
[] = {
7891 (char *) "self",(char *) "flags", NULL
7894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7896 if (!SWIG_IsOK(res1
)) {
7897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7899 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7900 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7901 if (!SWIG_IsOK(ecode2
)) {
7902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7904 arg2
= static_cast< long >(val2
);
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7918 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7919 PyObject
*resultobj
= 0;
7920 wxDialog
*arg1
= (wxDialog
*) 0 ;
7924 PyObject
*swig_obj
[1] ;
7926 if (!args
) SWIG_fail
;
7928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7929 if (!SWIG_IsOK(res1
)) {
7930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7932 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7948 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7949 PyObject
*resultobj
= 0;
7950 wxDialog
*arg1
= (wxDialog
*) 0 ;
7954 PyObject
*swig_obj
[1] ;
7956 if (!args
) SWIG_fail
;
7958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7959 if (!SWIG_IsOK(res1
)) {
7960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7962 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 result
= (int)(arg1
)->ShowModal();
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= SWIG_From_int(static_cast< int >(result
));
7976 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
= 0;
7978 wxDialog
*arg1
= (wxDialog
*) 0 ;
7984 PyObject
* obj0
= 0 ;
7985 PyObject
* obj1
= 0 ;
7986 char * kwnames
[] = {
7987 (char *) "self",(char *) "retCode", NULL
7990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7992 if (!SWIG_IsOK(res1
)) {
7993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7995 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7997 if (!SWIG_IsOK(ecode2
)) {
7998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8000 arg2
= static_cast< int >(val2
);
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 (arg1
)->EndModal(arg2
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= SWIG_Py_Void();
8014 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
= 0;
8016 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8017 SwigValueWrapper
<wxVisualAttributes
> result
;
8020 PyObject
* obj0
= 0 ;
8021 char * kwnames
[] = {
8022 (char *) "variant", NULL
8025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8028 if (!SWIG_IsOK(ecode1
)) {
8029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8031 arg1
= static_cast< wxWindowVariant
>(val1
);
8034 if (!wxPyCheckForApp()) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8047 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8050 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8051 return SWIG_Py_Void();
8054 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8055 return SWIG_Python_InitShadowInstance(args
);
8058 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
= 0;
8060 wxWindow
*arg1
= (wxWindow
*) 0 ;
8061 int arg2
= (int) (int)-1 ;
8062 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8064 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8065 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8066 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8067 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8068 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8069 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8070 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8071 wxMiniFrame
*result
= 0 ;
8076 bool temp3
= false ;
8081 bool temp7
= false ;
8082 PyObject
* obj0
= 0 ;
8083 PyObject
* obj1
= 0 ;
8084 PyObject
* obj2
= 0 ;
8085 PyObject
* obj3
= 0 ;
8086 PyObject
* obj4
= 0 ;
8087 PyObject
* obj5
= 0 ;
8088 PyObject
* obj6
= 0 ;
8089 char * kwnames
[] = {
8090 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8095 if (!SWIG_IsOK(res1
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8098 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8101 if (!SWIG_IsOK(ecode2
)) {
8102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8104 arg2
= static_cast< int >(val2
);
8108 arg3
= wxString_in_helper(obj2
);
8109 if (arg3
== NULL
) SWIG_fail
;
8116 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8122 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8126 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8127 if (!SWIG_IsOK(ecode6
)) {
8128 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8130 arg6
= static_cast< long >(val6
);
8134 arg7
= wxString_in_helper(obj6
);
8135 if (arg7
== NULL
) SWIG_fail
;
8140 if (!wxPyCheckForApp()) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8169 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8170 PyObject
*resultobj
= 0;
8171 wxMiniFrame
*result
= 0 ;
8173 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8175 if (!wxPyCheckForApp()) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 result
= (wxMiniFrame
*)new wxMiniFrame();
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8188 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
= 0;
8190 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8191 wxWindow
*arg2
= (wxWindow
*) 0 ;
8192 int arg3
= (int) (int)-1 ;
8193 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8194 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8195 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8196 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8197 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8198 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8199 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8200 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8201 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8209 bool temp4
= false ;
8214 bool temp8
= false ;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8217 PyObject
* obj2
= 0 ;
8218 PyObject
* obj3
= 0 ;
8219 PyObject
* obj4
= 0 ;
8220 PyObject
* obj5
= 0 ;
8221 PyObject
* obj6
= 0 ;
8222 PyObject
* obj7
= 0 ;
8223 char * kwnames
[] = {
8224 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8229 if (!SWIG_IsOK(res1
)) {
8230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8232 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8234 if (!SWIG_IsOK(res2
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8237 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8240 if (!SWIG_IsOK(ecode3
)) {
8241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8243 arg3
= static_cast< int >(val3
);
8247 arg4
= wxString_in_helper(obj3
);
8248 if (arg4
== NULL
) SWIG_fail
;
8255 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8261 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8265 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8266 if (!SWIG_IsOK(ecode7
)) {
8267 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8269 arg7
= static_cast< long >(val7
);
8273 arg8
= wxString_in_helper(obj7
);
8274 if (arg8
== NULL
) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8309 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8312 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8313 return SWIG_Py_Void();
8316 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8317 return SWIG_Python_InitShadowInstance(args
);
8320 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
= 0;
8322 wxBitmap
*arg1
= 0 ;
8323 wxWindow
*arg2
= (wxWindow
*) 0 ;
8325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8329 long arg6
= (long) wxNO_BORDER
;
8330 wxSplashScreenWindow
*result
= 0 ;
8341 PyObject
* obj0
= 0 ;
8342 PyObject
* obj1
= 0 ;
8343 PyObject
* obj2
= 0 ;
8344 PyObject
* obj3
= 0 ;
8345 PyObject
* obj4
= 0 ;
8346 PyObject
* obj5
= 0 ;
8347 char * kwnames
[] = {
8348 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8352 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8353 if (!SWIG_IsOK(res1
)) {
8354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8359 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8361 if (!SWIG_IsOK(res2
)) {
8362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8364 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8366 if (!SWIG_IsOK(ecode3
)) {
8367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8369 arg3
= static_cast< int >(val3
);
8373 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8379 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8383 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8384 if (!SWIG_IsOK(ecode6
)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8387 arg6
= static_cast< long >(val6
);
8390 if (!wxPyCheckForApp()) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8403 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
= 0;
8405 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8406 wxBitmap
*arg2
= 0 ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8413 char * kwnames
[] = {
8414 (char *) "self",(char *) "bitmap", NULL
8417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8419 if (!SWIG_IsOK(res1
)) {
8420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8422 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8423 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8424 if (!SWIG_IsOK(res2
)) {
8425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8430 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= SWIG_Py_Void();
8444 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8445 PyObject
*resultobj
= 0;
8446 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8447 wxBitmap
*result
= 0 ;
8450 PyObject
*swig_obj
[1] ;
8452 if (!args
) SWIG_fail
;
8454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8455 if (!SWIG_IsOK(res1
)) {
8456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8458 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8463 result
= (wxBitmap
*) &_result_ref
;
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8469 wxBitmap
* resultptr
= new wxBitmap(*result
);
8470 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8478 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8481 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8482 return SWIG_Py_Void();
8485 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8486 return SWIG_Python_InitShadowInstance(args
);
8489 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
= 0;
8491 wxBitmap
*arg1
= 0 ;
8494 wxWindow
*arg4
= (wxWindow
*) 0 ;
8495 int arg5
= (int) -1 ;
8496 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8497 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8498 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8499 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8500 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8501 wxSplashScreen
*result
= 0 ;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8518 PyObject
* obj2
= 0 ;
8519 PyObject
* obj3
= 0 ;
8520 PyObject
* obj4
= 0 ;
8521 PyObject
* obj5
= 0 ;
8522 PyObject
* obj6
= 0 ;
8523 PyObject
* obj7
= 0 ;
8524 char * kwnames
[] = {
8525 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8529 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8530 if (!SWIG_IsOK(res1
)) {
8531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8536 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8537 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8538 if (!SWIG_IsOK(ecode2
)) {
8539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8541 arg2
= static_cast< long >(val2
);
8542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8543 if (!SWIG_IsOK(ecode3
)) {
8544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8546 arg3
= static_cast< int >(val3
);
8547 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8548 if (!SWIG_IsOK(res4
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8551 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8553 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8554 if (!SWIG_IsOK(ecode5
)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8557 arg5
= static_cast< int >(val5
);
8562 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8568 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8572 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8573 if (!SWIG_IsOK(ecode8
)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8576 arg8
= static_cast< long >(val8
);
8579 if (!wxPyCheckForApp()) SWIG_fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8592 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8593 PyObject
*resultobj
= 0;
8594 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8598 PyObject
*swig_obj
[1] ;
8600 if (!args
) SWIG_fail
;
8602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8603 if (!SWIG_IsOK(res1
)) {
8604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8606 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= SWIG_From_long(static_cast< long >(result
));
8620 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8621 PyObject
*resultobj
= 0;
8622 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8623 wxSplashScreenWindow
*result
= 0 ;
8626 PyObject
*swig_obj
[1] ;
8628 if (!args
) SWIG_fail
;
8630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8631 if (!SWIG_IsOK(res1
)) {
8632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8634 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8648 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8649 PyObject
*resultobj
= 0;
8650 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8654 PyObject
*swig_obj
[1] ;
8656 if (!args
) SWIG_fail
;
8658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8659 if (!SWIG_IsOK(res1
)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8662 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_From_int(static_cast< int >(result
));
8676 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8679 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8680 return SWIG_Py_Void();
8683 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8684 return SWIG_Python_InitShadowInstance(args
);
8687 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxWindow
*arg1
= (wxWindow
*) 0 ;
8690 int arg2
= (int) -1 ;
8691 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8692 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8693 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8694 wxStatusBar
*result
= 0 ;
8701 bool temp4
= false ;
8702 PyObject
* obj0
= 0 ;
8703 PyObject
* obj1
= 0 ;
8704 PyObject
* obj2
= 0 ;
8705 PyObject
* obj3
= 0 ;
8706 char * kwnames
[] = {
8707 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8712 if (!SWIG_IsOK(res1
)) {
8713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8715 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8718 if (!SWIG_IsOK(ecode2
)) {
8719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8721 arg2
= static_cast< int >(val2
);
8724 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8725 if (!SWIG_IsOK(ecode3
)) {
8726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8728 arg3
= static_cast< long >(val3
);
8732 arg4
= wxString_in_helper(obj3
);
8733 if (arg4
== NULL
) SWIG_fail
;
8738 if (!wxPyCheckForApp()) SWIG_fail
;
8739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8740 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8759 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8760 PyObject
*resultobj
= 0;
8761 wxStatusBar
*result
= 0 ;
8763 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8765 if (!wxPyCheckForApp()) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 result
= (wxStatusBar
*)new wxStatusBar();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8778 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
= 0;
8780 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8781 wxWindow
*arg2
= (wxWindow
*) 0 ;
8782 int arg3
= (int) -1 ;
8783 long arg4
= (long) wxST_SIZEGRIP
;
8784 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8785 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8795 bool temp5
= false ;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8798 PyObject
* obj2
= 0 ;
8799 PyObject
* obj3
= 0 ;
8800 PyObject
* obj4
= 0 ;
8801 char * kwnames
[] = {
8802 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8807 if (!SWIG_IsOK(res1
)) {
8808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8810 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8811 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8812 if (!SWIG_IsOK(res2
)) {
8813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8815 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8818 if (!SWIG_IsOK(ecode3
)) {
8819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8821 arg3
= static_cast< int >(val3
);
8824 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8825 if (!SWIG_IsOK(ecode4
)) {
8826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8828 arg4
= static_cast< long >(val4
);
8832 arg5
= wxString_in_helper(obj4
);
8833 if (arg5
== NULL
) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8860 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
= 0;
8862 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8863 int arg2
= (int) 1 ;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8870 char * kwnames
[] = {
8871 (char *) "self",(char *) "number", NULL
8874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8876 if (!SWIG_IsOK(res1
)) {
8877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8879 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8882 if (!SWIG_IsOK(ecode2
)) {
8883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8885 arg2
= static_cast< int >(val2
);
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 (arg1
)->SetFieldsCount(arg2
);
8890 wxPyEndAllowThreads(__tstate
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8893 resultobj
= SWIG_Py_Void();
8900 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8901 PyObject
*resultobj
= 0;
8902 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8906 PyObject
*swig_obj
[1] ;
8908 if (!args
) SWIG_fail
;
8910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8911 if (!SWIG_IsOK(res1
)) {
8912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8914 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= SWIG_From_int(static_cast< int >(result
));
8928 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
= 0;
8930 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8931 wxString
*arg2
= 0 ;
8932 int arg3
= (int) 0 ;
8935 bool temp2
= false ;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8940 PyObject
* obj2
= 0 ;
8941 char * kwnames
[] = {
8942 (char *) "self",(char *) "text",(char *) "number", NULL
8945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8947 if (!SWIG_IsOK(res1
)) {
8948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8950 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8952 arg2
= wxString_in_helper(obj1
);
8953 if (arg2
== NULL
) SWIG_fail
;
8957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8958 if (!SWIG_IsOK(ecode3
)) {
8959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8961 arg3
= static_cast< int >(val3
);
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 resultobj
= SWIG_Py_Void();
8984 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
= 0;
8986 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8987 int arg2
= (int) 0 ;
8993 PyObject
* obj0
= 0 ;
8994 PyObject
* obj1
= 0 ;
8995 char * kwnames
[] = {
8996 (char *) "self",(char *) "number", NULL
8999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9001 if (!SWIG_IsOK(res1
)) {
9002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9004 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9007 if (!SWIG_IsOK(ecode2
)) {
9008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9010 arg2
= static_cast< int >(val2
);
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9031 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
= 0;
9033 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9034 wxString
*arg2
= 0 ;
9035 int arg3
= (int) 0 ;
9038 bool temp2
= false ;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9043 PyObject
* obj2
= 0 ;
9044 char * kwnames
[] = {
9045 (char *) "self",(char *) "text",(char *) "number", NULL
9048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9050 if (!SWIG_IsOK(res1
)) {
9051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9053 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9055 arg2
= wxString_in_helper(obj1
);
9056 if (arg2
== NULL
) SWIG_fail
;
9060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9061 if (!SWIG_IsOK(ecode3
)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9064 arg3
= static_cast< int >(val3
);
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_Py_Void();
9087 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= 0;
9089 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9090 int arg2
= (int) 0 ;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9097 char * kwnames
[] = {
9098 (char *) "self",(char *) "number", NULL
9101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9103 if (!SWIG_IsOK(res1
)) {
9104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9106 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9109 if (!SWIG_IsOK(ecode2
)) {
9110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9112 arg2
= static_cast< int >(val2
);
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 (arg1
)->PopStatusText(arg2
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= SWIG_Py_Void();
9127 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
= 0;
9129 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9131 int *arg3
= (int *) 0 ;
9134 PyObject
* obj0
= 0 ;
9135 PyObject
* obj1
= 0 ;
9136 char * kwnames
[] = {
9137 (char *) "self",(char *) "widths", NULL
9140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9142 if (!SWIG_IsOK(res1
)) {
9143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9145 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9147 arg2
= PyList_Size(obj1
);
9148 arg3
= int_LIST_helper(obj1
);
9149 if (arg3
== NULL
) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_Py_Void();
9159 if (arg3
) delete [] arg3
;
9164 if (arg3
) delete [] arg3
;
9170 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
= 0;
9172 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9174 int *arg3
= (int *) 0 ;
9177 PyObject
* obj0
= 0 ;
9178 PyObject
* obj1
= 0 ;
9179 char * kwnames
[] = {
9180 (char *) "self",(char *) "styles", NULL
9183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9185 if (!SWIG_IsOK(res1
)) {
9186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9188 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9190 arg2
= PyList_Size(obj1
);
9191 arg3
= int_LIST_helper(obj1
);
9192 if (arg3
== NULL
) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= SWIG_Py_Void();
9202 if (arg3
) delete [] arg3
;
9207 if (arg3
) delete [] arg3
;
9213 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= 0;
9215 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9223 PyObject
* obj1
= 0 ;
9224 char * kwnames
[] = {
9225 (char *) "self",(char *) "i", NULL
9228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9230 if (!SWIG_IsOK(res1
)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9233 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9235 if (!SWIG_IsOK(ecode2
)) {
9236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9238 arg2
= static_cast< int >(val2
);
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9252 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
= 0;
9254 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9260 PyObject
* obj0
= 0 ;
9261 PyObject
* obj1
= 0 ;
9262 char * kwnames
[] = {
9263 (char *) "self",(char *) "height", NULL
9266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9268 if (!SWIG_IsOK(res1
)) {
9269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9271 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9273 if (!SWIG_IsOK(ecode2
)) {
9274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9276 arg2
= static_cast< int >(val2
);
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 (arg1
)->SetMinHeight(arg2
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 resultobj
= SWIG_Py_Void();
9290 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9291 PyObject
*resultobj
= 0;
9292 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9296 PyObject
*swig_obj
[1] ;
9298 if (!args
) SWIG_fail
;
9300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9301 if (!SWIG_IsOK(res1
)) {
9302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9304 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9311 resultobj
= SWIG_From_int(static_cast< int >(result
));
9318 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9319 PyObject
*resultobj
= 0;
9320 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9324 PyObject
*swig_obj
[1] ;
9326 if (!args
) SWIG_fail
;
9328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9329 if (!SWIG_IsOK(res1
)) {
9330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9332 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= SWIG_From_int(static_cast< int >(result
));
9346 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
= 0;
9348 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9349 SwigValueWrapper
<wxVisualAttributes
> result
;
9352 PyObject
* obj0
= 0 ;
9353 char * kwnames
[] = {
9354 (char *) "variant", NULL
9357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9359 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9360 if (!SWIG_IsOK(ecode1
)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9363 arg1
= static_cast< wxWindowVariant
>(val1
);
9366 if (!wxPyCheckForApp()) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9379 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9382 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9383 return SWIG_Py_Void();
9386 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9387 return SWIG_Python_InitShadowInstance(args
);
9390 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9391 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9396 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9397 PyObject
*pyobj
= 0;
9401 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9403 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9410 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
= 0;
9412 wxWindow
*arg1
= (wxWindow
*) 0 ;
9413 int arg2
= (int) -1 ;
9414 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9415 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9416 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9417 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9418 long arg5
= (long) wxSP_3D
;
9419 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9420 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9421 wxSplitterWindow
*result
= 0 ;
9430 bool temp6
= false ;
9431 PyObject
* obj0
= 0 ;
9432 PyObject
* obj1
= 0 ;
9433 PyObject
* obj2
= 0 ;
9434 PyObject
* obj3
= 0 ;
9435 PyObject
* obj4
= 0 ;
9436 PyObject
* obj5
= 0 ;
9437 char * kwnames
[] = {
9438 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9443 if (!SWIG_IsOK(res1
)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9446 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9449 if (!SWIG_IsOK(ecode2
)) {
9450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9452 arg2
= static_cast< int >(val2
);
9457 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9463 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9467 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9468 if (!SWIG_IsOK(ecode5
)) {
9469 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9471 arg5
= static_cast< long >(val5
);
9475 arg6
= wxString_in_helper(obj5
);
9476 if (arg6
== NULL
) SWIG_fail
;
9481 if (!wxPyCheckForApp()) SWIG_fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9502 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9503 PyObject
*resultobj
= 0;
9504 wxSplitterWindow
*result
= 0 ;
9506 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9508 if (!wxPyCheckForApp()) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9521 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
= 0;
9523 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9524 wxWindow
*arg2
= (wxWindow
*) 0 ;
9525 int arg3
= (int) -1 ;
9526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9530 long arg6
= (long) wxSP_3D
;
9531 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9532 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9544 bool temp7
= false ;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9547 PyObject
* obj2
= 0 ;
9548 PyObject
* obj3
= 0 ;
9549 PyObject
* obj4
= 0 ;
9550 PyObject
* obj5
= 0 ;
9551 PyObject
* obj6
= 0 ;
9552 char * kwnames
[] = {
9553 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9558 if (!SWIG_IsOK(res1
)) {
9559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9561 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9563 if (!SWIG_IsOK(res2
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9566 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9569 if (!SWIG_IsOK(ecode3
)) {
9570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9572 arg3
= static_cast< int >(val3
);
9577 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9583 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9587 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9588 if (!SWIG_IsOK(ecode6
)) {
9589 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9591 arg6
= static_cast< long >(val6
);
9595 arg7
= wxString_in_helper(obj6
);
9596 if (arg7
== NULL
) SWIG_fail
;
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9623 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9624 PyObject
*resultobj
= 0;
9625 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9626 wxWindow
*result
= 0 ;
9629 PyObject
*swig_obj
[1] ;
9631 if (!args
) SWIG_fail
;
9633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9634 if (!SWIG_IsOK(res1
)) {
9635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9637 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= wxPyMake_wxObject(result
, 0);
9653 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9654 PyObject
*resultobj
= 0;
9655 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9656 wxWindow
*result
= 0 ;
9659 PyObject
*swig_obj
[1] ;
9661 if (!args
) SWIG_fail
;
9663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9664 if (!SWIG_IsOK(res1
)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9667 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= wxPyMake_wxObject(result
, 0);
9683 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
= 0;
9685 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9691 PyObject
* obj0
= 0 ;
9692 PyObject
* obj1
= 0 ;
9693 char * kwnames
[] = {
9694 (char *) "self",(char *) "mode", NULL
9697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9699 if (!SWIG_IsOK(res1
)) {
9700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9702 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9704 if (!SWIG_IsOK(ecode2
)) {
9705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9707 arg2
= static_cast< int >(val2
);
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 (arg1
)->SetSplitMode(arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= SWIG_Py_Void();
9721 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9722 PyObject
*resultobj
= 0;
9723 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9727 PyObject
*swig_obj
[1] ;
9729 if (!args
) SWIG_fail
;
9731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9732 if (!SWIG_IsOK(res1
)) {
9733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9735 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= SWIG_From_int(static_cast< int >(result
));
9749 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
= 0;
9751 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9752 wxWindow
*arg2
= (wxWindow
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9758 PyObject
* obj1
= 0 ;
9759 char * kwnames
[] = {
9760 (char *) "self",(char *) "window", NULL
9763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9765 if (!SWIG_IsOK(res1
)) {
9766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9768 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9770 if (!SWIG_IsOK(res2
)) {
9771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9773 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 (arg1
)->Initialize(arg2
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 resultobj
= SWIG_Py_Void();
9787 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
= 0;
9789 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9790 wxWindow
*arg2
= (wxWindow
*) 0 ;
9791 wxWindow
*arg3
= (wxWindow
*) 0 ;
9792 int arg4
= (int) 0 ;
9802 PyObject
* obj0
= 0 ;
9803 PyObject
* obj1
= 0 ;
9804 PyObject
* obj2
= 0 ;
9805 PyObject
* obj3
= 0 ;
9806 char * kwnames
[] = {
9807 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9812 if (!SWIG_IsOK(res1
)) {
9813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9815 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9817 if (!SWIG_IsOK(res2
)) {
9818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9820 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9821 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9822 if (!SWIG_IsOK(res3
)) {
9823 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9825 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9827 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9828 if (!SWIG_IsOK(ecode4
)) {
9829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9831 arg4
= static_cast< int >(val4
);
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9848 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
= 0;
9850 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9851 wxWindow
*arg2
= (wxWindow
*) 0 ;
9852 wxWindow
*arg3
= (wxWindow
*) 0 ;
9853 int arg4
= (int) 0 ;
9863 PyObject
* obj0
= 0 ;
9864 PyObject
* obj1
= 0 ;
9865 PyObject
* obj2
= 0 ;
9866 PyObject
* obj3
= 0 ;
9867 char * kwnames
[] = {
9868 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9873 if (!SWIG_IsOK(res1
)) {
9874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9876 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9878 if (!SWIG_IsOK(res2
)) {
9879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9881 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9882 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9883 if (!SWIG_IsOK(res3
)) {
9884 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9886 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9888 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9889 if (!SWIG_IsOK(ecode4
)) {
9890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9892 arg4
= static_cast< int >(val4
);
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9909 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
= 0;
9911 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9912 wxWindow
*arg2
= (wxWindow
*) NULL
;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 char * kwnames
[] = {
9921 (char *) "self",(char *) "toRemove", NULL
9924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9926 if (!SWIG_IsOK(res1
)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9929 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9932 if (!SWIG_IsOK(res2
)) {
9933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9935 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 result
= (bool)(arg1
)->Unsplit(arg2
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9952 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
= 0;
9954 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9955 wxWindow
*arg2
= (wxWindow
*) 0 ;
9956 wxWindow
*arg3
= (wxWindow
*) 0 ;
9964 PyObject
* obj0
= 0 ;
9965 PyObject
* obj1
= 0 ;
9966 PyObject
* obj2
= 0 ;
9967 char * kwnames
[] = {
9968 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9973 if (!SWIG_IsOK(res1
)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9976 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9978 if (!SWIG_IsOK(res2
)) {
9979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9981 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9982 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9983 if (!SWIG_IsOK(res3
)) {
9984 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9986 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10002 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10003 PyObject
*resultobj
= 0;
10004 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10007 PyObject
*swig_obj
[1] ;
10009 if (!args
) SWIG_fail
;
10010 swig_obj
[0] = args
;
10011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10012 if (!SWIG_IsOK(res1
)) {
10013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10015 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 (arg1
)->UpdateSize();
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= SWIG_Py_Void();
10029 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10030 PyObject
*resultobj
= 0;
10031 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10035 PyObject
*swig_obj
[1] ;
10037 if (!args
) SWIG_fail
;
10038 swig_obj
[0] = args
;
10039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10040 if (!SWIG_IsOK(res1
)) {
10041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10043 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10059 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
= 0;
10061 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char * kwnames
[] = {
10070 (char *) "self",(char *) "width", NULL
10073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10075 if (!SWIG_IsOK(res1
)) {
10076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10078 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10080 if (!SWIG_IsOK(ecode2
)) {
10081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10083 arg2
= static_cast< int >(val2
);
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 (arg1
)->SetSashSize(arg2
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_Py_Void();
10097 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
= 0;
10099 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10105 PyObject
* obj0
= 0 ;
10106 PyObject
* obj1
= 0 ;
10107 char * kwnames
[] = {
10108 (char *) "self",(char *) "width", NULL
10111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10113 if (!SWIG_IsOK(res1
)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10116 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10118 if (!SWIG_IsOK(ecode2
)) {
10119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10121 arg2
= static_cast< int >(val2
);
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 (arg1
)->SetBorderSize(arg2
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= SWIG_Py_Void();
10135 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10136 PyObject
*resultobj
= 0;
10137 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10141 PyObject
*swig_obj
[1] ;
10143 if (!args
) SWIG_fail
;
10144 swig_obj
[0] = args
;
10145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10146 if (!SWIG_IsOK(res1
)) {
10147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10149 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= SWIG_From_int(static_cast< int >(result
));
10163 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10164 PyObject
*resultobj
= 0;
10165 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10169 PyObject
*swig_obj
[1] ;
10171 if (!args
) SWIG_fail
;
10172 swig_obj
[0] = args
;
10173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10174 if (!SWIG_IsOK(res1
)) {
10175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10177 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= SWIG_From_int(static_cast< int >(result
));
10191 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
= 0;
10193 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10195 bool arg3
= (bool) true ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10204 PyObject
* obj2
= 0 ;
10205 char * kwnames
[] = {
10206 (char *) "self",(char *) "position",(char *) "redraw", NULL
10209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10211 if (!SWIG_IsOK(res1
)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10214 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10216 if (!SWIG_IsOK(ecode2
)) {
10217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10219 arg2
= static_cast< int >(val2
);
10221 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10222 if (!SWIG_IsOK(ecode3
)) {
10223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10225 arg3
= static_cast< bool >(val3
);
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 (arg1
)->SetSashPosition(arg2
,arg3
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= SWIG_Py_Void();
10240 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10241 PyObject
*resultobj
= 0;
10242 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10246 PyObject
*swig_obj
[1] ;
10248 if (!args
) SWIG_fail
;
10249 swig_obj
[0] = args
;
10250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10251 if (!SWIG_IsOK(res1
)) {
10252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10254 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= SWIG_From_int(static_cast< int >(result
));
10268 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
*resultobj
= 0;
10270 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10276 PyObject
* obj0
= 0 ;
10277 PyObject
* obj1
= 0 ;
10278 char * kwnames
[] = {
10279 (char *) "self",(char *) "gravity", NULL
10282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10284 if (!SWIG_IsOK(res1
)) {
10285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10287 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10288 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10289 if (!SWIG_IsOK(ecode2
)) {
10290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10292 arg2
= static_cast< double >(val2
);
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 (arg1
)->SetSashGravity(arg2
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= SWIG_Py_Void();
10306 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10307 PyObject
*resultobj
= 0;
10308 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10312 PyObject
*swig_obj
[1] ;
10314 if (!args
) SWIG_fail
;
10315 swig_obj
[0] = args
;
10316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10317 if (!SWIG_IsOK(res1
)) {
10318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10320 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= SWIG_From_double(static_cast< double >(result
));
10334 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
= 0;
10336 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 char * kwnames
[] = {
10345 (char *) "self",(char *) "min", NULL
10348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10350 if (!SWIG_IsOK(res1
)) {
10351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10353 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10355 if (!SWIG_IsOK(ecode2
)) {
10356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10358 arg2
= static_cast< int >(val2
);
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->SetMinimumPaneSize(arg2
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_Py_Void();
10372 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10373 PyObject
*resultobj
= 0;
10374 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10378 PyObject
*swig_obj
[1] ;
10380 if (!args
) SWIG_fail
;
10381 swig_obj
[0] = args
;
10382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10383 if (!SWIG_IsOK(res1
)) {
10384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10386 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 resultobj
= SWIG_From_int(static_cast< int >(result
));
10400 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
= 0;
10402 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10405 int arg4
= (int) 5 ;
10415 PyObject
* obj0
= 0 ;
10416 PyObject
* obj1
= 0 ;
10417 PyObject
* obj2
= 0 ;
10418 PyObject
* obj3
= 0 ;
10419 char * kwnames
[] = {
10420 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10425 if (!SWIG_IsOK(res1
)) {
10426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10428 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10430 if (!SWIG_IsOK(ecode2
)) {
10431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10433 arg2
= static_cast< int >(val2
);
10434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10435 if (!SWIG_IsOK(ecode3
)) {
10436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10438 arg3
= static_cast< int >(val3
);
10440 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10441 if (!SWIG_IsOK(ecode4
)) {
10442 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10444 arg4
= static_cast< int >(val4
);
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10461 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10462 PyObject
*resultobj
= 0;
10463 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10466 PyObject
*swig_obj
[1] ;
10468 if (!args
) SWIG_fail
;
10469 swig_obj
[0] = args
;
10470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10471 if (!SWIG_IsOK(res1
)) {
10472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10474 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 (arg1
)->SizeWindows();
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_Py_Void();
10488 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10489 PyObject
*resultobj
= 0;
10490 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 PyObject
* obj1
= 0 ;
10498 char * kwnames
[] = {
10499 (char *) "self",(char *) "needUpdating", NULL
10502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10504 if (!SWIG_IsOK(res1
)) {
10505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10507 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10508 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10509 if (!SWIG_IsOK(ecode2
)) {
10510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10512 arg2
= static_cast< bool >(val2
);
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 (arg1
)->SetNeedUpdating(arg2
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= SWIG_Py_Void();
10526 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10527 PyObject
*resultobj
= 0;
10528 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10532 PyObject
*swig_obj
[1] ;
10534 if (!args
) SWIG_fail
;
10535 swig_obj
[0] = args
;
10536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10537 if (!SWIG_IsOK(res1
)) {
10538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10540 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10556 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
= 0;
10558 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10559 SwigValueWrapper
<wxVisualAttributes
> result
;
10562 PyObject
* obj0
= 0 ;
10563 char * kwnames
[] = {
10564 (char *) "variant", NULL
10567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10569 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10570 if (!SWIG_IsOK(ecode1
)) {
10571 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10573 arg1
= static_cast< wxWindowVariant
>(val1
);
10576 if (!wxPyCheckForApp()) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10589 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10591 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10592 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10593 return SWIG_Py_Void();
10596 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10597 return SWIG_Python_InitShadowInstance(args
);
10600 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
= 0;
10602 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10603 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10604 wxSplitterEvent
*result
= 0 ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 char * kwnames
[] = {
10612 (char *) "type",(char *) "splitter", NULL
10615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10617 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10618 if (!SWIG_IsOK(ecode1
)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10621 arg1
= static_cast< wxEventType
>(val1
);
10624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10625 if (!SWIG_IsOK(res2
)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10628 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10643 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
= 0;
10645 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 char * kwnames
[] = {
10654 (char *) "self",(char *) "pos", NULL
10657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10659 if (!SWIG_IsOK(res1
)) {
10660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10662 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10664 if (!SWIG_IsOK(ecode2
)) {
10665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10667 arg2
= static_cast< int >(val2
);
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 (arg1
)->SetSashPosition(arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_Py_Void();
10681 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10682 PyObject
*resultobj
= 0;
10683 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10687 PyObject
*swig_obj
[1] ;
10689 if (!args
) SWIG_fail
;
10690 swig_obj
[0] = args
;
10691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10692 if (!SWIG_IsOK(res1
)) {
10693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10695 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= SWIG_From_int(static_cast< int >(result
));
10709 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10710 PyObject
*resultobj
= 0;
10711 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10712 wxWindow
*result
= 0 ;
10715 PyObject
*swig_obj
[1] ;
10717 if (!args
) SWIG_fail
;
10718 swig_obj
[0] = args
;
10719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10720 if (!SWIG_IsOK(res1
)) {
10721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10723 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= wxPyMake_wxObject(result
, 0);
10739 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10740 PyObject
*resultobj
= 0;
10741 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10745 PyObject
*swig_obj
[1] ;
10747 if (!args
) SWIG_fail
;
10748 swig_obj
[0] = args
;
10749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10750 if (!SWIG_IsOK(res1
)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10753 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= SWIG_From_int(static_cast< int >(result
));
10767 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10768 PyObject
*resultobj
= 0;
10769 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10773 PyObject
*swig_obj
[1] ;
10775 if (!args
) SWIG_fail
;
10776 swig_obj
[0] = args
;
10777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10778 if (!SWIG_IsOK(res1
)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10781 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 resultobj
= SWIG_From_int(static_cast< int >(result
));
10795 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10798 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10799 return SWIG_Py_Void();
10802 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10803 return SWIG_Python_InitShadowInstance(args
);
10806 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10807 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10812 SWIGINTERN PyObject
*SashNameStr_get(void) {
10813 PyObject
*pyobj
= 0;
10817 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10819 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10826 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10827 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10832 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10833 PyObject
*pyobj
= 0;
10837 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10839 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10846 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
= 0;
10848 wxWindow
*arg1
= (wxWindow
*) 0 ;
10849 int arg2
= (int) -1 ;
10850 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10851 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10852 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10853 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10854 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10855 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10856 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10857 wxSashWindow
*result
= 0 ;
10866 bool temp6
= false ;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 PyObject
* obj2
= 0 ;
10870 PyObject
* obj3
= 0 ;
10871 PyObject
* obj4
= 0 ;
10872 PyObject
* obj5
= 0 ;
10873 char * kwnames
[] = {
10874 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10879 if (!SWIG_IsOK(res1
)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10885 if (!SWIG_IsOK(ecode2
)) {
10886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10888 arg2
= static_cast< int >(val2
);
10893 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10899 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10903 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10904 if (!SWIG_IsOK(ecode5
)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10907 arg5
= static_cast< long >(val5
);
10911 arg6
= wxString_in_helper(obj5
);
10912 if (arg6
== NULL
) SWIG_fail
;
10917 if (!wxPyCheckForApp()) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10938 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10939 PyObject
*resultobj
= 0;
10940 wxSashWindow
*result
= 0 ;
10942 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10944 if (!wxPyCheckForApp()) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 result
= (wxSashWindow
*)new wxSashWindow();
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10957 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
= 0;
10959 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10960 wxWindow
*arg2
= (wxWindow
*) 0 ;
10961 int arg3
= (int) -1 ;
10962 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10963 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10964 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10965 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10966 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10967 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10968 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10980 bool temp7
= false ;
10981 PyObject
* obj0
= 0 ;
10982 PyObject
* obj1
= 0 ;
10983 PyObject
* obj2
= 0 ;
10984 PyObject
* obj3
= 0 ;
10985 PyObject
* obj4
= 0 ;
10986 PyObject
* obj5
= 0 ;
10987 PyObject
* obj6
= 0 ;
10988 char * kwnames
[] = {
10989 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10994 if (!SWIG_IsOK(res1
)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10997 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10999 if (!SWIG_IsOK(res2
)) {
11000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11002 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11005 if (!SWIG_IsOK(ecode3
)) {
11006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11008 arg3
= static_cast< int >(val3
);
11013 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11019 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11023 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11024 if (!SWIG_IsOK(ecode6
)) {
11025 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11027 arg6
= static_cast< long >(val6
);
11031 arg7
= wxString_in_helper(obj6
);
11032 if (arg7
== NULL
) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11059 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
= 0;
11061 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11062 wxSashEdgePosition arg2
;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 PyObject
* obj2
= 0 ;
11073 char * kwnames
[] = {
11074 (char *) "self",(char *) "edge",(char *) "sash", NULL
11077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11079 if (!SWIG_IsOK(res1
)) {
11080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11082 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11084 if (!SWIG_IsOK(ecode2
)) {
11085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11087 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11088 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11089 if (!SWIG_IsOK(ecode3
)) {
11090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11092 arg3
= static_cast< bool >(val3
);
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 (arg1
)->SetSashVisible(arg2
,arg3
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11099 resultobj
= SWIG_Py_Void();
11106 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
= 0;
11108 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11109 wxSashEdgePosition arg2
;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 char * kwnames
[] = {
11118 (char *) "self",(char *) "edge", NULL
11121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11123 if (!SWIG_IsOK(res1
)) {
11124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11126 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11128 if (!SWIG_IsOK(ecode2
)) {
11129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11131 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11147 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
= 0;
11149 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11150 wxSashEdgePosition arg2
;
11158 PyObject
* obj0
= 0 ;
11159 PyObject
* obj1
= 0 ;
11160 PyObject
* obj2
= 0 ;
11161 char * kwnames
[] = {
11162 (char *) "self",(char *) "edge",(char *) "border", NULL
11165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11167 if (!SWIG_IsOK(res1
)) {
11168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11170 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11172 if (!SWIG_IsOK(ecode2
)) {
11173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11175 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11176 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11177 if (!SWIG_IsOK(ecode3
)) {
11178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11180 arg3
= static_cast< bool >(val3
);
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 (arg1
)->SetSashBorder(arg2
,arg3
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= SWIG_Py_Void();
11194 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
= 0;
11196 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11197 wxSashEdgePosition arg2
;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 char * kwnames
[] = {
11206 (char *) "self",(char *) "edge", NULL
11209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11211 if (!SWIG_IsOK(res1
)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11214 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11216 if (!SWIG_IsOK(ecode2
)) {
11217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11219 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11235 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11236 PyObject
*resultobj
= 0;
11237 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11238 wxSashEdgePosition arg2
;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 char * kwnames
[] = {
11247 (char *) "self",(char *) "edge", NULL
11250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11252 if (!SWIG_IsOK(res1
)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11255 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11257 if (!SWIG_IsOK(ecode2
)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11260 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= SWIG_From_int(static_cast< int >(result
));
11274 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
= 0;
11276 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 PyObject
* obj1
= 0 ;
11284 char * kwnames
[] = {
11285 (char *) "self",(char *) "width", NULL
11288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11290 if (!SWIG_IsOK(res1
)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11293 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11295 if (!SWIG_IsOK(ecode2
)) {
11296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11298 arg2
= static_cast< int >(val2
);
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 (arg1
)->SetDefaultBorderSize(arg2
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= SWIG_Py_Void();
11312 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11313 PyObject
*resultobj
= 0;
11314 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11318 PyObject
*swig_obj
[1] ;
11320 if (!args
) SWIG_fail
;
11321 swig_obj
[0] = args
;
11322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11323 if (!SWIG_IsOK(res1
)) {
11324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11326 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= SWIG_From_int(static_cast< int >(result
));
11340 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
= 0;
11342 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11348 PyObject
* obj0
= 0 ;
11349 PyObject
* obj1
= 0 ;
11350 char * kwnames
[] = {
11351 (char *) "self",(char *) "width", NULL
11354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11356 if (!SWIG_IsOK(res1
)) {
11357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11359 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11361 if (!SWIG_IsOK(ecode2
)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11364 arg2
= static_cast< int >(val2
);
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 (arg1
)->SetExtraBorderSize(arg2
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_Py_Void();
11378 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11379 PyObject
*resultobj
= 0;
11380 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11384 PyObject
*swig_obj
[1] ;
11386 if (!args
) SWIG_fail
;
11387 swig_obj
[0] = args
;
11388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11389 if (!SWIG_IsOK(res1
)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11392 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_From_int(static_cast< int >(result
));
11406 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
= 0;
11408 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11414 PyObject
* obj0
= 0 ;
11415 PyObject
* obj1
= 0 ;
11416 char * kwnames
[] = {
11417 (char *) "self",(char *) "min", NULL
11420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11422 if (!SWIG_IsOK(res1
)) {
11423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11425 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11427 if (!SWIG_IsOK(ecode2
)) {
11428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11430 arg2
= static_cast< int >(val2
);
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 (arg1
)->SetMinimumSizeX(arg2
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= SWIG_Py_Void();
11444 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
= 0;
11446 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11452 PyObject
* obj0
= 0 ;
11453 PyObject
* obj1
= 0 ;
11454 char * kwnames
[] = {
11455 (char *) "self",(char *) "min", NULL
11458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11460 if (!SWIG_IsOK(res1
)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11463 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11465 if (!SWIG_IsOK(ecode2
)) {
11466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11468 arg2
= static_cast< int >(val2
);
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 (arg1
)->SetMinimumSizeY(arg2
);
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= SWIG_Py_Void();
11482 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11483 PyObject
*resultobj
= 0;
11484 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11488 PyObject
*swig_obj
[1] ;
11490 if (!args
) SWIG_fail
;
11491 swig_obj
[0] = args
;
11492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11493 if (!SWIG_IsOK(res1
)) {
11494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11496 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= SWIG_From_int(static_cast< int >(result
));
11510 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11511 PyObject
*resultobj
= 0;
11512 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11516 PyObject
*swig_obj
[1] ;
11518 if (!args
) SWIG_fail
;
11519 swig_obj
[0] = args
;
11520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11521 if (!SWIG_IsOK(res1
)) {
11522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11524 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= SWIG_From_int(static_cast< int >(result
));
11538 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
= 0;
11540 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 char * kwnames
[] = {
11549 (char *) "self",(char *) "max", NULL
11552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11554 if (!SWIG_IsOK(res1
)) {
11555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11557 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11559 if (!SWIG_IsOK(ecode2
)) {
11560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11562 arg2
= static_cast< int >(val2
);
11564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11565 (arg1
)->SetMaximumSizeX(arg2
);
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= SWIG_Py_Void();
11576 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
= 0;
11578 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 PyObject
* obj1
= 0 ;
11586 char * kwnames
[] = {
11587 (char *) "self",(char *) "max", NULL
11590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11592 if (!SWIG_IsOK(res1
)) {
11593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11595 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11597 if (!SWIG_IsOK(ecode2
)) {
11598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11600 arg2
= static_cast< int >(val2
);
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 (arg1
)->SetMaximumSizeY(arg2
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_Py_Void();
11614 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11615 PyObject
*resultobj
= 0;
11616 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11620 PyObject
*swig_obj
[1] ;
11622 if (!args
) SWIG_fail
;
11623 swig_obj
[0] = args
;
11624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11625 if (!SWIG_IsOK(res1
)) {
11626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11628 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11635 resultobj
= SWIG_From_int(static_cast< int >(result
));
11642 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11643 PyObject
*resultobj
= 0;
11644 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11648 PyObject
*swig_obj
[1] ;
11650 if (!args
) SWIG_fail
;
11651 swig_obj
[0] = args
;
11652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11653 if (!SWIG_IsOK(res1
)) {
11654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11656 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_From_int(static_cast< int >(result
));
11670 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
= 0;
11672 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11675 int arg4
= (int) 2 ;
11676 wxSashEdgePosition result
;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 PyObject
* obj3
= 0 ;
11689 char * kwnames
[] = {
11690 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11695 if (!SWIG_IsOK(res1
)) {
11696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11698 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11700 if (!SWIG_IsOK(ecode2
)) {
11701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11703 arg2
= static_cast< int >(val2
);
11704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11705 if (!SWIG_IsOK(ecode3
)) {
11706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11708 arg3
= static_cast< int >(val3
);
11710 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11711 if (!SWIG_IsOK(ecode4
)) {
11712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11714 arg4
= static_cast< int >(val4
);
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= SWIG_From_int(static_cast< int >(result
));
11729 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11730 PyObject
*resultobj
= 0;
11731 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11734 PyObject
*swig_obj
[1] ;
11736 if (!args
) SWIG_fail
;
11737 swig_obj
[0] = args
;
11738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11739 if (!SWIG_IsOK(res1
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11742 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 (arg1
)->SizeWindows();
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= SWIG_Py_Void();
11756 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11759 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11760 return SWIG_Py_Void();
11763 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11764 return SWIG_Python_InitShadowInstance(args
);
11767 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
= 0;
11769 int arg1
= (int) 0 ;
11770 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11771 wxSashEvent
*result
= 0 ;
11776 PyObject
* obj0
= 0 ;
11777 PyObject
* obj1
= 0 ;
11778 char * kwnames
[] = {
11779 (char *) "id",(char *) "edge", NULL
11782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11784 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11785 if (!SWIG_IsOK(ecode1
)) {
11786 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11788 arg1
= static_cast< int >(val1
);
11791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11792 if (!SWIG_IsOK(ecode2
)) {
11793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11795 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11810 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
= 0;
11812 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11813 wxSashEdgePosition arg2
;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 char * kwnames
[] = {
11821 (char *) "self",(char *) "edge", NULL
11824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11826 if (!SWIG_IsOK(res1
)) {
11827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11829 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11831 if (!SWIG_IsOK(ecode2
)) {
11832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11834 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 (arg1
)->SetEdge(arg2
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= SWIG_Py_Void();
11848 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11849 PyObject
*resultobj
= 0;
11850 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11851 wxSashEdgePosition result
;
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_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11862 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_From_int(static_cast< int >(result
));
11876 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
= 0;
11878 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11883 PyObject
* obj0
= 0 ;
11884 PyObject
* obj1
= 0 ;
11885 char * kwnames
[] = {
11886 (char *) "self",(char *) "rect", NULL
11889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11891 if (!SWIG_IsOK(res1
)) {
11892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11894 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11897 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= SWIG_Py_Void();
11912 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11913 PyObject
*resultobj
= 0;
11914 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11918 PyObject
*swig_obj
[1] ;
11920 if (!args
) SWIG_fail
;
11921 swig_obj
[0] = args
;
11922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11923 if (!SWIG_IsOK(res1
)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11926 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11940 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
= 0;
11942 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11943 wxSashDragStatus arg2
;
11948 PyObject
* obj0
= 0 ;
11949 PyObject
* obj1
= 0 ;
11950 char * kwnames
[] = {
11951 (char *) "self",(char *) "status", NULL
11954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11956 if (!SWIG_IsOK(res1
)) {
11957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11959 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11961 if (!SWIG_IsOK(ecode2
)) {
11962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11964 arg2
= static_cast< wxSashDragStatus
>(val2
);
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 (arg1
)->SetDragStatus(arg2
);
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= SWIG_Py_Void();
11978 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11979 PyObject
*resultobj
= 0;
11980 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11981 wxSashDragStatus result
;
11984 PyObject
*swig_obj
[1] ;
11986 if (!args
) SWIG_fail
;
11987 swig_obj
[0] = args
;
11988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11989 if (!SWIG_IsOK(res1
)) {
11990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11992 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_From_int(static_cast< int >(result
));
12006 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12009 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12010 return SWIG_Py_Void();
12013 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12014 return SWIG_Python_InitShadowInstance(args
);
12017 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
= 0;
12019 int arg1
= (int) 0 ;
12020 wxQueryLayoutInfoEvent
*result
= 0 ;
12023 PyObject
* obj0
= 0 ;
12024 char * kwnames
[] = {
12025 (char *) "id", NULL
12028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12031 if (!SWIG_IsOK(ecode1
)) {
12032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12034 arg1
= static_cast< int >(val1
);
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12049 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
= 0;
12051 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 char * kwnames
[] = {
12060 (char *) "self",(char *) "length", NULL
12063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12065 if (!SWIG_IsOK(res1
)) {
12066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12068 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12070 if (!SWIG_IsOK(ecode2
)) {
12071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12073 arg2
= static_cast< int >(val2
);
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 (arg1
)->SetRequestedLength(arg2
);
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= SWIG_Py_Void();
12087 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12088 PyObject
*resultobj
= 0;
12089 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12093 PyObject
*swig_obj
[1] ;
12095 if (!args
) SWIG_fail
;
12096 swig_obj
[0] = args
;
12097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12098 if (!SWIG_IsOK(res1
)) {
12099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12101 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= SWIG_From_int(static_cast< int >(result
));
12115 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
= 0;
12117 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj1
= 0 ;
12125 char * kwnames
[] = {
12126 (char *) "self",(char *) "flags", NULL
12129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12134 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12136 if (!SWIG_IsOK(ecode2
)) {
12137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12139 arg2
= static_cast< int >(val2
);
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 (arg1
)->SetFlags(arg2
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_Py_Void();
12153 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(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_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12167 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12170 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= SWIG_From_int(static_cast< int >(result
));
12181 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
= 0;
12183 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12188 PyObject
* obj0
= 0 ;
12189 PyObject
* obj1
= 0 ;
12190 char * kwnames
[] = {
12191 (char *) "self",(char *) "size", NULL
12194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12196 if (!SWIG_IsOK(res1
)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12199 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12202 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 (arg1
)->SetSize((wxSize
const &)*arg2
);
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= SWIG_Py_Void();
12217 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12218 PyObject
*resultobj
= 0;
12219 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12223 PyObject
*swig_obj
[1] ;
12225 if (!args
) SWIG_fail
;
12226 swig_obj
[0] = args
;
12227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12228 if (!SWIG_IsOK(res1
)) {
12229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12231 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12245 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
= 0;
12247 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12248 wxLayoutOrientation arg2
;
12253 PyObject
* obj0
= 0 ;
12254 PyObject
* obj1
= 0 ;
12255 char * kwnames
[] = {
12256 (char *) "self",(char *) "orient", NULL
12259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12261 if (!SWIG_IsOK(res1
)) {
12262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12264 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12266 if (!SWIG_IsOK(ecode2
)) {
12267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12269 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 (arg1
)->SetOrientation(arg2
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= SWIG_Py_Void();
12283 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12284 PyObject
*resultobj
= 0;
12285 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12286 wxLayoutOrientation result
;
12289 PyObject
*swig_obj
[1] ;
12291 if (!args
) SWIG_fail
;
12292 swig_obj
[0] = args
;
12293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12294 if (!SWIG_IsOK(res1
)) {
12295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12297 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= SWIG_From_int(static_cast< int >(result
));
12311 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
= 0;
12313 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12314 wxLayoutAlignment arg2
;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 char * kwnames
[] = {
12322 (char *) "self",(char *) "align", NULL
12325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12327 if (!SWIG_IsOK(res1
)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12330 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12332 if (!SWIG_IsOK(ecode2
)) {
12333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12335 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 (arg1
)->SetAlignment(arg2
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_Py_Void();
12349 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12350 PyObject
*resultobj
= 0;
12351 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12352 wxLayoutAlignment result
;
12355 PyObject
*swig_obj
[1] ;
12357 if (!args
) SWIG_fail
;
12358 swig_obj
[0] = args
;
12359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12360 if (!SWIG_IsOK(res1
)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12363 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_From_int(static_cast< int >(result
));
12377 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12380 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12381 return SWIG_Py_Void();
12384 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12385 return SWIG_Python_InitShadowInstance(args
);
12388 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
= 0;
12390 int arg1
= (int) 0 ;
12391 wxCalculateLayoutEvent
*result
= 0 ;
12394 PyObject
* obj0
= 0 ;
12395 char * kwnames
[] = {
12396 (char *) "id", NULL
12399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12401 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12402 if (!SWIG_IsOK(ecode1
)) {
12403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12405 arg1
= static_cast< int >(val1
);
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12420 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
= 0;
12422 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12428 PyObject
* obj0
= 0 ;
12429 PyObject
* obj1
= 0 ;
12430 char * kwnames
[] = {
12431 (char *) "self",(char *) "flags", NULL
12434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12436 if (!SWIG_IsOK(res1
)) {
12437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12439 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12441 if (!SWIG_IsOK(ecode2
)) {
12442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12444 arg2
= static_cast< int >(val2
);
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 (arg1
)->SetFlags(arg2
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= SWIG_Py_Void();
12458 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(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_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12472 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= SWIG_From_int(static_cast< int >(result
));
12486 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
= 0;
12488 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 PyObject
* obj1
= 0 ;
12495 char * kwnames
[] = {
12496 (char *) "self",(char *) "rect", NULL
12499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12501 if (!SWIG_IsOK(res1
)) {
12502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12504 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12507 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 (arg1
)->SetRect((wxRect
const &)*arg2
);
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= SWIG_Py_Void();
12522 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12523 PyObject
*resultobj
= 0;
12524 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12528 PyObject
*swig_obj
[1] ;
12530 if (!args
) SWIG_fail
;
12531 swig_obj
[0] = args
;
12532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12533 if (!SWIG_IsOK(res1
)) {
12534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12536 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12550 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12553 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12554 return SWIG_Py_Void();
12557 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12558 return SWIG_Python_InitShadowInstance(args
);
12561 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
= 0;
12563 wxWindow
*arg1
= (wxWindow
*) 0 ;
12564 int arg2
= (int) -1 ;
12565 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12566 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12567 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12568 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12569 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12570 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12571 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12572 wxSashLayoutWindow
*result
= 0 ;
12581 bool temp6
= false ;
12582 PyObject
* obj0
= 0 ;
12583 PyObject
* obj1
= 0 ;
12584 PyObject
* obj2
= 0 ;
12585 PyObject
* obj3
= 0 ;
12586 PyObject
* obj4
= 0 ;
12587 PyObject
* obj5
= 0 ;
12588 char * kwnames
[] = {
12589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12594 if (!SWIG_IsOK(res1
)) {
12595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12597 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12600 if (!SWIG_IsOK(ecode2
)) {
12601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12603 arg2
= static_cast< int >(val2
);
12608 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12614 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12618 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12619 if (!SWIG_IsOK(ecode5
)) {
12620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12622 arg5
= static_cast< long >(val5
);
12626 arg6
= wxString_in_helper(obj5
);
12627 if (arg6
== NULL
) SWIG_fail
;
12632 if (!wxPyCheckForApp()) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12653 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12654 PyObject
*resultobj
= 0;
12655 wxSashLayoutWindow
*result
= 0 ;
12657 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12659 if (!wxPyCheckForApp()) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12672 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
= 0;
12674 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12675 wxWindow
*arg2
= (wxWindow
*) 0 ;
12676 int arg3
= (int) -1 ;
12677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12681 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12682 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12683 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12695 bool temp7
= false ;
12696 PyObject
* obj0
= 0 ;
12697 PyObject
* obj1
= 0 ;
12698 PyObject
* obj2
= 0 ;
12699 PyObject
* obj3
= 0 ;
12700 PyObject
* obj4
= 0 ;
12701 PyObject
* obj5
= 0 ;
12702 PyObject
* obj6
= 0 ;
12703 char * kwnames
[] = {
12704 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12709 if (!SWIG_IsOK(res1
)) {
12710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12712 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12714 if (!SWIG_IsOK(res2
)) {
12715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12717 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12720 if (!SWIG_IsOK(ecode3
)) {
12721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12723 arg3
= static_cast< int >(val3
);
12728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12738 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12739 if (!SWIG_IsOK(ecode6
)) {
12740 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12742 arg6
= static_cast< long >(val6
);
12746 arg7
= wxString_in_helper(obj6
);
12747 if (arg7
== NULL
) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12774 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12775 PyObject
*resultobj
= 0;
12776 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12777 wxLayoutAlignment result
;
12780 PyObject
*swig_obj
[1] ;
12782 if (!args
) SWIG_fail
;
12783 swig_obj
[0] = args
;
12784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12785 if (!SWIG_IsOK(res1
)) {
12786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12788 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_From_int(static_cast< int >(result
));
12802 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12803 PyObject
*resultobj
= 0;
12804 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12805 wxLayoutOrientation result
;
12808 PyObject
*swig_obj
[1] ;
12810 if (!args
) SWIG_fail
;
12811 swig_obj
[0] = args
;
12812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12813 if (!SWIG_IsOK(res1
)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12816 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 resultobj
= SWIG_From_int(static_cast< int >(result
));
12830 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
= 0;
12832 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12833 wxLayoutAlignment arg2
;
12838 PyObject
* obj0
= 0 ;
12839 PyObject
* obj1
= 0 ;
12840 char * kwnames
[] = {
12841 (char *) "self",(char *) "alignment", NULL
12844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12846 if (!SWIG_IsOK(res1
)) {
12847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12849 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12851 if (!SWIG_IsOK(ecode2
)) {
12852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12854 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 (arg1
)->SetAlignment(arg2
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= SWIG_Py_Void();
12868 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
= 0;
12870 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 char * kwnames
[] = {
12878 (char *) "self",(char *) "size", NULL
12881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12883 if (!SWIG_IsOK(res1
)) {
12884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12886 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12889 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= SWIG_Py_Void();
12904 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
= 0;
12906 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12907 wxLayoutOrientation arg2
;
12912 PyObject
* obj0
= 0 ;
12913 PyObject
* obj1
= 0 ;
12914 char * kwnames
[] = {
12915 (char *) "self",(char *) "orientation", NULL
12918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12920 if (!SWIG_IsOK(res1
)) {
12921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12923 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12925 if (!SWIG_IsOK(ecode2
)) {
12926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12928 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 (arg1
)->SetOrientation(arg2
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= SWIG_Py_Void();
12942 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12945 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12946 return SWIG_Py_Void();
12949 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12950 return SWIG_Python_InitShadowInstance(args
);
12953 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12954 PyObject
*resultobj
= 0;
12955 wxLayoutAlgorithm
*result
= 0 ;
12957 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12971 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12972 PyObject
*resultobj
= 0;
12973 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12976 PyObject
*swig_obj
[1] ;
12978 if (!args
) SWIG_fail
;
12979 swig_obj
[0] = args
;
12980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12981 if (!SWIG_IsOK(res1
)) {
12982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12984 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_Py_Void();
12999 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
= 0;
13001 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13002 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13003 wxRect
*arg3
= (wxRect
*) NULL
;
13011 PyObject
* obj0
= 0 ;
13012 PyObject
* obj1
= 0 ;
13013 PyObject
* obj2
= 0 ;
13014 char * kwnames
[] = {
13015 (char *) "self",(char *) "frame",(char *) "rect", NULL
13018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13020 if (!SWIG_IsOK(res1
)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13023 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13024 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13025 if (!SWIG_IsOK(res2
)) {
13026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13028 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13030 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13031 if (!SWIG_IsOK(res3
)) {
13032 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13034 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13051 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
= 0;
13053 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13054 wxFrame
*arg2
= (wxFrame
*) 0 ;
13055 wxWindow
*arg3
= (wxWindow
*) NULL
;
13063 PyObject
* obj0
= 0 ;
13064 PyObject
* obj1
= 0 ;
13065 PyObject
* obj2
= 0 ;
13066 char * kwnames
[] = {
13067 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13072 if (!SWIG_IsOK(res1
)) {
13073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13075 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13076 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13077 if (!SWIG_IsOK(res2
)) {
13078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13080 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13082 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13083 if (!SWIG_IsOK(res3
)) {
13084 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13086 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13103 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
= 0;
13105 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13106 wxWindow
*arg2
= (wxWindow
*) 0 ;
13107 wxWindow
*arg3
= (wxWindow
*) NULL
;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 PyObject
* obj2
= 0 ;
13118 char * kwnames
[] = {
13119 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13124 if (!SWIG_IsOK(res1
)) {
13125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13127 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13128 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13129 if (!SWIG_IsOK(res2
)) {
13130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13132 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13134 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13135 if (!SWIG_IsOK(res3
)) {
13136 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13138 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13155 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13157 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13158 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13159 return SWIG_Py_Void();
13162 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13163 return SWIG_Python_InitShadowInstance(args
);
13166 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
= 0;
13168 wxWindow
*arg1
= (wxWindow
*) 0 ;
13169 int arg2
= (int) wxBORDER_NONE
;
13170 wxPopupWindow
*result
= 0 ;
13175 PyObject
* obj0
= 0 ;
13176 PyObject
* obj1
= 0 ;
13177 char * kwnames
[] = {
13178 (char *) "parent",(char *) "flags", NULL
13181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13183 if (!SWIG_IsOK(res1
)) {
13184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13186 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13189 if (!SWIG_IsOK(ecode2
)) {
13190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13192 arg2
= static_cast< int >(val2
);
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13196 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13207 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13208 PyObject
*resultobj
= 0;
13209 wxPopupWindow
*result
= 0 ;
13211 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (wxPopupWindow
*)new wxPopupWindow();
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13225 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13228 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13229 return SWIG_Py_Void();
13232 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13233 return SWIG_Python_InitShadowInstance(args
);
13236 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
= 0;
13238 wxWindow
*arg1
= (wxWindow
*) 0 ;
13239 int arg2
= (int) wxBORDER_NONE
;
13240 wxPyPopupTransientWindow
*result
= 0 ;
13245 PyObject
* obj0
= 0 ;
13246 PyObject
* obj1
= 0 ;
13247 char * kwnames
[] = {
13248 (char *) "parent",(char *) "style", NULL
13251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13253 if (!SWIG_IsOK(res1
)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13256 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13259 if (!SWIG_IsOK(ecode2
)) {
13260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13262 arg2
= static_cast< int >(val2
);
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13277 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13278 PyObject
*resultobj
= 0;
13279 wxPyPopupTransientWindow
*result
= 0 ;
13281 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13295 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13298 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13299 return SWIG_Py_Void();
13302 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13303 return SWIG_Python_InitShadowInstance(args
);
13306 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
= 0;
13308 wxWindow
*arg1
= (wxWindow
*) 0 ;
13309 wxString
*arg2
= 0 ;
13310 int arg3
= (int) 100 ;
13311 wxRect
*arg4
= (wxRect
*) NULL
;
13312 wxTipWindow
*result
= 0 ;
13315 bool temp2
= false ;
13320 PyObject
* obj0
= 0 ;
13321 PyObject
* obj1
= 0 ;
13322 PyObject
* obj2
= 0 ;
13323 PyObject
* obj3
= 0 ;
13324 char * kwnames
[] = {
13325 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13330 if (!SWIG_IsOK(res1
)) {
13331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13333 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13335 arg2
= wxString_in_helper(obj1
);
13336 if (arg2
== NULL
) SWIG_fail
;
13340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13341 if (!SWIG_IsOK(ecode3
)) {
13342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13344 arg3
= static_cast< int >(val3
);
13347 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13348 if (!SWIG_IsOK(res4
)) {
13349 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13351 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13354 if (!wxPyCheckForApp()) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13375 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
= 0;
13377 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 PyObject
* obj1
= 0 ;
13384 char * kwnames
[] = {
13385 (char *) "self",(char *) "rectBound", NULL
13388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13390 if (!SWIG_IsOK(res1
)) {
13391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13393 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13396 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= SWIG_Py_Void();
13411 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13412 PyObject
*resultobj
= 0;
13413 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13416 PyObject
*swig_obj
[1] ;
13418 if (!args
) SWIG_fail
;
13419 swig_obj
[0] = args
;
13420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13421 if (!SWIG_IsOK(res1
)) {
13422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13424 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_Py_Void();
13438 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13441 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13442 return SWIG_Py_Void();
13445 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13446 return SWIG_Python_InitShadowInstance(args
);
13449 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
= 0;
13451 wxWindow
*arg1
= (wxWindow
*) 0 ;
13452 int arg2
= (int) wxID_ANY
;
13453 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13454 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13455 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13456 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13457 long arg5
= (long) 0 ;
13458 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13459 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13460 wxPyVScrolledWindow
*result
= 0 ;
13469 bool temp6
= false ;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 PyObject
* obj2
= 0 ;
13473 PyObject
* obj3
= 0 ;
13474 PyObject
* obj4
= 0 ;
13475 PyObject
* obj5
= 0 ;
13476 char * kwnames
[] = {
13477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13482 if (!SWIG_IsOK(res1
)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13485 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13488 if (!SWIG_IsOK(ecode2
)) {
13489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13491 arg2
= static_cast< int >(val2
);
13496 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13502 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13506 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13507 if (!SWIG_IsOK(ecode5
)) {
13508 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13510 arg5
= static_cast< long >(val5
);
13514 arg6
= wxString_in_helper(obj5
);
13515 if (arg6
== NULL
) SWIG_fail
;
13520 if (!wxPyCheckForApp()) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13541 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13542 PyObject
*resultobj
= 0;
13543 wxPyVScrolledWindow
*result
= 0 ;
13545 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13547 if (!wxPyCheckForApp()) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13560 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
= 0;
13562 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13563 PyObject
*arg2
= (PyObject
*) 0 ;
13564 PyObject
*arg3
= (PyObject
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 PyObject
* obj1
= 0 ;
13569 PyObject
* obj2
= 0 ;
13570 char * kwnames
[] = {
13571 (char *) "self",(char *) "self",(char *) "_class", NULL
13574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13579 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 resultobj
= SWIG_Py_Void();
13595 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
= 0;
13597 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13598 wxWindow
*arg2
= (wxWindow
*) 0 ;
13599 int arg3
= (int) wxID_ANY
;
13600 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13601 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13602 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13603 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13604 long arg6
= (long) 0 ;
13605 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13606 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13618 bool temp7
= false ;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 PyObject
* obj2
= 0 ;
13622 PyObject
* obj3
= 0 ;
13623 PyObject
* obj4
= 0 ;
13624 PyObject
* obj5
= 0 ;
13625 PyObject
* obj6
= 0 ;
13626 char * kwnames
[] = {
13627 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13632 if (!SWIG_IsOK(res1
)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13635 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13637 if (!SWIG_IsOK(res2
)) {
13638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13640 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13643 if (!SWIG_IsOK(ecode3
)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13646 arg3
= static_cast< int >(val3
);
13651 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13657 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13661 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13662 if (!SWIG_IsOK(ecode6
)) {
13663 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13665 arg6
= static_cast< long >(val6
);
13669 arg7
= wxString_in_helper(obj6
);
13670 if (arg7
== NULL
) SWIG_fail
;
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13697 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
= 0;
13699 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13705 PyObject
* obj0
= 0 ;
13706 PyObject
* obj1
= 0 ;
13707 char * kwnames
[] = {
13708 (char *) "self",(char *) "count", NULL
13711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) 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_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13716 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13717 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13718 if (!SWIG_IsOK(ecode2
)) {
13719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13721 arg2
= static_cast< size_t >(val2
);
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 (arg1
)->SetLineCount(arg2
);
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13728 resultobj
= SWIG_Py_Void();
13735 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
= 0;
13737 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 PyObject
* obj1
= 0 ;
13746 char * kwnames
[] = {
13747 (char *) "self",(char *) "line", NULL
13750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13752 if (!SWIG_IsOK(res1
)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13755 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13756 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13757 if (!SWIG_IsOK(ecode2
)) {
13758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13760 arg2
= static_cast< size_t >(val2
);
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13776 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
= 0;
13778 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 PyObject
* obj1
= 0 ;
13786 char * kwnames
[] = {
13787 (char *) "self",(char *) "line", NULL
13790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13792 if (!SWIG_IsOK(res1
)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13795 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13796 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13797 if (!SWIG_IsOK(ecode2
)) {
13798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13800 arg2
= static_cast< size_t >(val2
);
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 (arg1
)->RefreshLine(arg2
);
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13807 resultobj
= SWIG_Py_Void();
13814 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
= 0;
13816 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13825 PyObject
* obj0
= 0 ;
13826 PyObject
* obj1
= 0 ;
13827 PyObject
* obj2
= 0 ;
13828 char * kwnames
[] = {
13829 (char *) "self",(char *) "from",(char *) "to", NULL
13832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13834 if (!SWIG_IsOK(res1
)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13837 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13838 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13839 if (!SWIG_IsOK(ecode2
)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13842 arg2
= static_cast< size_t >(val2
);
13843 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13844 if (!SWIG_IsOK(ecode3
)) {
13845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13847 arg3
= static_cast< size_t >(val3
);
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 (arg1
)->RefreshLines(arg2
,arg3
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_Py_Void();
13861 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
= 0;
13863 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13873 PyObject
* obj0
= 0 ;
13874 PyObject
* obj1
= 0 ;
13875 PyObject
* obj2
= 0 ;
13876 char * kwnames
[] = {
13877 (char *) "self",(char *) "x",(char *) "y", NULL
13880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13882 if (!SWIG_IsOK(res1
)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13885 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13887 if (!SWIG_IsOK(ecode2
)) {
13888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13890 arg2
= static_cast< int >(val2
);
13891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13892 if (!SWIG_IsOK(ecode3
)) {
13893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13895 arg3
= static_cast< int >(val3
);
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_From_int(static_cast< int >(result
));
13909 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
= 0;
13911 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13912 wxPoint
*arg2
= 0 ;
13917 PyObject
* obj0
= 0 ;
13918 PyObject
* obj1
= 0 ;
13919 char * kwnames
[] = {
13920 (char *) "self",(char *) "pt", NULL
13923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13925 if (!SWIG_IsOK(res1
)) {
13926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13928 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13931 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= SWIG_From_int(static_cast< int >(result
));
13946 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13947 PyObject
*resultobj
= 0;
13948 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13951 PyObject
*swig_obj
[1] ;
13953 if (!args
) SWIG_fail
;
13954 swig_obj
[0] = args
;
13955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13956 if (!SWIG_IsOK(res1
)) {
13957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13959 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 (arg1
)->RefreshAll();
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= SWIG_Py_Void();
13973 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13974 PyObject
*resultobj
= 0;
13975 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13979 PyObject
*swig_obj
[1] ;
13981 if (!args
) SWIG_fail
;
13982 swig_obj
[0] = args
;
13983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13984 if (!SWIG_IsOK(res1
)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13987 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14001 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14002 PyObject
*resultobj
= 0;
14003 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14007 PyObject
*swig_obj
[1] ;
14009 if (!args
) SWIG_fail
;
14010 swig_obj
[0] = args
;
14011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14012 if (!SWIG_IsOK(res1
)) {
14013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14015 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14029 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14030 PyObject
*resultobj
= 0;
14031 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14035 PyObject
*swig_obj
[1] ;
14037 if (!args
) SWIG_fail
;
14038 swig_obj
[0] = args
;
14039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14040 if (!SWIG_IsOK(res1
)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14043 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14047 wxPyEndAllowThreads(__tstate
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14050 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14057 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14058 PyObject
*resultobj
= 0;
14059 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14066 PyObject
* obj0
= 0 ;
14067 PyObject
* obj1
= 0 ;
14068 char * kwnames
[] = {
14069 (char *) "self",(char *) "line", NULL
14072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14074 if (!SWIG_IsOK(res1
)) {
14075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14077 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14078 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14079 if (!SWIG_IsOK(ecode2
)) {
14080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14082 arg2
= static_cast< size_t >(val2
);
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14098 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14099 PyObject
*resultobj
= 0;
14100 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14104 PyObject
*swig_obj
[1] ;
14106 if (!args
) SWIG_fail
;
14107 swig_obj
[0] = args
;
14108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14109 if (!SWIG_IsOK(res1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14112 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14126 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14127 PyObject
*resultobj
= 0;
14128 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14132 PyObject
*swig_obj
[1] ;
14134 if (!args
) SWIG_fail
;
14135 swig_obj
[0] = args
;
14136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14137 if (!SWIG_IsOK(res1
)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14140 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14154 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
= 0;
14156 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14158 bool arg3
= (bool) false ;
14166 PyObject
* obj0
= 0 ;
14167 PyObject
* obj1
= 0 ;
14168 PyObject
* obj2
= 0 ;
14169 char * kwnames
[] = {
14170 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14175 if (!SWIG_IsOK(res1
)) {
14176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14178 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14179 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14180 if (!SWIG_IsOK(ecode2
)) {
14181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14183 arg2
= static_cast< size_t >(val2
);
14185 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14186 if (!SWIG_IsOK(ecode3
)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14189 arg3
= static_cast< bool >(val3
);
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14204 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
= 0;
14206 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 PyObject
* obj2
= 0 ;
14219 char * kwnames
[] = {
14220 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14225 if (!SWIG_IsOK(res1
)) {
14226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14228 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14229 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14230 if (!SWIG_IsOK(ecode2
)) {
14231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14233 arg2
= static_cast< size_t >(val2
);
14234 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14235 if (!SWIG_IsOK(ecode3
)) {
14236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14238 arg3
= static_cast< size_t >(val3
);
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= SWIG_From_int(static_cast< int >(result
));
14252 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14255 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14256 return SWIG_Py_Void();
14259 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14260 return SWIG_Python_InitShadowInstance(args
);
14263 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14264 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14269 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14270 PyObject
*pyobj
= 0;
14274 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14276 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14283 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
= 0;
14285 wxWindow
*arg1
= (wxWindow
*) 0 ;
14286 int arg2
= (int) wxID_ANY
;
14287 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14288 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14289 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14290 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14291 long arg5
= (long) 0 ;
14292 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14293 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14294 wxPyVListBox
*result
= 0 ;
14303 bool temp6
= false ;
14304 PyObject
* obj0
= 0 ;
14305 PyObject
* obj1
= 0 ;
14306 PyObject
* obj2
= 0 ;
14307 PyObject
* obj3
= 0 ;
14308 PyObject
* obj4
= 0 ;
14309 PyObject
* obj5
= 0 ;
14310 char * kwnames
[] = {
14311 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14316 if (!SWIG_IsOK(res1
)) {
14317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14319 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14322 if (!SWIG_IsOK(ecode2
)) {
14323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14325 arg2
= static_cast< int >(val2
);
14330 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14336 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14340 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14341 if (!SWIG_IsOK(ecode5
)) {
14342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14344 arg5
= static_cast< long >(val5
);
14348 arg6
= wxString_in_helper(obj5
);
14349 if (arg6
== NULL
) SWIG_fail
;
14354 if (!wxPyCheckForApp()) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14375 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14376 PyObject
*resultobj
= 0;
14377 wxPyVListBox
*result
= 0 ;
14379 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14381 if (!wxPyCheckForApp()) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (wxPyVListBox
*)new wxPyVListBox();
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14394 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
= 0;
14396 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14397 PyObject
*arg2
= (PyObject
*) 0 ;
14398 PyObject
*arg3
= (PyObject
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 PyObject
* obj1
= 0 ;
14403 PyObject
* obj2
= 0 ;
14404 char * kwnames
[] = {
14405 (char *) "self",(char *) "self",(char *) "_class", NULL
14408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14410 if (!SWIG_IsOK(res1
)) {
14411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14413 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= SWIG_Py_Void();
14429 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
= 0;
14431 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14432 wxWindow
*arg2
= (wxWindow
*) 0 ;
14433 int arg3
= (int) wxID_ANY
;
14434 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14435 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14436 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14437 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14438 long arg6
= (long) 0 ;
14439 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14440 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14452 bool temp7
= false ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 PyObject
* obj2
= 0 ;
14456 PyObject
* obj3
= 0 ;
14457 PyObject
* obj4
= 0 ;
14458 PyObject
* obj5
= 0 ;
14459 PyObject
* obj6
= 0 ;
14460 char * kwnames
[] = {
14461 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14466 if (!SWIG_IsOK(res1
)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14469 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14470 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14471 if (!SWIG_IsOK(res2
)) {
14472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14474 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14477 if (!SWIG_IsOK(ecode3
)) {
14478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14480 arg3
= static_cast< int >(val3
);
14485 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14491 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14495 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14496 if (!SWIG_IsOK(ecode6
)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14499 arg6
= static_cast< long >(val6
);
14503 arg7
= wxString_in_helper(obj6
);
14504 if (arg7
== NULL
) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14531 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14532 PyObject
*resultobj
= 0;
14533 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14537 PyObject
*swig_obj
[1] ;
14539 if (!args
) SWIG_fail
;
14540 swig_obj
[0] = args
;
14541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14542 if (!SWIG_IsOK(res1
)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14545 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14559 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14560 PyObject
*resultobj
= 0;
14561 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14565 PyObject
*swig_obj
[1] ;
14567 if (!args
) SWIG_fail
;
14568 swig_obj
[0] = args
;
14569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14570 if (!SWIG_IsOK(res1
)) {
14571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14573 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14589 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14590 PyObject
*resultobj
= 0;
14591 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14595 PyObject
*swig_obj
[1] ;
14597 if (!args
) SWIG_fail
;
14598 swig_obj
[0] = args
;
14599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14600 if (!SWIG_IsOK(res1
)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14603 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= SWIG_From_int(static_cast< int >(result
));
14617 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14618 PyObject
*resultobj
= 0;
14619 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 PyObject
* obj1
= 0 ;
14628 char * kwnames
[] = {
14629 (char *) "self",(char *) "item", NULL
14632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14634 if (!SWIG_IsOK(res1
)) {
14635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14637 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14638 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14639 if (!SWIG_IsOK(ecode2
)) {
14640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14642 arg2
= static_cast< size_t >(val2
);
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14658 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
= 0;
14660 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14667 PyObject
* obj0
= 0 ;
14668 PyObject
* obj1
= 0 ;
14669 char * kwnames
[] = {
14670 (char *) "self",(char *) "item", NULL
14673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14675 if (!SWIG_IsOK(res1
)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14678 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14679 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14680 if (!SWIG_IsOK(ecode2
)) {
14681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14683 arg2
= static_cast< size_t >(val2
);
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14699 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14700 PyObject
*resultobj
= 0;
14701 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14705 PyObject
*swig_obj
[1] ;
14707 if (!args
) SWIG_fail
;
14708 swig_obj
[0] = args
;
14709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14710 if (!SWIG_IsOK(res1
)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14713 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14727 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14728 PyObject
*resultobj
= 0;
14729 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14730 PyObject
*result
= 0 ;
14733 PyObject
*swig_obj
[1] ;
14735 if (!args
) SWIG_fail
;
14736 swig_obj
[0] = args
;
14737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14738 if (!SWIG_IsOK(res1
)) {
14739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14741 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= result
;
14755 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
= 0;
14757 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14758 unsigned long arg2
;
14759 PyObject
*result
= 0 ;
14762 unsigned long val2
;
14764 PyObject
* obj0
= 0 ;
14765 PyObject
* obj1
= 0 ;
14766 char * kwnames
[] = {
14767 (char *) "self",(char *) "cookie", NULL
14770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14772 if (!SWIG_IsOK(res1
)) {
14773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14775 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14776 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14777 if (!SWIG_IsOK(ecode2
)) {
14778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14780 arg2
= static_cast< unsigned long >(val2
);
14782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14787 resultobj
= result
;
14794 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14795 PyObject
*resultobj
= 0;
14796 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14800 PyObject
*swig_obj
[1] ;
14802 if (!args
) SWIG_fail
;
14803 swig_obj
[0] = args
;
14804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14805 if (!SWIG_IsOK(res1
)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14808 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14822 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14823 PyObject
*resultobj
= 0;
14824 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14825 wxColour
*result
= 0 ;
14828 PyObject
*swig_obj
[1] ;
14830 if (!args
) SWIG_fail
;
14831 swig_obj
[0] = args
;
14832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14833 if (!SWIG_IsOK(res1
)) {
14834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14836 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14841 result
= (wxColour
*) &_result_ref
;
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14853 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14854 PyObject
*resultobj
= 0;
14855 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14861 PyObject
* obj0
= 0 ;
14862 PyObject
* obj1
= 0 ;
14863 char * kwnames
[] = {
14864 (char *) "self",(char *) "count", NULL
14867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14869 if (!SWIG_IsOK(res1
)) {
14870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14872 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14873 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14874 if (!SWIG_IsOK(ecode2
)) {
14875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14877 arg2
= static_cast< size_t >(val2
);
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 (arg1
)->SetItemCount(arg2
);
14881 wxPyEndAllowThreads(__tstate
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14884 resultobj
= SWIG_Py_Void();
14891 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14892 PyObject
*resultobj
= 0;
14893 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14896 PyObject
*swig_obj
[1] ;
14898 if (!args
) SWIG_fail
;
14899 swig_obj
[0] = args
;
14900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14901 if (!SWIG_IsOK(res1
)) {
14902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14904 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 resultobj
= SWIG_Py_Void();
14918 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
= 0;
14920 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14926 PyObject
* obj0
= 0 ;
14927 PyObject
* obj1
= 0 ;
14928 char * kwnames
[] = {
14929 (char *) "self",(char *) "selection", NULL
14932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14934 if (!SWIG_IsOK(res1
)) {
14935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14937 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14939 if (!SWIG_IsOK(ecode2
)) {
14940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14942 arg2
= static_cast< int >(val2
);
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 (arg1
)->SetSelection(arg2
);
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= SWIG_Py_Void();
14956 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
= 0;
14958 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14960 bool arg3
= (bool) true ;
14968 PyObject
* obj0
= 0 ;
14969 PyObject
* obj1
= 0 ;
14970 PyObject
* obj2
= 0 ;
14971 char * kwnames
[] = {
14972 (char *) "self",(char *) "item",(char *) "select", NULL
14975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14977 if (!SWIG_IsOK(res1
)) {
14978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14980 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14981 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14982 if (!SWIG_IsOK(ecode2
)) {
14983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14985 arg2
= static_cast< size_t >(val2
);
14987 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14988 if (!SWIG_IsOK(ecode3
)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14991 arg3
= static_cast< bool >(val3
);
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15008 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
= 0;
15010 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15020 PyObject
* obj0
= 0 ;
15021 PyObject
* obj1
= 0 ;
15022 PyObject
* obj2
= 0 ;
15023 char * kwnames
[] = {
15024 (char *) "self",(char *) "from",(char *) "to", NULL
15027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15029 if (!SWIG_IsOK(res1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15032 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15033 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15034 if (!SWIG_IsOK(ecode2
)) {
15035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15037 arg2
= static_cast< size_t >(val2
);
15038 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15039 if (!SWIG_IsOK(ecode3
)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15042 arg3
= static_cast< size_t >(val3
);
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15058 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
= 0;
15060 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15066 PyObject
* obj0
= 0 ;
15067 PyObject
* obj1
= 0 ;
15068 char * kwnames
[] = {
15069 (char *) "self",(char *) "item", NULL
15072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15074 if (!SWIG_IsOK(res1
)) {
15075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15077 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15078 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15079 if (!SWIG_IsOK(ecode2
)) {
15080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15082 arg2
= static_cast< size_t >(val2
);
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 (arg1
)->Toggle(arg2
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_Py_Void();
15096 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15097 PyObject
*resultobj
= 0;
15098 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15102 PyObject
*swig_obj
[1] ;
15104 if (!args
) SWIG_fail
;
15105 swig_obj
[0] = args
;
15106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15107 if (!SWIG_IsOK(res1
)) {
15108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15110 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 result
= (bool)(arg1
)->SelectAll();
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15126 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15127 PyObject
*resultobj
= 0;
15128 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15132 PyObject
*swig_obj
[1] ;
15134 if (!args
) SWIG_fail
;
15135 swig_obj
[0] = args
;
15136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15137 if (!SWIG_IsOK(res1
)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15140 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (bool)(arg1
)->DeselectAll();
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15156 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15157 PyObject
*resultobj
= 0;
15158 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15159 wxPoint
*arg2
= 0 ;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 char * kwnames
[] = {
15166 (char *) "self",(char *) "pt", NULL
15169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15171 if (!SWIG_IsOK(res1
)) {
15172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15174 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15177 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= SWIG_Py_Void();
15192 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
= 0;
15194 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15203 PyObject
* obj0
= 0 ;
15204 PyObject
* obj1
= 0 ;
15205 PyObject
* obj2
= 0 ;
15206 char * kwnames
[] = {
15207 (char *) "self",(char *) "x",(char *) "y", NULL
15210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15212 if (!SWIG_IsOK(res1
)) {
15213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15215 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15217 if (!SWIG_IsOK(ecode2
)) {
15218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15220 arg2
= static_cast< int >(val2
);
15221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15222 if (!SWIG_IsOK(ecode3
)) {
15223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15225 arg3
= static_cast< int >(val3
);
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 (arg1
)->SetMargins(arg2
,arg3
);
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15232 resultobj
= SWIG_Py_Void();
15239 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
= 0;
15241 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15242 wxColour
*arg2
= 0 ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 char * kwnames
[] = {
15249 (char *) "self",(char *) "col", NULL
15252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15254 if (!SWIG_IsOK(res1
)) {
15255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15257 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15260 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= SWIG_Py_Void();
15275 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
= 0;
15277 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15288 PyObject
* obj0
= 0 ;
15289 PyObject
* obj1
= 0 ;
15290 PyObject
* obj2
= 0 ;
15291 PyObject
* obj3
= 0 ;
15292 char * kwnames
[] = {
15293 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15301 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15303 if (!SWIG_IsOK(res2
)) {
15304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15309 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15312 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15314 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15315 if (!SWIG_IsOK(ecode4
)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15318 arg4
= static_cast< size_t >(val4
);
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_Py_Void();
15332 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
= 0;
15334 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15345 PyObject
* obj0
= 0 ;
15346 PyObject
* obj1
= 0 ;
15347 PyObject
* obj2
= 0 ;
15348 PyObject
* obj3
= 0 ;
15349 char * kwnames
[] = {
15350 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15355 if (!SWIG_IsOK(res1
)) {
15356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15358 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15359 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15360 if (!SWIG_IsOK(res2
)) {
15361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15366 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15369 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15371 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15372 if (!SWIG_IsOK(ecode4
)) {
15373 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15375 arg4
= static_cast< size_t >(val4
);
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_Py_Void();
15389 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15392 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15393 return SWIG_Py_Void();
15396 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15397 return SWIG_Python_InitShadowInstance(args
);
15400 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
= 0;
15402 wxWindow
*arg1
= (wxWindow
*) 0 ;
15403 int arg2
= (int) wxID_ANY
;
15404 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15405 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15406 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15407 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15408 long arg5
= (long) 0 ;
15409 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15410 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15411 wxPyHtmlListBox
*result
= 0 ;
15420 bool temp6
= false ;
15421 PyObject
* obj0
= 0 ;
15422 PyObject
* obj1
= 0 ;
15423 PyObject
* obj2
= 0 ;
15424 PyObject
* obj3
= 0 ;
15425 PyObject
* obj4
= 0 ;
15426 PyObject
* obj5
= 0 ;
15427 char * kwnames
[] = {
15428 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15433 if (!SWIG_IsOK(res1
)) {
15434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15439 if (!SWIG_IsOK(ecode2
)) {
15440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15442 arg2
= static_cast< int >(val2
);
15447 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15453 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15457 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15458 if (!SWIG_IsOK(ecode5
)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15461 arg5
= static_cast< long >(val5
);
15465 arg6
= wxString_in_helper(obj5
);
15466 if (arg6
== NULL
) SWIG_fail
;
15471 if (!wxPyCheckForApp()) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15492 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15493 PyObject
*resultobj
= 0;
15494 wxPyHtmlListBox
*result
= 0 ;
15496 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15498 if (!wxPyCheckForApp()) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15511 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
= 0;
15513 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15514 PyObject
*arg2
= (PyObject
*) 0 ;
15515 PyObject
*arg3
= (PyObject
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 PyObject
* obj1
= 0 ;
15520 PyObject
* obj2
= 0 ;
15521 char * kwnames
[] = {
15522 (char *) "self",(char *) "self",(char *) "_class", NULL
15525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15527 if (!SWIG_IsOK(res1
)) {
15528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15530 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 resultobj
= SWIG_Py_Void();
15546 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
= 0;
15548 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15549 wxWindow
*arg2
= (wxWindow
*) 0 ;
15550 int arg3
= (int) wxID_ANY
;
15551 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15552 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15553 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15554 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15555 long arg6
= (long) 0 ;
15556 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15557 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15569 bool temp7
= false ;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 PyObject
* obj2
= 0 ;
15573 PyObject
* obj3
= 0 ;
15574 PyObject
* obj4
= 0 ;
15575 PyObject
* obj5
= 0 ;
15576 PyObject
* obj6
= 0 ;
15577 char * kwnames
[] = {
15578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15583 if (!SWIG_IsOK(res1
)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15586 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15588 if (!SWIG_IsOK(res2
)) {
15589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15591 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15594 if (!SWIG_IsOK(ecode3
)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15597 arg3
= static_cast< int >(val3
);
15602 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15608 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15612 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15613 if (!SWIG_IsOK(ecode6
)) {
15614 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15616 arg6
= static_cast< long >(val6
);
15620 arg7
= wxString_in_helper(obj6
);
15621 if (arg7
== NULL
) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15648 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
= 0;
15650 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 PyObject
* obj1
= 0 ;
15658 char * kwnames
[] = {
15659 (char *) "self",(char *) "count", NULL
15662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15664 if (!SWIG_IsOK(res1
)) {
15665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15667 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15668 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15669 if (!SWIG_IsOK(ecode2
)) {
15670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15672 arg2
= static_cast< size_t >(val2
);
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 (arg1
)->SetItemCount(arg2
);
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15679 resultobj
= SWIG_Py_Void();
15686 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15687 PyObject
*resultobj
= 0;
15688 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15689 wxFileSystem
*result
= 0 ;
15692 PyObject
*swig_obj
[1] ;
15694 if (!args
) SWIG_fail
;
15695 swig_obj
[0] = args
;
15696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15697 if (!SWIG_IsOK(res1
)) {
15698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15700 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15705 result
= (wxFileSystem
*) &_result_ref
;
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15717 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
= 0;
15719 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15721 wxHtmlLinkInfo
*arg3
= 0 ;
15728 PyObject
* obj0
= 0 ;
15729 PyObject
* obj1
= 0 ;
15730 PyObject
* obj2
= 0 ;
15731 char * kwnames
[] = {
15732 (char *) "self",(char *) "n",(char *) "link", NULL
15735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15737 if (!SWIG_IsOK(res1
)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15740 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15741 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15742 if (!SWIG_IsOK(ecode2
)) {
15743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15745 arg2
= static_cast< size_t >(val2
);
15746 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15747 if (!SWIG_IsOK(res3
)) {
15748 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15753 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= SWIG_Py_Void();
15767 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15770 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15771 return SWIG_Py_Void();
15774 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15775 return SWIG_Python_InitShadowInstance(args
);
15778 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15779 PyObject
*resultobj
= 0;
15780 wxPyTaskBarIcon
*result
= 0 ;
15782 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15784 if (!wxPyCheckForApp()) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15797 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15798 PyObject
*resultobj
= 0;
15799 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15802 PyObject
*swig_obj
[1] ;
15804 if (!args
) SWIG_fail
;
15805 swig_obj
[0] = args
;
15806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15807 if (!SWIG_IsOK(res1
)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15810 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 wxPyEndAllowThreads(__tstate
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15818 resultobj
= SWIG_Py_Void();
15825 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
= 0;
15827 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15828 PyObject
*arg2
= (PyObject
*) 0 ;
15829 PyObject
*arg3
= (PyObject
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 PyObject
* obj2
= 0 ;
15838 PyObject
* obj3
= 0 ;
15839 char * kwnames
[] = {
15840 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15845 if (!SWIG_IsOK(res1
)) {
15846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15848 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15851 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15852 if (!SWIG_IsOK(ecode4
)) {
15853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15855 arg4
= static_cast< int >(val4
);
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= SWIG_Py_Void();
15869 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15870 PyObject
*resultobj
= 0;
15871 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15874 PyObject
*swig_obj
[1] ;
15876 if (!args
) SWIG_fail
;
15877 swig_obj
[0] = args
;
15878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15879 if (!SWIG_IsOK(res1
)) {
15880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15882 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 wxPyTaskBarIcon_Destroy(arg1
);
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= SWIG_Py_Void();
15896 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15897 PyObject
*resultobj
= 0;
15898 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15902 PyObject
*swig_obj
[1] ;
15904 if (!args
) SWIG_fail
;
15905 swig_obj
[0] = args
;
15906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15907 if (!SWIG_IsOK(res1
)) {
15908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15910 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15926 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15927 PyObject
*resultobj
= 0;
15928 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15932 PyObject
*swig_obj
[1] ;
15934 if (!args
) SWIG_fail
;
15935 swig_obj
[0] = args
;
15936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15937 if (!SWIG_IsOK(res1
)) {
15938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15940 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15956 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
= 0;
15958 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15960 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15961 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15967 bool temp3
= false ;
15968 PyObject
* obj0
= 0 ;
15969 PyObject
* obj1
= 0 ;
15970 PyObject
* obj2
= 0 ;
15971 char * kwnames
[] = {
15972 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15977 if (!SWIG_IsOK(res1
)) {
15978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15980 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15982 if (!SWIG_IsOK(res2
)) {
15983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15988 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15991 arg3
= wxString_in_helper(obj2
);
15992 if (arg3
== NULL
) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16019 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16020 PyObject
*resultobj
= 0;
16021 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16025 PyObject
*swig_obj
[1] ;
16027 if (!args
) SWIG_fail
;
16028 swig_obj
[0] = args
;
16029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16030 if (!SWIG_IsOK(res1
)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16033 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (bool)(arg1
)->RemoveIcon();
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16049 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
= 0;
16051 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16052 wxMenu
*arg2
= (wxMenu
*) 0 ;
16058 PyObject
* obj0
= 0 ;
16059 PyObject
* obj1
= 0 ;
16060 char * kwnames
[] = {
16061 (char *) "self",(char *) "menu", NULL
16064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16066 if (!SWIG_IsOK(res1
)) {
16067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16069 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16070 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16071 if (!SWIG_IsOK(res2
)) {
16072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16074 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 result
= (bool)(arg1
)->PopupMenu(arg2
);
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16090 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16093 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16094 return SWIG_Py_Void();
16097 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16098 return SWIG_Python_InitShadowInstance(args
);
16101 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
= 0;
16104 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16105 wxTaskBarIconEvent
*result
= 0 ;
16110 PyObject
* obj0
= 0 ;
16111 PyObject
* obj1
= 0 ;
16112 char * kwnames
[] = {
16113 (char *) "evtType",(char *) "tbIcon", NULL
16116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16117 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16118 if (!SWIG_IsOK(ecode1
)) {
16119 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16121 arg1
= static_cast< wxEventType
>(val1
);
16122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16123 if (!SWIG_IsOK(res2
)) {
16124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16126 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16140 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16143 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16144 return SWIG_Py_Void();
16147 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16148 return SWIG_Python_InitShadowInstance(args
);
16151 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16152 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16157 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16158 PyObject
*pyobj
= 0;
16162 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16164 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16171 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16172 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16177 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16178 PyObject
*pyobj
= 0;
16182 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16184 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16191 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16192 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16197 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16198 PyObject
*pyobj
= 0;
16202 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16204 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16211 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16212 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16217 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16218 PyObject
*pyobj
= 0;
16222 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16224 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16231 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16232 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16237 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16238 PyObject
*pyobj
= 0;
16242 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16244 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16251 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16252 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16257 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16258 PyObject
*pyobj
= 0;
16262 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16264 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16271 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16272 PyObject
*resultobj
= 0;
16273 wxColourData
*result
= 0 ;
16275 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= (wxColourData
*)new wxColourData();
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16289 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16290 PyObject
*resultobj
= 0;
16291 wxColourData
*arg1
= (wxColourData
*) 0 ;
16294 PyObject
*swig_obj
[1] ;
16296 if (!args
) SWIG_fail
;
16297 swig_obj
[0] = args
;
16298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16299 if (!SWIG_IsOK(res1
)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16302 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= SWIG_Py_Void();
16317 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16318 PyObject
*resultobj
= 0;
16319 wxColourData
*arg1
= (wxColourData
*) 0 ;
16323 PyObject
*swig_obj
[1] ;
16325 if (!args
) SWIG_fail
;
16326 swig_obj
[0] = args
;
16327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16328 if (!SWIG_IsOK(res1
)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16331 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 result
= (bool)(arg1
)->GetChooseFull();
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16347 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16348 PyObject
*resultobj
= 0;
16349 wxColourData
*arg1
= (wxColourData
*) 0 ;
16353 PyObject
*swig_obj
[1] ;
16355 if (!args
) SWIG_fail
;
16356 swig_obj
[0] = args
;
16357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16358 if (!SWIG_IsOK(res1
)) {
16359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16361 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (arg1
)->GetColour();
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16375 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
= 0;
16377 wxColourData
*arg1
= (wxColourData
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 char * kwnames
[] = {
16387 (char *) "self",(char *) "i", NULL
16390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16392 if (!SWIG_IsOK(res1
)) {
16393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16395 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16397 if (!SWIG_IsOK(ecode2
)) {
16398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16400 arg2
= static_cast< int >(val2
);
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (arg1
)->GetCustomColour(arg2
);
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16407 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16414 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
= 0;
16416 wxColourData
*arg1
= (wxColourData
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 PyObject
* obj1
= 0 ;
16424 char * kwnames
[] = {
16425 (char *) "self",(char *) "flag", NULL
16428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16430 if (!SWIG_IsOK(res1
)) {
16431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16433 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16435 if (!SWIG_IsOK(ecode2
)) {
16436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16438 arg2
= static_cast< int >(val2
);
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 (arg1
)->SetChooseFull(arg2
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 resultobj
= SWIG_Py_Void();
16452 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
= 0;
16454 wxColourData
*arg1
= (wxColourData
*) 0 ;
16455 wxColour
*arg2
= 0 ;
16459 PyObject
* obj0
= 0 ;
16460 PyObject
* obj1
= 0 ;
16461 char * kwnames
[] = {
16462 (char *) "self",(char *) "colour", NULL
16465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16467 if (!SWIG_IsOK(res1
)) {
16468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16470 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16473 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 (arg1
)->SetColour((wxColour
const &)*arg2
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= SWIG_Py_Void();
16488 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
= 0;
16490 wxColourData
*arg1
= (wxColourData
*) 0 ;
16492 wxColour
*arg3
= 0 ;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 PyObject
* obj2
= 0 ;
16501 char * kwnames
[] = {
16502 (char *) "self",(char *) "i",(char *) "colour", NULL
16505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16507 if (!SWIG_IsOK(res1
)) {
16508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16510 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16512 if (!SWIG_IsOK(ecode2
)) {
16513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16515 arg2
= static_cast< int >(val2
);
16518 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= SWIG_Py_Void();
16533 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16536 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16537 return SWIG_Py_Void();
16540 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16541 return SWIG_Python_InitShadowInstance(args
);
16544 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
= 0;
16546 wxWindow
*arg1
= (wxWindow
*) 0 ;
16547 wxColourData
*arg2
= (wxColourData
*) NULL
;
16548 wxColourDialog
*result
= 0 ;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 char * kwnames
[] = {
16556 (char *) "parent",(char *) "data", NULL
16559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16561 if (!SWIG_IsOK(res1
)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16567 if (!SWIG_IsOK(res2
)) {
16568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16570 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16573 if (!wxPyCheckForApp()) SWIG_fail
;
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16586 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16587 PyObject
*resultobj
= 0;
16588 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16589 wxColourData
*result
= 0 ;
16592 PyObject
*swig_obj
[1] ;
16594 if (!args
) SWIG_fail
;
16595 swig_obj
[0] = args
;
16596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16597 if (!SWIG_IsOK(res1
)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16600 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16605 result
= (wxColourData
*) &_result_ref
;
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16617 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16620 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16621 return SWIG_Py_Void();
16624 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16625 return SWIG_Python_InitShadowInstance(args
);
16628 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
= 0;
16630 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16631 wxColour
const &arg2_defvalue
= wxNullColour
;
16632 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16633 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16634 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16639 bool temp3
= false ;
16640 PyObject
* obj0
= 0 ;
16641 PyObject
* obj1
= 0 ;
16642 PyObject
* obj2
= 0 ;
16643 char * kwnames
[] = {
16644 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16650 if (!SWIG_IsOK(res1
)) {
16651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16653 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16658 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16663 arg3
= wxString_in_helper(obj2
);
16664 if (arg3
== NULL
) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16689 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
= 0;
16691 wxWindow
*arg1
= (wxWindow
*) 0 ;
16692 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16693 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16694 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16695 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16696 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16697 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16698 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16699 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16700 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16701 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16702 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16703 wxDirDialog
*result
= 0 ;
16706 bool temp2
= false ;
16707 bool temp3
= false ;
16712 bool temp7
= false ;
16713 PyObject
* obj0
= 0 ;
16714 PyObject
* obj1
= 0 ;
16715 PyObject
* obj2
= 0 ;
16716 PyObject
* obj3
= 0 ;
16717 PyObject
* obj4
= 0 ;
16718 PyObject
* obj5
= 0 ;
16719 PyObject
* obj6
= 0 ;
16720 char * kwnames
[] = {
16721 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16726 if (!SWIG_IsOK(res1
)) {
16727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16729 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16732 arg2
= wxString_in_helper(obj1
);
16733 if (arg2
== NULL
) SWIG_fail
;
16739 arg3
= wxString_in_helper(obj2
);
16740 if (arg3
== NULL
) SWIG_fail
;
16745 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16746 if (!SWIG_IsOK(ecode4
)) {
16747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16749 arg4
= static_cast< long >(val4
);
16754 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16760 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16765 arg7
= wxString_in_helper(obj6
);
16766 if (arg7
== NULL
) SWIG_fail
;
16771 if (!wxPyCheckForApp()) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16808 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16809 PyObject
*resultobj
= 0;
16810 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16814 PyObject
*swig_obj
[1] ;
16816 if (!args
) SWIG_fail
;
16817 swig_obj
[0] = args
;
16818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16819 if (!SWIG_IsOK(res1
)) {
16820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16822 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (arg1
)->GetPath();
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16842 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16843 PyObject
*resultobj
= 0;
16844 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16848 PyObject
*swig_obj
[1] ;
16850 if (!args
) SWIG_fail
;
16851 swig_obj
[0] = args
;
16852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16853 if (!SWIG_IsOK(res1
)) {
16854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16856 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (arg1
)->GetMessage();
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16876 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
= 0;
16878 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16879 wxString
*arg2
= 0 ;
16882 bool temp2
= false ;
16883 PyObject
* obj0
= 0 ;
16884 PyObject
* obj1
= 0 ;
16885 char * kwnames
[] = {
16886 (char *) "self",(char *) "message", NULL
16889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16891 if (!SWIG_IsOK(res1
)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16894 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16896 arg2
= wxString_in_helper(obj1
);
16897 if (arg2
== NULL
) SWIG_fail
;
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 (arg1
)->SetMessage((wxString
const &)*arg2
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= SWIG_Py_Void();
16921 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
= 0;
16923 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16924 wxString
*arg2
= 0 ;
16927 bool temp2
= false ;
16928 PyObject
* obj0
= 0 ;
16929 PyObject
* obj1
= 0 ;
16930 char * kwnames
[] = {
16931 (char *) "self",(char *) "path", NULL
16934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16936 if (!SWIG_IsOK(res1
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16939 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16941 arg2
= wxString_in_helper(obj1
);
16942 if (arg2
== NULL
) SWIG_fail
;
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 (arg1
)->SetPath((wxString
const &)*arg2
);
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= SWIG_Py_Void();
16966 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16969 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16970 return SWIG_Py_Void();
16973 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16974 return SWIG_Python_InitShadowInstance(args
);
16977 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
= 0;
16979 wxWindow
*arg1
= (wxWindow
*) 0 ;
16980 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16981 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16982 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16983 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16984 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16985 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16986 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16987 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16988 long arg6
= (long) wxFD_DEFAULT_STYLE
;
16989 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16990 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16991 wxFileDialog
*result
= 0 ;
16994 bool temp2
= false ;
16995 bool temp3
= false ;
16996 bool temp4
= false ;
16997 bool temp5
= false ;
17001 PyObject
* obj0
= 0 ;
17002 PyObject
* obj1
= 0 ;
17003 PyObject
* obj2
= 0 ;
17004 PyObject
* obj3
= 0 ;
17005 PyObject
* obj4
= 0 ;
17006 PyObject
* obj5
= 0 ;
17007 PyObject
* obj6
= 0 ;
17008 char * kwnames
[] = {
17009 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17014 if (!SWIG_IsOK(res1
)) {
17015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17017 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17020 arg2
= wxString_in_helper(obj1
);
17021 if (arg2
== NULL
) SWIG_fail
;
17027 arg3
= wxString_in_helper(obj2
);
17028 if (arg3
== NULL
) SWIG_fail
;
17034 arg4
= wxString_in_helper(obj3
);
17035 if (arg4
== NULL
) SWIG_fail
;
17041 arg5
= wxString_in_helper(obj4
);
17042 if (arg5
== NULL
) SWIG_fail
;
17047 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17048 if (!SWIG_IsOK(ecode6
)) {
17049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17051 arg6
= static_cast< long >(val6
);
17056 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17060 if (!wxPyCheckForApp()) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17105 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
= 0;
17107 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17108 wxString
*arg2
= 0 ;
17111 bool temp2
= false ;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 char * kwnames
[] = {
17115 (char *) "self",(char *) "message", NULL
17118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17120 if (!SWIG_IsOK(res1
)) {
17121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17123 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17125 arg2
= wxString_in_helper(obj1
);
17126 if (arg2
== NULL
) SWIG_fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 (arg1
)->SetMessage((wxString
const &)*arg2
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= SWIG_Py_Void();
17150 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
= 0;
17152 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17153 wxString
*arg2
= 0 ;
17156 bool temp2
= false ;
17157 PyObject
* obj0
= 0 ;
17158 PyObject
* obj1
= 0 ;
17159 char * kwnames
[] = {
17160 (char *) "self",(char *) "path", NULL
17163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17165 if (!SWIG_IsOK(res1
)) {
17166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17168 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17170 arg2
= wxString_in_helper(obj1
);
17171 if (arg2
== NULL
) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 (arg1
)->SetPath((wxString
const &)*arg2
);
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= SWIG_Py_Void();
17195 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
= 0;
17197 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17198 wxString
*arg2
= 0 ;
17201 bool temp2
= false ;
17202 PyObject
* obj0
= 0 ;
17203 PyObject
* obj1
= 0 ;
17204 char * kwnames
[] = {
17205 (char *) "self",(char *) "dir", NULL
17208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17210 if (!SWIG_IsOK(res1
)) {
17211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17213 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17215 arg2
= wxString_in_helper(obj1
);
17216 if (arg2
== NULL
) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_Py_Void();
17240 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
= 0;
17242 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17243 wxString
*arg2
= 0 ;
17246 bool temp2
= false ;
17247 PyObject
* obj0
= 0 ;
17248 PyObject
* obj1
= 0 ;
17249 char * kwnames
[] = {
17250 (char *) "self",(char *) "name", NULL
17253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17255 if (!SWIG_IsOK(res1
)) {
17256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17258 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17260 arg2
= wxString_in_helper(obj1
);
17261 if (arg2
== NULL
) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 (arg1
)->SetFilename((wxString
const &)*arg2
);
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 resultobj
= SWIG_Py_Void();
17285 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
= 0;
17287 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17288 wxString
*arg2
= 0 ;
17291 bool temp2
= false ;
17292 PyObject
* obj0
= 0 ;
17293 PyObject
* obj1
= 0 ;
17294 char * kwnames
[] = {
17295 (char *) "self",(char *) "wildCard", NULL
17298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17300 if (!SWIG_IsOK(res1
)) {
17301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17303 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17305 arg2
= wxString_in_helper(obj1
);
17306 if (arg2
== NULL
) SWIG_fail
;
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 resultobj
= SWIG_Py_Void();
17330 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
= 0;
17332 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17338 PyObject
* obj0
= 0 ;
17339 PyObject
* obj1
= 0 ;
17340 char * kwnames
[] = {
17341 (char *) "self",(char *) "filterIndex", NULL
17344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17346 if (!SWIG_IsOK(res1
)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17349 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17351 if (!SWIG_IsOK(ecode2
)) {
17352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17354 arg2
= static_cast< int >(val2
);
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 (arg1
)->SetFilterIndex(arg2
);
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17361 resultobj
= SWIG_Py_Void();
17368 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17369 PyObject
*resultobj
= 0;
17370 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17374 PyObject
*swig_obj
[1] ;
17376 if (!args
) SWIG_fail
;
17377 swig_obj
[0] = args
;
17378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17382 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17402 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17403 PyObject
*resultobj
= 0;
17404 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17408 PyObject
*swig_obj
[1] ;
17410 if (!args
) SWIG_fail
;
17411 swig_obj
[0] = args
;
17412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17413 if (!SWIG_IsOK(res1
)) {
17414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17416 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17436 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17437 PyObject
*resultobj
= 0;
17438 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17442 PyObject
*swig_obj
[1] ;
17444 if (!args
) SWIG_fail
;
17445 swig_obj
[0] = args
;
17446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17447 if (!SWIG_IsOK(res1
)) {
17448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17450 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17470 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17471 PyObject
*resultobj
= 0;
17472 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17476 PyObject
*swig_obj
[1] ;
17478 if (!args
) SWIG_fail
;
17479 swig_obj
[0] = args
;
17480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17481 if (!SWIG_IsOK(res1
)) {
17482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17484 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17504 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17505 PyObject
*resultobj
= 0;
17506 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17510 PyObject
*swig_obj
[1] ;
17512 if (!args
) SWIG_fail
;
17513 swig_obj
[0] = args
;
17514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17515 if (!SWIG_IsOK(res1
)) {
17516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17518 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17538 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17539 PyObject
*resultobj
= 0;
17540 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17544 PyObject
*swig_obj
[1] ;
17546 if (!args
) SWIG_fail
;
17547 swig_obj
[0] = args
;
17548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17549 if (!SWIG_IsOK(res1
)) {
17550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17552 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17556 wxPyEndAllowThreads(__tstate
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17559 resultobj
= SWIG_From_int(static_cast< int >(result
));
17566 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17567 PyObject
*resultobj
= 0;
17568 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17569 PyObject
*result
= 0 ;
17572 PyObject
*swig_obj
[1] ;
17574 if (!args
) SWIG_fail
;
17575 swig_obj
[0] = args
;
17576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17577 if (!SWIG_IsOK(res1
)) {
17578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17580 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= result
;
17594 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17595 PyObject
*resultobj
= 0;
17596 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17597 PyObject
*result
= 0 ;
17600 PyObject
*swig_obj
[1] ;
17602 if (!args
) SWIG_fail
;
17603 swig_obj
[0] = args
;
17604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17605 if (!SWIG_IsOK(res1
)) {
17606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17608 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= result
;
17622 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17625 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17626 return SWIG_Py_Void();
17629 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17630 return SWIG_Python_InitShadowInstance(args
);
17633 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
= 0;
17635 wxWindow
*arg1
= (wxWindow
*) 0 ;
17636 wxString
*arg2
= 0 ;
17637 wxString
*arg3
= 0 ;
17638 int arg4
= (int) 0 ;
17639 wxString
*arg5
= (wxString
*) NULL
;
17640 long arg6
= (long) wxCHOICEDLG_STYLE
;
17641 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17642 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17643 wxMultiChoiceDialog
*result
= 0 ;
17646 bool temp2
= false ;
17647 bool temp3
= false ;
17651 PyObject
* obj0
= 0 ;
17652 PyObject
* obj1
= 0 ;
17653 PyObject
* obj2
= 0 ;
17654 PyObject
* obj3
= 0 ;
17655 PyObject
* obj4
= 0 ;
17656 PyObject
* obj5
= 0 ;
17657 char * kwnames
[] = {
17658 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17663 if (!SWIG_IsOK(res1
)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17666 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17668 arg2
= wxString_in_helper(obj1
);
17669 if (arg2
== NULL
) SWIG_fail
;
17673 arg3
= wxString_in_helper(obj2
);
17674 if (arg3
== NULL
) SWIG_fail
;
17679 arg4
= PyList_Size(obj3
);
17680 arg5
= wxString_LIST_helper(obj3
);
17681 if (arg5
== NULL
) SWIG_fail
;
17685 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17686 if (!SWIG_IsOK(ecode6
)) {
17687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17689 arg6
= static_cast< long >(val6
);
17694 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17698 if (!wxPyCheckForApp()) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17714 if (arg5
) delete [] arg5
;
17727 if (arg5
) delete [] arg5
;
17733 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
= 0;
17735 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17736 wxArrayInt
*arg2
= 0 ;
17739 bool temp2
= false ;
17740 PyObject
* obj0
= 0 ;
17741 PyObject
* obj1
= 0 ;
17742 char * kwnames
[] = {
17743 (char *) "self",(char *) "selections", NULL
17746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17748 if (!SWIG_IsOK(res1
)) {
17749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17751 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17753 if (! PySequence_Check(obj1
)) {
17754 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17757 arg2
= new wxArrayInt
;
17759 int i
, len
=PySequence_Length(obj1
);
17760 for (i
=0; i
<len
; i
++) {
17761 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17762 PyObject
* number
= PyNumber_Int(item
);
17763 arg2
->Add(PyInt_AS_LONG(number
));
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= SWIG_Py_Void();
17776 if (temp2
) delete arg2
;
17781 if (temp2
) delete arg2
;
17787 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17788 PyObject
*resultobj
= 0;
17789 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17790 PyObject
*result
= 0 ;
17793 PyObject
*swig_obj
[1] ;
17795 if (!args
) SWIG_fail
;
17796 swig_obj
[0] = args
;
17797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17798 if (!SWIG_IsOK(res1
)) {
17799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17801 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= result
;
17815 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17818 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17819 return SWIG_Py_Void();
17822 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17823 return SWIG_Python_InitShadowInstance(args
);
17826 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
= 0;
17828 wxWindow
*arg1
= (wxWindow
*) 0 ;
17829 wxString
*arg2
= 0 ;
17830 wxString
*arg3
= 0 ;
17832 wxString
*arg5
= (wxString
*) 0 ;
17833 long arg6
= (long) wxCHOICEDLG_STYLE
;
17834 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17835 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17836 wxSingleChoiceDialog
*result
= 0 ;
17839 bool temp2
= false ;
17840 bool temp3
= false ;
17844 PyObject
* obj0
= 0 ;
17845 PyObject
* obj1
= 0 ;
17846 PyObject
* obj2
= 0 ;
17847 PyObject
* obj3
= 0 ;
17848 PyObject
* obj4
= 0 ;
17849 PyObject
* obj5
= 0 ;
17850 char * kwnames
[] = {
17851 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17856 if (!SWIG_IsOK(res1
)) {
17857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17859 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17861 arg2
= wxString_in_helper(obj1
);
17862 if (arg2
== NULL
) SWIG_fail
;
17866 arg3
= wxString_in_helper(obj2
);
17867 if (arg3
== NULL
) SWIG_fail
;
17871 arg4
= PyList_Size(obj3
);
17872 arg5
= wxString_LIST_helper(obj3
);
17873 if (arg5
== NULL
) SWIG_fail
;
17876 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17877 if (!SWIG_IsOK(ecode6
)) {
17878 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17880 arg6
= static_cast< long >(val6
);
17885 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17889 if (!wxPyCheckForApp()) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17905 if (arg5
) delete [] arg5
;
17918 if (arg5
) delete [] arg5
;
17924 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17925 PyObject
*resultobj
= 0;
17926 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17930 PyObject
*swig_obj
[1] ;
17932 if (!args
) SWIG_fail
;
17933 swig_obj
[0] = args
;
17934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17935 if (!SWIG_IsOK(res1
)) {
17936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17938 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17941 result
= (int)(arg1
)->GetSelection();
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 resultobj
= SWIG_From_int(static_cast< int >(result
));
17952 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17953 PyObject
*resultobj
= 0;
17954 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17958 PyObject
*swig_obj
[1] ;
17960 if (!args
) SWIG_fail
;
17961 swig_obj
[0] = args
;
17962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17963 if (!SWIG_IsOK(res1
)) {
17964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17966 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 result
= (arg1
)->GetStringSelection();
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17986 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
= 0;
17988 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17994 PyObject
* obj0
= 0 ;
17995 PyObject
* obj1
= 0 ;
17996 char * kwnames
[] = {
17997 (char *) "self",(char *) "sel", NULL
18000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18002 if (!SWIG_IsOK(res1
)) {
18003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18005 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18007 if (!SWIG_IsOK(ecode2
)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18010 arg2
= static_cast< int >(val2
);
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 (arg1
)->SetSelection(arg2
);
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= SWIG_Py_Void();
18024 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18027 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18028 return SWIG_Py_Void();
18031 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18032 return SWIG_Python_InitShadowInstance(args
);
18035 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
= 0;
18037 wxWindow
*arg1
= (wxWindow
*) 0 ;
18038 wxString
*arg2
= 0 ;
18039 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18040 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18041 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18042 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18043 long arg5
= (long) wxTextEntryDialogStyle
;
18044 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18045 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18046 wxTextEntryDialog
*result
= 0 ;
18049 bool temp2
= false ;
18050 bool temp3
= false ;
18051 bool temp4
= false ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 PyObject
* obj2
= 0 ;
18058 PyObject
* obj3
= 0 ;
18059 PyObject
* obj4
= 0 ;
18060 PyObject
* obj5
= 0 ;
18061 char * kwnames
[] = {
18062 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18067 if (!SWIG_IsOK(res1
)) {
18068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18072 arg2
= wxString_in_helper(obj1
);
18073 if (arg2
== NULL
) SWIG_fail
;
18078 arg3
= wxString_in_helper(obj2
);
18079 if (arg3
== NULL
) SWIG_fail
;
18085 arg4
= wxString_in_helper(obj3
);
18086 if (arg4
== NULL
) SWIG_fail
;
18091 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18092 if (!SWIG_IsOK(ecode5
)) {
18093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18095 arg5
= static_cast< long >(val5
);
18100 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18104 if (!wxPyCheckForApp()) SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18141 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18142 PyObject
*resultobj
= 0;
18143 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18147 PyObject
*swig_obj
[1] ;
18149 if (!args
) SWIG_fail
;
18150 swig_obj
[0] = args
;
18151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18152 if (!SWIG_IsOK(res1
)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18155 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= (arg1
)->GetValue();
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18175 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
= 0;
18177 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18178 wxString
*arg2
= 0 ;
18181 bool temp2
= false ;
18182 PyObject
* obj0
= 0 ;
18183 PyObject
* obj1
= 0 ;
18184 char * kwnames
[] = {
18185 (char *) "self",(char *) "value", NULL
18188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18190 if (!SWIG_IsOK(res1
)) {
18191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18193 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18195 arg2
= wxString_in_helper(obj1
);
18196 if (arg2
== NULL
) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 (arg1
)->SetValue((wxString
const &)*arg2
);
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= SWIG_Py_Void();
18220 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18223 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18224 return SWIG_Py_Void();
18227 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18228 return SWIG_Python_InitShadowInstance(args
);
18231 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18232 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18237 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18238 PyObject
*pyobj
= 0;
18242 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18244 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18251 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
= 0;
18253 wxWindow
*arg1
= (wxWindow
*) 0 ;
18254 wxString
*arg2
= 0 ;
18255 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18256 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18257 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18258 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18259 long arg5
= (long) wxTextEntryDialogStyle
;
18260 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18261 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18262 wxPasswordEntryDialog
*result
= 0 ;
18265 bool temp2
= false ;
18266 bool temp3
= false ;
18267 bool temp4
= false ;
18271 PyObject
* obj0
= 0 ;
18272 PyObject
* obj1
= 0 ;
18273 PyObject
* obj2
= 0 ;
18274 PyObject
* obj3
= 0 ;
18275 PyObject
* obj4
= 0 ;
18276 PyObject
* obj5
= 0 ;
18277 char * kwnames
[] = {
18278 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18283 if (!SWIG_IsOK(res1
)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18286 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18288 arg2
= wxString_in_helper(obj1
);
18289 if (arg2
== NULL
) SWIG_fail
;
18294 arg3
= wxString_in_helper(obj2
);
18295 if (arg3
== NULL
) SWIG_fail
;
18301 arg4
= wxString_in_helper(obj3
);
18302 if (arg4
== NULL
) SWIG_fail
;
18307 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18308 if (!SWIG_IsOK(ecode5
)) {
18309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18311 arg5
= static_cast< long >(val5
);
18316 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18356 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18359 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18360 return SWIG_Py_Void();
18363 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18364 return SWIG_Python_InitShadowInstance(args
);
18367 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
= 0;
18369 wxWindow
*arg1
= (wxWindow
*) 0 ;
18370 wxString
*arg2
= 0 ;
18371 wxString
*arg3
= 0 ;
18372 wxString
*arg4
= 0 ;
18376 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18377 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18378 wxNumberEntryDialog
*result
= 0 ;
18381 bool temp2
= false ;
18382 bool temp3
= false ;
18383 bool temp4
= false ;
18391 PyObject
* obj0
= 0 ;
18392 PyObject
* obj1
= 0 ;
18393 PyObject
* obj2
= 0 ;
18394 PyObject
* obj3
= 0 ;
18395 PyObject
* obj4
= 0 ;
18396 PyObject
* obj5
= 0 ;
18397 PyObject
* obj6
= 0 ;
18398 PyObject
* obj7
= 0 ;
18399 char * kwnames
[] = {
18400 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18405 if (!SWIG_IsOK(res1
)) {
18406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18408 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18410 arg2
= wxString_in_helper(obj1
);
18411 if (arg2
== NULL
) SWIG_fail
;
18415 arg3
= wxString_in_helper(obj2
);
18416 if (arg3
== NULL
) SWIG_fail
;
18420 arg4
= wxString_in_helper(obj3
);
18421 if (arg4
== NULL
) SWIG_fail
;
18424 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18425 if (!SWIG_IsOK(ecode5
)) {
18426 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18428 arg5
= static_cast< long >(val5
);
18429 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18430 if (!SWIG_IsOK(ecode6
)) {
18431 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18433 arg6
= static_cast< long >(val6
);
18434 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18435 if (!SWIG_IsOK(ecode7
)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18438 arg7
= static_cast< long >(val7
);
18442 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18446 if (!wxPyCheckForApp()) SWIG_fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18483 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18484 PyObject
*resultobj
= 0;
18485 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18489 PyObject
*swig_obj
[1] ;
18491 if (!args
) SWIG_fail
;
18492 swig_obj
[0] = args
;
18493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18494 if (!SWIG_IsOK(res1
)) {
18495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18497 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18500 result
= (long)(arg1
)->GetValue();
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= SWIG_From_long(static_cast< long >(result
));
18511 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18514 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18515 return SWIG_Py_Void();
18518 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18519 return SWIG_Python_InitShadowInstance(args
);
18522 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18523 PyObject
*resultobj
= 0;
18524 wxFontData
*result
= 0 ;
18526 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (wxFontData
*)new wxFontData();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18540 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18541 PyObject
*resultobj
= 0;
18542 wxFontData
*arg1
= (wxFontData
*) 0 ;
18545 PyObject
*swig_obj
[1] ;
18547 if (!args
) SWIG_fail
;
18548 swig_obj
[0] = args
;
18549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18550 if (!SWIG_IsOK(res1
)) {
18551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18553 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_Py_Void();
18568 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
= 0;
18570 wxFontData
*arg1
= (wxFontData
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 char * kwnames
[] = {
18579 (char *) "self",(char *) "enable", NULL
18582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18584 if (!SWIG_IsOK(res1
)) {
18585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18587 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18588 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18589 if (!SWIG_IsOK(ecode2
)) {
18590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18592 arg2
= static_cast< bool >(val2
);
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 (arg1
)->EnableEffects(arg2
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_Py_Void();
18606 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18607 PyObject
*resultobj
= 0;
18608 wxFontData
*arg1
= (wxFontData
*) 0 ;
18612 PyObject
*swig_obj
[1] ;
18614 if (!args
) SWIG_fail
;
18615 swig_obj
[0] = args
;
18616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18617 if (!SWIG_IsOK(res1
)) {
18618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18620 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= (bool)(arg1
)->GetAllowSymbols();
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18636 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18637 PyObject
*resultobj
= 0;
18638 wxFontData
*arg1
= (wxFontData
*) 0 ;
18642 PyObject
*swig_obj
[1] ;
18644 if (!args
) SWIG_fail
;
18645 swig_obj
[0] = args
;
18646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18647 if (!SWIG_IsOK(res1
)) {
18648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18650 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18653 result
= (arg1
)->GetColour();
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18664 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18665 PyObject
*resultobj
= 0;
18666 wxFontData
*arg1
= (wxFontData
*) 0 ;
18670 PyObject
*swig_obj
[1] ;
18672 if (!args
) SWIG_fail
;
18673 swig_obj
[0] = args
;
18674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18675 if (!SWIG_IsOK(res1
)) {
18676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18678 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 result
= (arg1
)->GetChosenFont();
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18692 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18693 PyObject
*resultobj
= 0;
18694 wxFontData
*arg1
= (wxFontData
*) 0 ;
18698 PyObject
*swig_obj
[1] ;
18700 if (!args
) SWIG_fail
;
18701 swig_obj
[0] = args
;
18702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18703 if (!SWIG_IsOK(res1
)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18706 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (bool)(arg1
)->GetEnableEffects();
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18722 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18723 PyObject
*resultobj
= 0;
18724 wxFontData
*arg1
= (wxFontData
*) 0 ;
18728 PyObject
*swig_obj
[1] ;
18730 if (!args
) SWIG_fail
;
18731 swig_obj
[0] = args
;
18732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18733 if (!SWIG_IsOK(res1
)) {
18734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18736 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 result
= (arg1
)->GetInitialFont();
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18750 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18751 PyObject
*resultobj
= 0;
18752 wxFontData
*arg1
= (wxFontData
*) 0 ;
18756 PyObject
*swig_obj
[1] ;
18758 if (!args
) SWIG_fail
;
18759 swig_obj
[0] = args
;
18760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18761 if (!SWIG_IsOK(res1
)) {
18762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18764 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 result
= (bool)(arg1
)->GetShowHelp();
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18780 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
= 0;
18782 wxFontData
*arg1
= (wxFontData
*) 0 ;
18788 PyObject
* obj0
= 0 ;
18789 PyObject
* obj1
= 0 ;
18790 char * kwnames
[] = {
18791 (char *) "self",(char *) "allowSymbols", NULL
18794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18796 if (!SWIG_IsOK(res1
)) {
18797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18799 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18800 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18801 if (!SWIG_IsOK(ecode2
)) {
18802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18804 arg2
= static_cast< bool >(val2
);
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 (arg1
)->SetAllowSymbols(arg2
);
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18811 resultobj
= SWIG_Py_Void();
18818 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
= 0;
18820 wxFontData
*arg1
= (wxFontData
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 PyObject
* obj1
= 0 ;
18828 char * kwnames
[] = {
18829 (char *) "self",(char *) "font", NULL
18832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18834 if (!SWIG_IsOK(res1
)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18837 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18838 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18839 if (!SWIG_IsOK(res2
)) {
18840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18845 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= SWIG_Py_Void();
18859 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
= 0;
18861 wxFontData
*arg1
= (wxFontData
*) 0 ;
18862 wxColour
*arg2
= 0 ;
18866 PyObject
* obj0
= 0 ;
18867 PyObject
* obj1
= 0 ;
18868 char * kwnames
[] = {
18869 (char *) "self",(char *) "colour", NULL
18872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18874 if (!SWIG_IsOK(res1
)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18877 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18880 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 (arg1
)->SetColour((wxColour
const &)*arg2
);
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= SWIG_Py_Void();
18895 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
= 0;
18897 wxFontData
*arg1
= (wxFontData
*) 0 ;
18903 PyObject
* obj0
= 0 ;
18904 PyObject
* obj1
= 0 ;
18905 char * kwnames
[] = {
18906 (char *) "self",(char *) "font", NULL
18909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18911 if (!SWIG_IsOK(res1
)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18914 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18915 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18916 if (!SWIG_IsOK(res2
)) {
18917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18922 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= SWIG_Py_Void();
18936 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
= 0;
18938 wxFontData
*arg1
= (wxFontData
*) 0 ;
18947 PyObject
* obj0
= 0 ;
18948 PyObject
* obj1
= 0 ;
18949 PyObject
* obj2
= 0 ;
18950 char * kwnames
[] = {
18951 (char *) "self",(char *) "min",(char *) "max", NULL
18954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18956 if (!SWIG_IsOK(res1
)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18959 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18961 if (!SWIG_IsOK(ecode2
)) {
18962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18964 arg2
= static_cast< int >(val2
);
18965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18966 if (!SWIG_IsOK(ecode3
)) {
18967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18969 arg3
= static_cast< int >(val3
);
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 (arg1
)->SetRange(arg2
,arg3
);
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 resultobj
= SWIG_Py_Void();
18983 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
= 0;
18985 wxFontData
*arg1
= (wxFontData
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 PyObject
* obj1
= 0 ;
18993 char * kwnames
[] = {
18994 (char *) "self",(char *) "showHelp", NULL
18997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18999 if (!SWIG_IsOK(res1
)) {
19000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19002 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19003 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19004 if (!SWIG_IsOK(ecode2
)) {
19005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19007 arg2
= static_cast< bool >(val2
);
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 (arg1
)->SetShowHelp(arg2
);
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= SWIG_Py_Void();
19021 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19024 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19025 return SWIG_Py_Void();
19028 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19029 return SWIG_Python_InitShadowInstance(args
);
19032 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
= 0;
19034 wxWindow
*arg1
= (wxWindow
*) 0 ;
19035 wxFontData
*arg2
= 0 ;
19036 wxFontDialog
*result
= 0 ;
19041 PyObject
* obj0
= 0 ;
19042 PyObject
* obj1
= 0 ;
19043 char * kwnames
[] = {
19044 (char *) "parent",(char *) "data", NULL
19047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19049 if (!SWIG_IsOK(res1
)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19052 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19053 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19054 if (!SWIG_IsOK(res2
)) {
19055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19060 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19062 if (!wxPyCheckForApp()) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19075 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19076 PyObject
*resultobj
= 0;
19077 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19078 wxFontData
*result
= 0 ;
19081 PyObject
*swig_obj
[1] ;
19083 if (!args
) SWIG_fail
;
19084 swig_obj
[0] = args
;
19085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19086 if (!SWIG_IsOK(res1
)) {
19087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19089 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19094 result
= (wxFontData
*) &_result_ref
;
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19106 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19109 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19110 return SWIG_Py_Void();
19113 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19114 return SWIG_Python_InitShadowInstance(args
);
19117 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
= 0;
19119 wxWindow
*arg1
= (wxWindow
*) NULL
;
19120 wxFont
const &arg2_defvalue
= wxNullFont
;
19121 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19122 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19123 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19129 bool temp3
= false ;
19130 PyObject
* obj0
= 0 ;
19131 PyObject
* obj1
= 0 ;
19132 PyObject
* obj2
= 0 ;
19133 char * kwnames
[] = {
19134 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19140 if (!SWIG_IsOK(res1
)) {
19141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19143 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19147 if (!SWIG_IsOK(res2
)) {
19148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19153 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19157 arg3
= wxString_in_helper(obj2
);
19158 if (arg3
== NULL
) SWIG_fail
;
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19183 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
= 0;
19185 wxWindow
*arg1
= (wxWindow
*) 0 ;
19186 wxString
*arg2
= 0 ;
19187 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19188 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19189 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19190 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19191 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19192 wxMessageDialog
*result
= 0 ;
19195 bool temp2
= false ;
19196 bool temp3
= false ;
19200 PyObject
* obj0
= 0 ;
19201 PyObject
* obj1
= 0 ;
19202 PyObject
* obj2
= 0 ;
19203 PyObject
* obj3
= 0 ;
19204 PyObject
* obj4
= 0 ;
19205 char * kwnames
[] = {
19206 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19211 if (!SWIG_IsOK(res1
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19214 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19216 arg2
= wxString_in_helper(obj1
);
19217 if (arg2
== NULL
) SWIG_fail
;
19222 arg3
= wxString_in_helper(obj2
);
19223 if (arg3
== NULL
) SWIG_fail
;
19228 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19229 if (!SWIG_IsOK(ecode4
)) {
19230 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19232 arg4
= static_cast< long >(val4
);
19237 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19241 if (!wxPyCheckForApp()) SWIG_fail
;
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19270 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19273 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19274 return SWIG_Py_Void();
19277 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19278 return SWIG_Python_InitShadowInstance(args
);
19281 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
= 0;
19283 wxString
*arg1
= 0 ;
19284 wxString
*arg2
= 0 ;
19285 int arg3
= (int) 100 ;
19286 wxWindow
*arg4
= (wxWindow
*) NULL
;
19287 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19288 wxProgressDialog
*result
= 0 ;
19289 bool temp1
= false ;
19290 bool temp2
= false ;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 PyObject
* obj2
= 0 ;
19300 PyObject
* obj3
= 0 ;
19301 PyObject
* obj4
= 0 ;
19302 char * kwnames
[] = {
19303 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19308 arg1
= wxString_in_helper(obj0
);
19309 if (arg1
== NULL
) SWIG_fail
;
19313 arg2
= wxString_in_helper(obj1
);
19314 if (arg2
== NULL
) SWIG_fail
;
19318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19319 if (!SWIG_IsOK(ecode3
)) {
19320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19322 arg3
= static_cast< int >(val3
);
19325 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19326 if (!SWIG_IsOK(res4
)) {
19327 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19329 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19332 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19333 if (!SWIG_IsOK(ecode5
)) {
19334 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19336 arg5
= static_cast< int >(val5
);
19339 if (!wxPyCheckForApp()) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19368 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
= 0;
19370 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19372 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19373 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19374 bool *arg4
= (bool *) 0 ;
19380 bool temp3
= false ;
19382 int res4
= SWIG_TMPOBJ
;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 PyObject
* obj2
= 0 ;
19386 char * kwnames
[] = {
19387 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19393 if (!SWIG_IsOK(res1
)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19396 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19398 if (!SWIG_IsOK(ecode2
)) {
19399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19401 arg2
= static_cast< int >(val2
);
19404 arg3
= wxString_in_helper(obj2
);
19405 if (arg3
== NULL
) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19418 if (SWIG_IsTmpObj(res4
)) {
19419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19421 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19438 SWIGINTERN PyObject
*_wrap_ProgressDialog_UpdatePulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
= 0;
19440 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19441 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19442 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19443 bool *arg3
= (bool *) 0 ;
19447 bool temp2
= false ;
19449 int res3
= SWIG_TMPOBJ
;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 char * kwnames
[] = {
19453 (char *) "self",(char *) "newmsg", NULL
19457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_UpdatePulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19459 if (!SWIG_IsOK(res1
)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_UpdatePulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19462 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19465 arg2
= wxString_in_helper(obj1
);
19466 if (arg2
== NULL
) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 result
= (bool)(arg1
)->UpdatePulse((wxString
const &)*arg2
,arg3
);
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19479 if (SWIG_IsTmpObj(res3
)) {
19480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19482 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19499 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19500 PyObject
*resultobj
= 0;
19501 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19504 PyObject
*swig_obj
[1] ;
19506 if (!args
) SWIG_fail
;
19507 swig_obj
[0] = args
;
19508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19509 if (!SWIG_IsOK(res1
)) {
19510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19512 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19519 resultobj
= SWIG_Py_Void();
19526 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19528 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19529 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19530 return SWIG_Py_Void();
19533 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19534 return SWIG_Python_InitShadowInstance(args
);
19537 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
= 0;
19539 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19540 int arg2
= (int) 0 ;
19541 wxFindDialogEvent
*result
= 0 ;
19546 PyObject
* obj0
= 0 ;
19547 PyObject
* obj1
= 0 ;
19548 char * kwnames
[] = {
19549 (char *) "commandType",(char *) "id", NULL
19552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19554 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19555 if (!SWIG_IsOK(ecode1
)) {
19556 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19558 arg1
= static_cast< wxEventType
>(val1
);
19561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19562 if (!SWIG_IsOK(ecode2
)) {
19563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19565 arg2
= static_cast< int >(val2
);
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19580 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19581 PyObject
*resultobj
= 0;
19582 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19586 PyObject
*swig_obj
[1] ;
19588 if (!args
) SWIG_fail
;
19589 swig_obj
[0] = args
;
19590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19591 if (!SWIG_IsOK(res1
)) {
19592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19594 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 result
= (int)(arg1
)->GetFlags();
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_From_int(static_cast< int >(result
));
19608 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19609 PyObject
*resultobj
= 0;
19610 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19611 wxString
*result
= 0 ;
19614 PyObject
*swig_obj
[1] ;
19616 if (!args
) SWIG_fail
;
19617 swig_obj
[0] = args
;
19618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19619 if (!SWIG_IsOK(res1
)) {
19620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19622 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 wxString
const &_result_ref
= (arg1
)->GetFindString();
19627 result
= (wxString
*) &_result_ref
;
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19636 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19645 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19646 PyObject
*resultobj
= 0;
19647 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19648 wxString
*result
= 0 ;
19651 PyObject
*swig_obj
[1] ;
19653 if (!args
) SWIG_fail
;
19654 swig_obj
[0] = args
;
19655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19656 if (!SWIG_IsOK(res1
)) {
19657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19659 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19664 result
= (wxString
*) &_result_ref
;
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19673 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19682 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19683 PyObject
*resultobj
= 0;
19684 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19685 wxFindReplaceDialog
*result
= 0 ;
19688 PyObject
*swig_obj
[1] ;
19690 if (!args
) SWIG_fail
;
19691 swig_obj
[0] = args
;
19692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19693 if (!SWIG_IsOK(res1
)) {
19694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19696 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19710 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
= 0;
19712 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 char * kwnames
[] = {
19721 (char *) "self",(char *) "flags", NULL
19724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19726 if (!SWIG_IsOK(res1
)) {
19727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19729 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19731 if (!SWIG_IsOK(ecode2
)) {
19732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19734 arg2
= static_cast< int >(val2
);
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 (arg1
)->SetFlags(arg2
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_Py_Void();
19748 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
= 0;
19750 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19751 wxString
*arg2
= 0 ;
19754 bool temp2
= false ;
19755 PyObject
* obj0
= 0 ;
19756 PyObject
* obj1
= 0 ;
19757 char * kwnames
[] = {
19758 (char *) "self",(char *) "str", NULL
19761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19763 if (!SWIG_IsOK(res1
)) {
19764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19766 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19768 arg2
= wxString_in_helper(obj1
);
19769 if (arg2
== NULL
) SWIG_fail
;
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 (arg1
)->SetFindString((wxString
const &)*arg2
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= SWIG_Py_Void();
19793 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
= 0;
19795 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19796 wxString
*arg2
= 0 ;
19799 bool temp2
= false ;
19800 PyObject
* obj0
= 0 ;
19801 PyObject
* obj1
= 0 ;
19802 char * kwnames
[] = {
19803 (char *) "self",(char *) "str", NULL
19806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19808 if (!SWIG_IsOK(res1
)) {
19809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19811 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19813 arg2
= wxString_in_helper(obj1
);
19814 if (arg2
== NULL
) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= SWIG_Py_Void();
19838 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19841 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19842 return SWIG_Py_Void();
19845 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19846 return SWIG_Python_InitShadowInstance(args
);
19849 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
= 0;
19851 int arg1
= (int) 0 ;
19852 wxFindReplaceData
*result
= 0 ;
19855 PyObject
* obj0
= 0 ;
19856 char * kwnames
[] = {
19857 (char *) "flags", NULL
19860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19862 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19863 if (!SWIG_IsOK(ecode1
)) {
19864 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19866 arg1
= static_cast< int >(val1
);
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19881 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19882 PyObject
*resultobj
= 0;
19883 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19886 PyObject
*swig_obj
[1] ;
19888 if (!args
) SWIG_fail
;
19889 swig_obj
[0] = args
;
19890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19891 if (!SWIG_IsOK(res1
)) {
19892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19894 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= SWIG_Py_Void();
19909 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19910 PyObject
*resultobj
= 0;
19911 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19912 wxString
*result
= 0 ;
19915 PyObject
*swig_obj
[1] ;
19917 if (!args
) SWIG_fail
;
19918 swig_obj
[0] = args
;
19919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19920 if (!SWIG_IsOK(res1
)) {
19921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19923 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 wxString
const &_result_ref
= (arg1
)->GetFindString();
19928 result
= (wxString
*) &_result_ref
;
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19937 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19946 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19947 PyObject
*resultobj
= 0;
19948 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19949 wxString
*result
= 0 ;
19952 PyObject
*swig_obj
[1] ;
19954 if (!args
) SWIG_fail
;
19955 swig_obj
[0] = args
;
19956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19957 if (!SWIG_IsOK(res1
)) {
19958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19960 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19965 result
= (wxString
*) &_result_ref
;
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19972 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19974 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19983 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19984 PyObject
*resultobj
= 0;
19985 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19989 PyObject
*swig_obj
[1] ;
19991 if (!args
) SWIG_fail
;
19992 swig_obj
[0] = args
;
19993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19994 if (!SWIG_IsOK(res1
)) {
19995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19997 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 result
= (int)(arg1
)->GetFlags();
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 resultobj
= SWIG_From_int(static_cast< int >(result
));
20011 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20012 PyObject
*resultobj
= 0;
20013 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20019 PyObject
* obj0
= 0 ;
20020 PyObject
* obj1
= 0 ;
20021 char * kwnames
[] = {
20022 (char *) "self",(char *) "flags", NULL
20025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20027 if (!SWIG_IsOK(res1
)) {
20028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20030 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20032 if (!SWIG_IsOK(ecode2
)) {
20033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20035 arg2
= static_cast< int >(val2
);
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 (arg1
)->SetFlags(arg2
);
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= SWIG_Py_Void();
20049 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
= 0;
20051 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20052 wxString
*arg2
= 0 ;
20055 bool temp2
= false ;
20056 PyObject
* obj0
= 0 ;
20057 PyObject
* obj1
= 0 ;
20058 char * kwnames
[] = {
20059 (char *) "self",(char *) "str", NULL
20062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20064 if (!SWIG_IsOK(res1
)) {
20065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20067 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20069 arg2
= wxString_in_helper(obj1
);
20070 if (arg2
== NULL
) SWIG_fail
;
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20075 (arg1
)->SetFindString((wxString
const &)*arg2
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= SWIG_Py_Void();
20094 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
= 0;
20096 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20097 wxString
*arg2
= 0 ;
20100 bool temp2
= false ;
20101 PyObject
* obj0
= 0 ;
20102 PyObject
* obj1
= 0 ;
20103 char * kwnames
[] = {
20104 (char *) "self",(char *) "str", NULL
20107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20109 if (!SWIG_IsOK(res1
)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20112 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20114 arg2
= wxString_in_helper(obj1
);
20115 if (arg2
== NULL
) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= SWIG_Py_Void();
20139 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20142 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20143 return SWIG_Py_Void();
20146 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20147 return SWIG_Python_InitShadowInstance(args
);
20150 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
= 0;
20152 wxWindow
*arg1
= (wxWindow
*) 0 ;
20153 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20154 wxString
*arg3
= 0 ;
20155 int arg4
= (int) 0 ;
20156 wxFindReplaceDialog
*result
= 0 ;
20161 bool temp3
= false ;
20164 PyObject
* obj0
= 0 ;
20165 PyObject
* obj1
= 0 ;
20166 PyObject
* obj2
= 0 ;
20167 PyObject
* obj3
= 0 ;
20168 char * kwnames
[] = {
20169 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20174 if (!SWIG_IsOK(res1
)) {
20175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20177 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20179 if (!SWIG_IsOK(res2
)) {
20180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20182 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20184 arg3
= wxString_in_helper(obj2
);
20185 if (arg3
== NULL
) SWIG_fail
;
20189 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20190 if (!SWIG_IsOK(ecode4
)) {
20191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20193 arg4
= static_cast< int >(val4
);
20196 if (!wxPyCheckForApp()) SWIG_fail
;
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20217 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20218 PyObject
*resultobj
= 0;
20219 wxFindReplaceDialog
*result
= 0 ;
20221 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20223 if (!wxPyCheckForApp()) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20236 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
= 0;
20238 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20239 wxWindow
*arg2
= (wxWindow
*) 0 ;
20240 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20241 wxString
*arg4
= 0 ;
20242 int arg5
= (int) 0 ;
20250 bool temp4
= false ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 PyObject
* obj2
= 0 ;
20256 PyObject
* obj3
= 0 ;
20257 PyObject
* obj4
= 0 ;
20258 char * kwnames
[] = {
20259 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20264 if (!SWIG_IsOK(res1
)) {
20265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20267 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20269 if (!SWIG_IsOK(res2
)) {
20270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20272 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20273 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20274 if (!SWIG_IsOK(res3
)) {
20275 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20277 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20279 arg4
= wxString_in_helper(obj3
);
20280 if (arg4
== NULL
) SWIG_fail
;
20284 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20285 if (!SWIG_IsOK(ecode5
)) {
20286 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20288 arg5
= static_cast< int >(val5
);
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20313 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20314 PyObject
*resultobj
= 0;
20315 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20316 wxFindReplaceData
*result
= 0 ;
20319 PyObject
*swig_obj
[1] ;
20321 if (!args
) SWIG_fail
;
20322 swig_obj
[0] = args
;
20323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20324 if (!SWIG_IsOK(res1
)) {
20325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20327 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20341 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
= 0;
20343 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20344 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20349 PyObject
* obj0
= 0 ;
20350 PyObject
* obj1
= 0 ;
20351 char * kwnames
[] = {
20352 (char *) "self",(char *) "data", NULL
20355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20357 if (!SWIG_IsOK(res1
)) {
20358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20360 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20361 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20362 if (!SWIG_IsOK(res2
)) {
20363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20365 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 (arg1
)->SetData(arg2
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= SWIG_Py_Void();
20379 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20382 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20383 return SWIG_Py_Void();
20386 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20387 return SWIG_Python_InitShadowInstance(args
);
20390 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
= 0;
20392 wxWindow
*arg1
= (wxWindow
*) 0 ;
20393 int arg2
= (int) (int)-1 ;
20394 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20395 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20396 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20397 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20398 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20399 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20400 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20401 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20402 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20403 wxMDIParentFrame
*result
= 0 ;
20408 bool temp3
= false ;
20413 bool temp7
= false ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 PyObject
* obj2
= 0 ;
20417 PyObject
* obj3
= 0 ;
20418 PyObject
* obj4
= 0 ;
20419 PyObject
* obj5
= 0 ;
20420 PyObject
* obj6
= 0 ;
20421 char * kwnames
[] = {
20422 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20427 if (!SWIG_IsOK(res1
)) {
20428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20430 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20433 if (!SWIG_IsOK(ecode2
)) {
20434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20436 arg2
= static_cast< int >(val2
);
20440 arg3
= wxString_in_helper(obj2
);
20441 if (arg3
== NULL
) SWIG_fail
;
20448 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20454 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20458 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20459 if (!SWIG_IsOK(ecode6
)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20462 arg6
= static_cast< long >(val6
);
20466 arg7
= wxString_in_helper(obj6
);
20467 if (arg7
== NULL
) SWIG_fail
;
20472 if (!wxPyCheckForApp()) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20501 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20502 PyObject
*resultobj
= 0;
20503 wxMDIParentFrame
*result
= 0 ;
20505 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20507 if (!wxPyCheckForApp()) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20520 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
= 0;
20522 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20523 wxWindow
*arg2
= (wxWindow
*) 0 ;
20524 int arg3
= (int) (int)-1 ;
20525 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20526 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20527 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20528 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20529 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20530 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20531 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20532 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20541 bool temp4
= false ;
20546 bool temp8
= false ;
20547 PyObject
* obj0
= 0 ;
20548 PyObject
* obj1
= 0 ;
20549 PyObject
* obj2
= 0 ;
20550 PyObject
* obj3
= 0 ;
20551 PyObject
* obj4
= 0 ;
20552 PyObject
* obj5
= 0 ;
20553 PyObject
* obj6
= 0 ;
20554 PyObject
* obj7
= 0 ;
20555 char * kwnames
[] = {
20556 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20561 if (!SWIG_IsOK(res1
)) {
20562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20564 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20566 if (!SWIG_IsOK(res2
)) {
20567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20569 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20572 if (!SWIG_IsOK(ecode3
)) {
20573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20575 arg3
= static_cast< int >(val3
);
20579 arg4
= wxString_in_helper(obj3
);
20580 if (arg4
== NULL
) SWIG_fail
;
20587 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20593 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20597 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20598 if (!SWIG_IsOK(ecode7
)) {
20599 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20601 arg7
= static_cast< long >(val7
);
20605 arg8
= wxString_in_helper(obj7
);
20606 if (arg8
== NULL
) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20641 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20642 PyObject
*resultobj
= 0;
20643 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20646 PyObject
*swig_obj
[1] ;
20648 if (!args
) SWIG_fail
;
20649 swig_obj
[0] = args
;
20650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20651 if (!SWIG_IsOK(res1
)) {
20652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20654 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 (arg1
)->ActivateNext();
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= SWIG_Py_Void();
20668 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20669 PyObject
*resultobj
= 0;
20670 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20673 PyObject
*swig_obj
[1] ;
20675 if (!args
) SWIG_fail
;
20676 swig_obj
[0] = args
;
20677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20678 if (!SWIG_IsOK(res1
)) {
20679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20681 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 (arg1
)->ActivatePrevious();
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= SWIG_Py_Void();
20695 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20696 PyObject
*resultobj
= 0;
20697 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20700 PyObject
*swig_obj
[1] ;
20702 if (!args
) SWIG_fail
;
20703 swig_obj
[0] = args
;
20704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20705 if (!SWIG_IsOK(res1
)) {
20706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20708 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 (arg1
)->ArrangeIcons();
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= SWIG_Py_Void();
20722 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20723 PyObject
*resultobj
= 0;
20724 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20727 PyObject
*swig_obj
[1] ;
20729 if (!args
) SWIG_fail
;
20730 swig_obj
[0] = args
;
20731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20732 if (!SWIG_IsOK(res1
)) {
20733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20735 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20742 resultobj
= SWIG_Py_Void();
20749 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20750 PyObject
*resultobj
= 0;
20751 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20752 wxMDIChildFrame
*result
= 0 ;
20755 PyObject
*swig_obj
[1] ;
20757 if (!args
) SWIG_fail
;
20758 swig_obj
[0] = args
;
20759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20760 if (!SWIG_IsOK(res1
)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20763 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20779 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20780 PyObject
*resultobj
= 0;
20781 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20782 wxMDIClientWindow
*result
= 0 ;
20785 PyObject
*swig_obj
[1] ;
20787 if (!args
) SWIG_fail
;
20788 swig_obj
[0] = args
;
20789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20790 if (!SWIG_IsOK(res1
)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20793 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20801 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20809 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20810 PyObject
*resultobj
= 0;
20811 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20812 wxWindow
*result
= 0 ;
20815 PyObject
*swig_obj
[1] ;
20817 if (!args
) SWIG_fail
;
20818 swig_obj
[0] = args
;
20819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20820 if (!SWIG_IsOK(res1
)) {
20821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20823 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (wxWindow
*)(arg1
)->GetToolBar();
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= wxPyMake_wxObject(result
, 0);
20839 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
= 0;
20841 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20842 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20849 char * kwnames
[] = {
20850 (char *) "self",(char *) "orient", NULL
20853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20855 if (!SWIG_IsOK(res1
)) {
20856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20858 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20861 if (!SWIG_IsOK(ecode2
)) {
20862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20864 arg2
= static_cast< wxOrientation
>(val2
);
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 (arg1
)->Tile(arg2
);
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 resultobj
= SWIG_Py_Void();
20879 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20881 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20882 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20883 return SWIG_Py_Void();
20886 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20887 return SWIG_Python_InitShadowInstance(args
);
20890 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20891 PyObject
*resultobj
= 0;
20892 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20893 int arg2
= (int) (int)-1 ;
20894 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20895 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20896 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20897 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20898 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20899 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20900 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20901 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20902 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20903 wxMDIChildFrame
*result
= 0 ;
20908 bool temp3
= false ;
20913 bool temp7
= false ;
20914 PyObject
* obj0
= 0 ;
20915 PyObject
* obj1
= 0 ;
20916 PyObject
* obj2
= 0 ;
20917 PyObject
* obj3
= 0 ;
20918 PyObject
* obj4
= 0 ;
20919 PyObject
* obj5
= 0 ;
20920 PyObject
* obj6
= 0 ;
20921 char * kwnames
[] = {
20922 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20927 if (!SWIG_IsOK(res1
)) {
20928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20930 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20933 if (!SWIG_IsOK(ecode2
)) {
20934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20936 arg2
= static_cast< int >(val2
);
20940 arg3
= wxString_in_helper(obj2
);
20941 if (arg3
== NULL
) SWIG_fail
;
20948 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20954 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20958 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20959 if (!SWIG_IsOK(ecode6
)) {
20960 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20962 arg6
= static_cast< long >(val6
);
20966 arg7
= wxString_in_helper(obj6
);
20967 if (arg7
== NULL
) SWIG_fail
;
20972 if (!wxPyCheckForApp()) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21001 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21002 PyObject
*resultobj
= 0;
21003 wxMDIChildFrame
*result
= 0 ;
21005 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21007 if (!wxPyCheckForApp()) SWIG_fail
;
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21020 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
= 0;
21022 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21023 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21024 int arg3
= (int) (int)-1 ;
21025 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21026 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21027 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21028 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21029 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21030 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21031 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21032 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21033 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21041 bool temp4
= false ;
21046 bool temp8
= false ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 PyObject
* obj2
= 0 ;
21050 PyObject
* obj3
= 0 ;
21051 PyObject
* obj4
= 0 ;
21052 PyObject
* obj5
= 0 ;
21053 PyObject
* obj6
= 0 ;
21054 PyObject
* obj7
= 0 ;
21055 char * kwnames
[] = {
21056 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21061 if (!SWIG_IsOK(res1
)) {
21062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21064 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21065 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21066 if (!SWIG_IsOK(res2
)) {
21067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21069 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21072 if (!SWIG_IsOK(ecode3
)) {
21073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21075 arg3
= static_cast< int >(val3
);
21079 arg4
= wxString_in_helper(obj3
);
21080 if (arg4
== NULL
) SWIG_fail
;
21087 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21093 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21097 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21098 if (!SWIG_IsOK(ecode7
)) {
21099 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21101 arg7
= static_cast< long >(val7
);
21105 arg8
= wxString_in_helper(obj7
);
21106 if (arg8
== NULL
) SWIG_fail
;
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21113 wxPyEndAllowThreads(__tstate
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21141 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21142 PyObject
*resultobj
= 0;
21143 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21146 PyObject
*swig_obj
[1] ;
21148 if (!args
) SWIG_fail
;
21149 swig_obj
[0] = args
;
21150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21151 if (!SWIG_IsOK(res1
)) {
21152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21154 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21157 (arg1
)->Activate();
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21161 resultobj
= SWIG_Py_Void();
21168 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21171 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21172 return SWIG_Py_Void();
21175 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21176 return SWIG_Python_InitShadowInstance(args
);
21179 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
= 0;
21181 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21182 long arg2
= (long) 0 ;
21183 wxMDIClientWindow
*result
= 0 ;
21188 PyObject
* obj0
= 0 ;
21189 PyObject
* obj1
= 0 ;
21190 char * kwnames
[] = {
21191 (char *) "parent",(char *) "style", NULL
21194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21196 if (!SWIG_IsOK(res1
)) {
21197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21199 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21201 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21202 if (!SWIG_IsOK(ecode2
)) {
21203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21205 arg2
= static_cast< long >(val2
);
21208 if (!wxPyCheckForApp()) SWIG_fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21221 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21222 PyObject
*resultobj
= 0;
21223 wxMDIClientWindow
*result
= 0 ;
21225 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21227 if (!wxPyCheckForApp()) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21240 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
= 0;
21242 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21243 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21244 long arg3
= (long) 0 ;
21252 PyObject
* obj0
= 0 ;
21253 PyObject
* obj1
= 0 ;
21254 PyObject
* obj2
= 0 ;
21255 char * kwnames
[] = {
21256 (char *) "self",(char *) "parent",(char *) "style", NULL
21259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21261 if (!SWIG_IsOK(res1
)) {
21262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21264 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21266 if (!SWIG_IsOK(res2
)) {
21267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21269 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21271 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21272 if (!SWIG_IsOK(ecode3
)) {
21273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21275 arg3
= static_cast< long >(val3
);
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21292 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21295 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21296 return SWIG_Py_Void();
21299 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21300 return SWIG_Python_InitShadowInstance(args
);
21303 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
= 0;
21305 wxWindow
*arg1
= (wxWindow
*) 0 ;
21306 int arg2
= (int) (int)-1 ;
21307 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21308 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21309 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21310 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21311 long arg5
= (long) 0 ;
21312 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21313 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21314 wxPyWindow
*result
= 0 ;
21323 bool temp6
= false ;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 PyObject
* obj2
= 0 ;
21327 PyObject
* obj3
= 0 ;
21328 PyObject
* obj4
= 0 ;
21329 PyObject
* obj5
= 0 ;
21330 char * kwnames
[] = {
21331 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21336 if (!SWIG_IsOK(res1
)) {
21337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21339 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21342 if (!SWIG_IsOK(ecode2
)) {
21343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21345 arg2
= static_cast< int >(val2
);
21350 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21356 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21360 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21361 if (!SWIG_IsOK(ecode5
)) {
21362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21364 arg5
= static_cast< long >(val5
);
21368 arg6
= wxString_in_helper(obj5
);
21369 if (arg6
== NULL
) SWIG_fail
;
21374 if (!wxPyCheckForApp()) SWIG_fail
;
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21395 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21396 PyObject
*resultobj
= 0;
21397 wxPyWindow
*result
= 0 ;
21399 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21401 if (!wxPyCheckForApp()) SWIG_fail
;
21402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21403 result
= (wxPyWindow
*)new wxPyWindow();
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21414 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
= 0;
21416 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21417 PyObject
*arg2
= (PyObject
*) 0 ;
21418 PyObject
*arg3
= (PyObject
*) 0 ;
21421 PyObject
* obj0
= 0 ;
21422 PyObject
* obj1
= 0 ;
21423 PyObject
* obj2
= 0 ;
21424 char * kwnames
[] = {
21425 (char *) "self",(char *) "self",(char *) "_class", NULL
21428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21430 if (!SWIG_IsOK(res1
)) {
21431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21433 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21442 resultobj
= SWIG_Py_Void();
21449 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21450 PyObject
*resultobj
= 0;
21451 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 PyObject
* obj1
= 0 ;
21458 char * kwnames
[] = {
21459 (char *) "self",(char *) "size", NULL
21462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21464 if (!SWIG_IsOK(res1
)) {
21465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21467 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21470 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21474 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 resultobj
= SWIG_Py_Void();
21485 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
= 0;
21487 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21488 wxDC
*arg2
= (wxDC
*) 0 ;
21494 PyObject
* obj0
= 0 ;
21495 PyObject
* obj1
= 0 ;
21496 char * kwnames
[] = {
21497 (char *) "self",(char *) "dc", NULL
21500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21502 if (!SWIG_IsOK(res1
)) {
21503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21505 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21506 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21507 if (!SWIG_IsOK(res2
)) {
21508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21510 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21526 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
= 0;
21528 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21543 PyObject
* obj0
= 0 ;
21544 PyObject
* obj1
= 0 ;
21545 PyObject
* obj2
= 0 ;
21546 PyObject
* obj3
= 0 ;
21547 PyObject
* obj4
= 0 ;
21548 char * kwnames
[] = {
21549 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21554 if (!SWIG_IsOK(res1
)) {
21555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21557 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21559 if (!SWIG_IsOK(ecode2
)) {
21560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21562 arg2
= static_cast< int >(val2
);
21563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21564 if (!SWIG_IsOK(ecode3
)) {
21565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21567 arg3
= static_cast< int >(val3
);
21568 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21569 if (!SWIG_IsOK(ecode4
)) {
21570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21572 arg4
= static_cast< int >(val4
);
21573 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21574 if (!SWIG_IsOK(ecode5
)) {
21575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21577 arg5
= static_cast< int >(val5
);
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21584 resultobj
= SWIG_Py_Void();
21591 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
= 0;
21593 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21598 int arg6
= (int) wxSIZE_AUTO
;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 PyObject
* obj2
= 0 ;
21614 PyObject
* obj3
= 0 ;
21615 PyObject
* obj4
= 0 ;
21616 PyObject
* obj5
= 0 ;
21617 char * kwnames
[] = {
21618 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21623 if (!SWIG_IsOK(res1
)) {
21624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21626 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21628 if (!SWIG_IsOK(ecode2
)) {
21629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21631 arg2
= static_cast< int >(val2
);
21632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21633 if (!SWIG_IsOK(ecode3
)) {
21634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21636 arg3
= static_cast< int >(val3
);
21637 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21638 if (!SWIG_IsOK(ecode4
)) {
21639 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21641 arg4
= static_cast< int >(val4
);
21642 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21643 if (!SWIG_IsOK(ecode5
)) {
21644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21646 arg5
= static_cast< int >(val5
);
21648 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21649 if (!SWIG_IsOK(ecode6
)) {
21650 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21652 arg6
= static_cast< int >(val6
);
21655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21656 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= SWIG_Py_Void();
21667 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21668 PyObject
*resultobj
= 0;
21669 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21678 PyObject
* obj0
= 0 ;
21679 PyObject
* obj1
= 0 ;
21680 PyObject
* obj2
= 0 ;
21681 char * kwnames
[] = {
21682 (char *) "self",(char *) "width",(char *) "height", NULL
21685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21687 if (!SWIG_IsOK(res1
)) {
21688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21690 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21692 if (!SWIG_IsOK(ecode2
)) {
21693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21695 arg2
= static_cast< int >(val2
);
21696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21697 if (!SWIG_IsOK(ecode3
)) {
21698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21700 arg3
= static_cast< int >(val3
);
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 (arg1
)->DoSetClientSize(arg2
,arg3
);
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21707 resultobj
= SWIG_Py_Void();
21714 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
= 0;
21716 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21725 PyObject
* obj0
= 0 ;
21726 PyObject
* obj1
= 0 ;
21727 PyObject
* obj2
= 0 ;
21728 char * kwnames
[] = {
21729 (char *) "self",(char *) "x",(char *) "y", NULL
21732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21734 if (!SWIG_IsOK(res1
)) {
21735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21737 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21739 if (!SWIG_IsOK(ecode2
)) {
21740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21742 arg2
= static_cast< int >(val2
);
21743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21744 if (!SWIG_IsOK(ecode3
)) {
21745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21747 arg3
= static_cast< int >(val3
);
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= SWIG_Py_Void();
21761 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21762 PyObject
*resultobj
= 0;
21763 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21764 int *arg2
= (int *) 0 ;
21765 int *arg3
= (int *) 0 ;
21769 int res2
= SWIG_TMPOBJ
;
21771 int res3
= SWIG_TMPOBJ
;
21772 PyObject
*swig_obj
[1] ;
21776 if (!args
) SWIG_fail
;
21777 swig_obj
[0] = args
;
21778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21779 if (!SWIG_IsOK(res1
)) {
21780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21782 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 resultobj
= SWIG_Py_Void();
21790 if (SWIG_IsTmpObj(res2
)) {
21791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21793 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21796 if (SWIG_IsTmpObj(res3
)) {
21797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21799 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21800 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21808 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21809 PyObject
*resultobj
= 0;
21810 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21811 int *arg2
= (int *) 0 ;
21812 int *arg3
= (int *) 0 ;
21816 int res2
= SWIG_TMPOBJ
;
21818 int res3
= SWIG_TMPOBJ
;
21819 PyObject
*swig_obj
[1] ;
21823 if (!args
) SWIG_fail
;
21824 swig_obj
[0] = args
;
21825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21826 if (!SWIG_IsOK(res1
)) {
21827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21829 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 resultobj
= SWIG_Py_Void();
21837 if (SWIG_IsTmpObj(res2
)) {
21838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21840 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21843 if (SWIG_IsTmpObj(res3
)) {
21844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21846 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21855 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21856 PyObject
*resultobj
= 0;
21857 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21858 int *arg2
= (int *) 0 ;
21859 int *arg3
= (int *) 0 ;
21863 int res2
= SWIG_TMPOBJ
;
21865 int res3
= SWIG_TMPOBJ
;
21866 PyObject
*swig_obj
[1] ;
21870 if (!args
) SWIG_fail
;
21871 swig_obj
[0] = args
;
21872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21873 if (!SWIG_IsOK(res1
)) {
21874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21876 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 resultobj
= SWIG_Py_Void();
21884 if (SWIG_IsTmpObj(res2
)) {
21885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21887 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21890 if (SWIG_IsTmpObj(res3
)) {
21891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21893 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21902 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21903 PyObject
*resultobj
= 0;
21904 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21908 PyObject
*swig_obj
[1] ;
21910 if (!args
) SWIG_fail
;
21911 swig_obj
[0] = args
;
21912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21913 if (!SWIG_IsOK(res1
)) {
21914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21916 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21923 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21930 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21931 PyObject
*resultobj
= 0;
21932 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21936 PyObject
*swig_obj
[1] ;
21938 if (!args
) SWIG_fail
;
21939 swig_obj
[0] = args
;
21940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21941 if (!SWIG_IsOK(res1
)) {
21942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21944 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21958 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21959 PyObject
*resultobj
= 0;
21960 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21961 SwigValueWrapper
<wxVisualAttributes
> result
;
21964 PyObject
*swig_obj
[1] ;
21966 if (!args
) SWIG_fail
;
21967 swig_obj
[0] = args
;
21968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21969 if (!SWIG_IsOK(res1
)) {
21970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21972 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= (arg1
)->GetDefaultAttributes();
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21986 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21987 PyObject
*resultobj
= 0;
21988 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21991 PyObject
*swig_obj
[1] ;
21993 if (!args
) SWIG_fail
;
21994 swig_obj
[0] = args
;
21995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21996 if (!SWIG_IsOK(res1
)) {
21997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21999 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 (arg1
)->OnInternalIdle();
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 resultobj
= SWIG_Py_Void();
22013 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22016 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22017 return SWIG_Py_Void();
22020 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22021 return SWIG_Python_InitShadowInstance(args
);
22024 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
= 0;
22026 wxWindow
*arg1
= (wxWindow
*) 0 ;
22027 int arg2
= (int) (int)-1 ;
22028 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22029 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22030 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22031 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22032 long arg5
= (long) 0 ;
22033 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22034 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22035 wxPyPanel
*result
= 0 ;
22044 bool temp6
= false ;
22045 PyObject
* obj0
= 0 ;
22046 PyObject
* obj1
= 0 ;
22047 PyObject
* obj2
= 0 ;
22048 PyObject
* obj3
= 0 ;
22049 PyObject
* obj4
= 0 ;
22050 PyObject
* obj5
= 0 ;
22051 char * kwnames
[] = {
22052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22057 if (!SWIG_IsOK(res1
)) {
22058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22060 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22063 if (!SWIG_IsOK(ecode2
)) {
22064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22066 arg2
= static_cast< int >(val2
);
22071 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22077 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22081 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22082 if (!SWIG_IsOK(ecode5
)) {
22083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22085 arg5
= static_cast< long >(val5
);
22089 arg6
= wxString_in_helper(obj5
);
22090 if (arg6
== NULL
) SWIG_fail
;
22095 if (!wxPyCheckForApp()) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22116 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22117 PyObject
*resultobj
= 0;
22118 wxPyPanel
*result
= 0 ;
22120 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22122 if (!wxPyCheckForApp()) SWIG_fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (wxPyPanel
*)new wxPyPanel();
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22135 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
= 0;
22137 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22138 PyObject
*arg2
= (PyObject
*) 0 ;
22139 PyObject
*arg3
= (PyObject
*) 0 ;
22142 PyObject
* obj0
= 0 ;
22143 PyObject
* obj1
= 0 ;
22144 PyObject
* obj2
= 0 ;
22145 char * kwnames
[] = {
22146 (char *) "self",(char *) "self",(char *) "_class", NULL
22149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22151 if (!SWIG_IsOK(res1
)) {
22152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22154 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 resultobj
= SWIG_Py_Void();
22170 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
= 0;
22172 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 char * kwnames
[] = {
22180 (char *) "self",(char *) "size", NULL
22183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22185 if (!SWIG_IsOK(res1
)) {
22186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22188 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22191 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22196 wxPyEndAllowThreads(__tstate
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= SWIG_Py_Void();
22206 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
= 0;
22208 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22209 wxDC
*arg2
= (wxDC
*) 0 ;
22215 PyObject
* obj0
= 0 ;
22216 PyObject
* obj1
= 0 ;
22217 char * kwnames
[] = {
22218 (char *) "self",(char *) "dc", NULL
22221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22223 if (!SWIG_IsOK(res1
)) {
22224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22226 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22227 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22228 if (!SWIG_IsOK(res2
)) {
22229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22231 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22247 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22248 PyObject
*resultobj
= 0;
22249 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22264 PyObject
* obj0
= 0 ;
22265 PyObject
* obj1
= 0 ;
22266 PyObject
* obj2
= 0 ;
22267 PyObject
* obj3
= 0 ;
22268 PyObject
* obj4
= 0 ;
22269 char * kwnames
[] = {
22270 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22275 if (!SWIG_IsOK(res1
)) {
22276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22278 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22280 if (!SWIG_IsOK(ecode2
)) {
22281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22283 arg2
= static_cast< int >(val2
);
22284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22285 if (!SWIG_IsOK(ecode3
)) {
22286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22288 arg3
= static_cast< int >(val3
);
22289 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22290 if (!SWIG_IsOK(ecode4
)) {
22291 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22293 arg4
= static_cast< int >(val4
);
22294 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22295 if (!SWIG_IsOK(ecode5
)) {
22296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22298 arg5
= static_cast< int >(val5
);
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= SWIG_Py_Void();
22312 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
= 0;
22314 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22319 int arg6
= (int) wxSIZE_AUTO
;
22332 PyObject
* obj0
= 0 ;
22333 PyObject
* obj1
= 0 ;
22334 PyObject
* obj2
= 0 ;
22335 PyObject
* obj3
= 0 ;
22336 PyObject
* obj4
= 0 ;
22337 PyObject
* obj5
= 0 ;
22338 char * kwnames
[] = {
22339 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22344 if (!SWIG_IsOK(res1
)) {
22345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22347 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22349 if (!SWIG_IsOK(ecode2
)) {
22350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22352 arg2
= static_cast< int >(val2
);
22353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22354 if (!SWIG_IsOK(ecode3
)) {
22355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22357 arg3
= static_cast< int >(val3
);
22358 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22359 if (!SWIG_IsOK(ecode4
)) {
22360 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22362 arg4
= static_cast< int >(val4
);
22363 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22364 if (!SWIG_IsOK(ecode5
)) {
22365 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22367 arg5
= static_cast< int >(val5
);
22369 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22370 if (!SWIG_IsOK(ecode6
)) {
22371 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22373 arg6
= static_cast< int >(val6
);
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22381 resultobj
= SWIG_Py_Void();
22388 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22389 PyObject
*resultobj
= 0;
22390 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22399 PyObject
* obj0
= 0 ;
22400 PyObject
* obj1
= 0 ;
22401 PyObject
* obj2
= 0 ;
22402 char * kwnames
[] = {
22403 (char *) "self",(char *) "width",(char *) "height", NULL
22406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22408 if (!SWIG_IsOK(res1
)) {
22409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22411 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22413 if (!SWIG_IsOK(ecode2
)) {
22414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22416 arg2
= static_cast< int >(val2
);
22417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22418 if (!SWIG_IsOK(ecode3
)) {
22419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22421 arg3
= static_cast< int >(val3
);
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 (arg1
)->DoSetClientSize(arg2
,arg3
);
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 resultobj
= SWIG_Py_Void();
22435 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
= 0;
22437 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22446 PyObject
* obj0
= 0 ;
22447 PyObject
* obj1
= 0 ;
22448 PyObject
* obj2
= 0 ;
22449 char * kwnames
[] = {
22450 (char *) "self",(char *) "x",(char *) "y", NULL
22453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22455 if (!SWIG_IsOK(res1
)) {
22456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22458 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22460 if (!SWIG_IsOK(ecode2
)) {
22461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22463 arg2
= static_cast< int >(val2
);
22464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22465 if (!SWIG_IsOK(ecode3
)) {
22466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22468 arg3
= static_cast< int >(val3
);
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22475 resultobj
= SWIG_Py_Void();
22482 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22483 PyObject
*resultobj
= 0;
22484 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22485 int *arg2
= (int *) 0 ;
22486 int *arg3
= (int *) 0 ;
22490 int res2
= SWIG_TMPOBJ
;
22492 int res3
= SWIG_TMPOBJ
;
22493 PyObject
*swig_obj
[1] ;
22497 if (!args
) SWIG_fail
;
22498 swig_obj
[0] = args
;
22499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22500 if (!SWIG_IsOK(res1
)) {
22501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22503 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= SWIG_Py_Void();
22511 if (SWIG_IsTmpObj(res2
)) {
22512 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22514 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22515 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22517 if (SWIG_IsTmpObj(res3
)) {
22518 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22520 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22521 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22529 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22530 PyObject
*resultobj
= 0;
22531 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22532 int *arg2
= (int *) 0 ;
22533 int *arg3
= (int *) 0 ;
22537 int res2
= SWIG_TMPOBJ
;
22539 int res3
= SWIG_TMPOBJ
;
22540 PyObject
*swig_obj
[1] ;
22544 if (!args
) SWIG_fail
;
22545 swig_obj
[0] = args
;
22546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22547 if (!SWIG_IsOK(res1
)) {
22548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22550 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22557 resultobj
= SWIG_Py_Void();
22558 if (SWIG_IsTmpObj(res2
)) {
22559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22561 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22564 if (SWIG_IsTmpObj(res3
)) {
22565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22567 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22576 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22577 PyObject
*resultobj
= 0;
22578 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22579 int *arg2
= (int *) 0 ;
22580 int *arg3
= (int *) 0 ;
22584 int res2
= SWIG_TMPOBJ
;
22586 int res3
= SWIG_TMPOBJ
;
22587 PyObject
*swig_obj
[1] ;
22591 if (!args
) SWIG_fail
;
22592 swig_obj
[0] = args
;
22593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22594 if (!SWIG_IsOK(res1
)) {
22595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22597 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 resultobj
= SWIG_Py_Void();
22605 if (SWIG_IsTmpObj(res2
)) {
22606 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22608 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22609 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22611 if (SWIG_IsTmpObj(res3
)) {
22612 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22614 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22615 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22623 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22624 PyObject
*resultobj
= 0;
22625 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22629 PyObject
*swig_obj
[1] ;
22631 if (!args
) SWIG_fail
;
22632 swig_obj
[0] = args
;
22633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22634 if (!SWIG_IsOK(res1
)) {
22635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22637 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22644 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22651 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22652 PyObject
*resultobj
= 0;
22653 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22657 PyObject
*swig_obj
[1] ;
22659 if (!args
) SWIG_fail
;
22660 swig_obj
[0] = args
;
22661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22662 if (!SWIG_IsOK(res1
)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22665 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22672 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22679 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22680 PyObject
*resultobj
= 0;
22681 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22682 SwigValueWrapper
<wxVisualAttributes
> result
;
22685 PyObject
*swig_obj
[1] ;
22687 if (!args
) SWIG_fail
;
22688 swig_obj
[0] = args
;
22689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22690 if (!SWIG_IsOK(res1
)) {
22691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22693 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 result
= (arg1
)->GetDefaultAttributes();
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22707 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22708 PyObject
*resultobj
= 0;
22709 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22712 PyObject
*swig_obj
[1] ;
22714 if (!args
) SWIG_fail
;
22715 swig_obj
[0] = args
;
22716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22717 if (!SWIG_IsOK(res1
)) {
22718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22720 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 (arg1
)->OnInternalIdle();
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 resultobj
= SWIG_Py_Void();
22734 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22737 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22738 return SWIG_Py_Void();
22741 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22742 return SWIG_Python_InitShadowInstance(args
);
22745 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22746 PyObject
*resultobj
= 0;
22747 wxWindow
*arg1
= (wxWindow
*) 0 ;
22748 int arg2
= (int) (int)-1 ;
22749 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22750 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22751 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22752 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22753 long arg5
= (long) 0 ;
22754 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22755 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22756 wxPyScrolledWindow
*result
= 0 ;
22765 bool temp6
= false ;
22766 PyObject
* obj0
= 0 ;
22767 PyObject
* obj1
= 0 ;
22768 PyObject
* obj2
= 0 ;
22769 PyObject
* obj3
= 0 ;
22770 PyObject
* obj4
= 0 ;
22771 PyObject
* obj5
= 0 ;
22772 char * kwnames
[] = {
22773 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22778 if (!SWIG_IsOK(res1
)) {
22779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22781 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22784 if (!SWIG_IsOK(ecode2
)) {
22785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22787 arg2
= static_cast< int >(val2
);
22792 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22798 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22802 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22803 if (!SWIG_IsOK(ecode5
)) {
22804 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22806 arg5
= static_cast< long >(val5
);
22810 arg6
= wxString_in_helper(obj5
);
22811 if (arg6
== NULL
) SWIG_fail
;
22816 if (!wxPyCheckForApp()) SWIG_fail
;
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22837 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22838 PyObject
*resultobj
= 0;
22839 wxPyScrolledWindow
*result
= 0 ;
22841 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22843 if (!wxPyCheckForApp()) SWIG_fail
;
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22856 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22857 PyObject
*resultobj
= 0;
22858 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22859 PyObject
*arg2
= (PyObject
*) 0 ;
22860 PyObject
*arg3
= (PyObject
*) 0 ;
22863 PyObject
* obj0
= 0 ;
22864 PyObject
* obj1
= 0 ;
22865 PyObject
* obj2
= 0 ;
22866 char * kwnames
[] = {
22867 (char *) "self",(char *) "self",(char *) "_class", NULL
22870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22872 if (!SWIG_IsOK(res1
)) {
22873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22875 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_Py_Void();
22891 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
= 0;
22893 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22898 PyObject
* obj0
= 0 ;
22899 PyObject
* obj1
= 0 ;
22900 char * kwnames
[] = {
22901 (char *) "self",(char *) "size", NULL
22904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22906 if (!SWIG_IsOK(res1
)) {
22907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22909 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22912 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22916 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 resultobj
= SWIG_Py_Void();
22927 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22928 PyObject
*resultobj
= 0;
22929 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22930 wxDC
*arg2
= (wxDC
*) 0 ;
22936 PyObject
* obj0
= 0 ;
22937 PyObject
* obj1
= 0 ;
22938 char * kwnames
[] = {
22939 (char *) "self",(char *) "dc", NULL
22942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22944 if (!SWIG_IsOK(res1
)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22947 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22949 if (!SWIG_IsOK(res2
)) {
22950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22952 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22956 wxPyEndAllowThreads(__tstate
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22968 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
= 0;
22970 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22985 PyObject
* obj0
= 0 ;
22986 PyObject
* obj1
= 0 ;
22987 PyObject
* obj2
= 0 ;
22988 PyObject
* obj3
= 0 ;
22989 PyObject
* obj4
= 0 ;
22990 char * kwnames
[] = {
22991 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22996 if (!SWIG_IsOK(res1
)) {
22997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22999 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23001 if (!SWIG_IsOK(ecode2
)) {
23002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23004 arg2
= static_cast< int >(val2
);
23005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23006 if (!SWIG_IsOK(ecode3
)) {
23007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23009 arg3
= static_cast< int >(val3
);
23010 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23011 if (!SWIG_IsOK(ecode4
)) {
23012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23014 arg4
= static_cast< int >(val4
);
23015 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23016 if (!SWIG_IsOK(ecode5
)) {
23017 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23019 arg5
= static_cast< int >(val5
);
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= SWIG_Py_Void();
23033 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23034 PyObject
*resultobj
= 0;
23035 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23040 int arg6
= (int) wxSIZE_AUTO
;
23053 PyObject
* obj0
= 0 ;
23054 PyObject
* obj1
= 0 ;
23055 PyObject
* obj2
= 0 ;
23056 PyObject
* obj3
= 0 ;
23057 PyObject
* obj4
= 0 ;
23058 PyObject
* obj5
= 0 ;
23059 char * kwnames
[] = {
23060 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23065 if (!SWIG_IsOK(res1
)) {
23066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23068 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23070 if (!SWIG_IsOK(ecode2
)) {
23071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23073 arg2
= static_cast< int >(val2
);
23074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23075 if (!SWIG_IsOK(ecode3
)) {
23076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23078 arg3
= static_cast< int >(val3
);
23079 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23080 if (!SWIG_IsOK(ecode4
)) {
23081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23083 arg4
= static_cast< int >(val4
);
23084 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23085 if (!SWIG_IsOK(ecode5
)) {
23086 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23088 arg5
= static_cast< int >(val5
);
23090 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23091 if (!SWIG_IsOK(ecode6
)) {
23092 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23094 arg6
= static_cast< int >(val6
);
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23102 resultobj
= SWIG_Py_Void();
23109 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23110 PyObject
*resultobj
= 0;
23111 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23120 PyObject
* obj0
= 0 ;
23121 PyObject
* obj1
= 0 ;
23122 PyObject
* obj2
= 0 ;
23123 char * kwnames
[] = {
23124 (char *) "self",(char *) "width",(char *) "height", NULL
23127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23129 if (!SWIG_IsOK(res1
)) {
23130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23132 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23134 if (!SWIG_IsOK(ecode2
)) {
23135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23137 arg2
= static_cast< int >(val2
);
23138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23139 if (!SWIG_IsOK(ecode3
)) {
23140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23142 arg3
= static_cast< int >(val3
);
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 (arg1
)->DoSetClientSize(arg2
,arg3
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 resultobj
= SWIG_Py_Void();
23156 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
= 0;
23158 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23167 PyObject
* obj0
= 0 ;
23168 PyObject
* obj1
= 0 ;
23169 PyObject
* obj2
= 0 ;
23170 char * kwnames
[] = {
23171 (char *) "self",(char *) "x",(char *) "y", NULL
23174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23176 if (!SWIG_IsOK(res1
)) {
23177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23179 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23181 if (!SWIG_IsOK(ecode2
)) {
23182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23184 arg2
= static_cast< int >(val2
);
23185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23186 if (!SWIG_IsOK(ecode3
)) {
23187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23189 arg3
= static_cast< int >(val3
);
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= SWIG_Py_Void();
23203 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23204 PyObject
*resultobj
= 0;
23205 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23206 int *arg2
= (int *) 0 ;
23207 int *arg3
= (int *) 0 ;
23211 int res2
= SWIG_TMPOBJ
;
23213 int res3
= SWIG_TMPOBJ
;
23214 PyObject
*swig_obj
[1] ;
23218 if (!args
) SWIG_fail
;
23219 swig_obj
[0] = args
;
23220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23221 if (!SWIG_IsOK(res1
)) {
23222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23224 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= SWIG_Py_Void();
23232 if (SWIG_IsTmpObj(res2
)) {
23233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23235 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23238 if (SWIG_IsTmpObj(res3
)) {
23239 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23241 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23242 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23250 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23251 PyObject
*resultobj
= 0;
23252 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23253 int *arg2
= (int *) 0 ;
23254 int *arg3
= (int *) 0 ;
23258 int res2
= SWIG_TMPOBJ
;
23260 int res3
= SWIG_TMPOBJ
;
23261 PyObject
*swig_obj
[1] ;
23265 if (!args
) SWIG_fail
;
23266 swig_obj
[0] = args
;
23267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23268 if (!SWIG_IsOK(res1
)) {
23269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23271 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= SWIG_Py_Void();
23279 if (SWIG_IsTmpObj(res2
)) {
23280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23282 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23285 if (SWIG_IsTmpObj(res3
)) {
23286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23288 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23297 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23298 PyObject
*resultobj
= 0;
23299 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23300 int *arg2
= (int *) 0 ;
23301 int *arg3
= (int *) 0 ;
23305 int res2
= SWIG_TMPOBJ
;
23307 int res3
= SWIG_TMPOBJ
;
23308 PyObject
*swig_obj
[1] ;
23312 if (!args
) SWIG_fail
;
23313 swig_obj
[0] = args
;
23314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23315 if (!SWIG_IsOK(res1
)) {
23316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23318 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= SWIG_Py_Void();
23326 if (SWIG_IsTmpObj(res2
)) {
23327 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23329 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23330 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23332 if (SWIG_IsTmpObj(res3
)) {
23333 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23335 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23336 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23344 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23345 PyObject
*resultobj
= 0;
23346 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23350 PyObject
*swig_obj
[1] ;
23352 if (!args
) SWIG_fail
;
23353 swig_obj
[0] = args
;
23354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23355 if (!SWIG_IsOK(res1
)) {
23356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23358 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23365 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23372 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23373 PyObject
*resultobj
= 0;
23374 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23378 PyObject
*swig_obj
[1] ;
23380 if (!args
) SWIG_fail
;
23381 swig_obj
[0] = args
;
23382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23383 if (!SWIG_IsOK(res1
)) {
23384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23386 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23400 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23401 PyObject
*resultobj
= 0;
23402 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23403 SwigValueWrapper
<wxVisualAttributes
> result
;
23406 PyObject
*swig_obj
[1] ;
23408 if (!args
) SWIG_fail
;
23409 swig_obj
[0] = args
;
23410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23411 if (!SWIG_IsOK(res1
)) {
23412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23414 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= (arg1
)->GetDefaultAttributes();
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23428 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23429 PyObject
*resultobj
= 0;
23430 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23433 PyObject
*swig_obj
[1] ;
23435 if (!args
) SWIG_fail
;
23436 swig_obj
[0] = args
;
23437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23438 if (!SWIG_IsOK(res1
)) {
23439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23441 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 (arg1
)->OnInternalIdle();
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23448 resultobj
= SWIG_Py_Void();
23455 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23458 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23459 return SWIG_Py_Void();
23462 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23463 return SWIG_Python_InitShadowInstance(args
);
23466 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23467 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23472 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23473 PyObject
*pyobj
= 0;
23477 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23479 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23486 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23487 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23492 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23493 PyObject
*pyobj
= 0;
23497 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23499 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23506 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23507 PyObject
*resultobj
= 0;
23508 wxPrintData
*result
= 0 ;
23510 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 result
= (wxPrintData
*)new wxPrintData();
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23524 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23525 PyObject
*resultobj
= 0;
23526 wxPrintData
*arg1
= 0 ;
23527 wxPrintData
*result
= 0 ;
23531 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23533 if (!SWIG_IsOK(res1
)) {
23534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23539 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23553 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23557 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23560 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23563 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23567 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23572 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23573 PyObject
*resultobj
= 0;
23574 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23577 PyObject
*swig_obj
[1] ;
23579 if (!args
) SWIG_fail
;
23580 swig_obj
[0] = args
;
23581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23582 if (!SWIG_IsOK(res1
)) {
23583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23585 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23593 resultobj
= SWIG_Py_Void();
23600 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23601 PyObject
*resultobj
= 0;
23602 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23606 PyObject
*swig_obj
[1] ;
23608 if (!args
) SWIG_fail
;
23609 swig_obj
[0] = args
;
23610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23611 if (!SWIG_IsOK(res1
)) {
23612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23614 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (int)(arg1
)->GetNoCopies();
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23621 resultobj
= SWIG_From_int(static_cast< int >(result
));
23628 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23629 PyObject
*resultobj
= 0;
23630 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23634 PyObject
*swig_obj
[1] ;
23636 if (!args
) SWIG_fail
;
23637 swig_obj
[0] = args
;
23638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23639 if (!SWIG_IsOK(res1
)) {
23640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23642 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= (bool)(arg1
)->GetCollate();
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23658 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23659 PyObject
*resultobj
= 0;
23660 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23664 PyObject
*swig_obj
[1] ;
23666 if (!args
) SWIG_fail
;
23667 swig_obj
[0] = args
;
23668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23669 if (!SWIG_IsOK(res1
)) {
23670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23672 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= (int)(arg1
)->GetOrientation();
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= SWIG_From_int(static_cast< int >(result
));
23686 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23687 PyObject
*resultobj
= 0;
23688 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23692 PyObject
*swig_obj
[1] ;
23694 if (!args
) SWIG_fail
;
23695 swig_obj
[0] = args
;
23696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23697 if (!SWIG_IsOK(res1
)) {
23698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23700 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= (bool)(arg1
)->Ok();
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23716 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23717 PyObject
*resultobj
= 0;
23718 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23719 wxString
*result
= 0 ;
23722 PyObject
*swig_obj
[1] ;
23724 if (!args
) SWIG_fail
;
23725 swig_obj
[0] = args
;
23726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23727 if (!SWIG_IsOK(res1
)) {
23728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23730 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23735 result
= (wxString
*) &_result_ref
;
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23744 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23753 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23754 PyObject
*resultobj
= 0;
23755 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23759 PyObject
*swig_obj
[1] ;
23761 if (!args
) SWIG_fail
;
23762 swig_obj
[0] = args
;
23763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23764 if (!SWIG_IsOK(res1
)) {
23765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23767 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (bool)(arg1
)->GetColour();
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23783 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23784 PyObject
*resultobj
= 0;
23785 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23786 wxDuplexMode result
;
23789 PyObject
*swig_obj
[1] ;
23791 if (!args
) SWIG_fail
;
23792 swig_obj
[0] = args
;
23793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23794 if (!SWIG_IsOK(res1
)) {
23795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23797 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 resultobj
= SWIG_From_int(static_cast< int >(result
));
23811 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23812 PyObject
*resultobj
= 0;
23813 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23814 wxPaperSize result
;
23817 PyObject
*swig_obj
[1] ;
23819 if (!args
) SWIG_fail
;
23820 swig_obj
[0] = args
;
23821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23822 if (!SWIG_IsOK(res1
)) {
23823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23825 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 resultobj
= SWIG_From_int(static_cast< int >(result
));
23839 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23840 PyObject
*resultobj
= 0;
23841 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23842 wxSize
*result
= 0 ;
23845 PyObject
*swig_obj
[1] ;
23847 if (!args
) SWIG_fail
;
23848 swig_obj
[0] = args
;
23849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23850 if (!SWIG_IsOK(res1
)) {
23851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23853 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23858 result
= (wxSize
*) &_result_ref
;
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23870 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23871 PyObject
*resultobj
= 0;
23872 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23876 PyObject
*swig_obj
[1] ;
23878 if (!args
) SWIG_fail
;
23879 swig_obj
[0] = args
;
23880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23881 if (!SWIG_IsOK(res1
)) {
23882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23884 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 result
= (int)(arg1
)->GetQuality();
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= SWIG_From_int(static_cast< int >(result
));
23898 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23899 PyObject
*resultobj
= 0;
23900 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23904 PyObject
*swig_obj
[1] ;
23906 if (!args
) SWIG_fail
;
23907 swig_obj
[0] = args
;
23908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23909 if (!SWIG_IsOK(res1
)) {
23910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23912 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 result
= (wxPrintBin
)(arg1
)->GetBin();
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= SWIG_From_int(static_cast< int >(result
));
23926 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23927 PyObject
*resultobj
= 0;
23928 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23929 wxPrintMode result
;
23932 PyObject
*swig_obj
[1] ;
23934 if (!args
) SWIG_fail
;
23935 swig_obj
[0] = args
;
23936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23937 if (!SWIG_IsOK(res1
)) {
23938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23940 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 resultobj
= SWIG_From_int(static_cast< int >(result
));
23954 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
= 0;
23956 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23962 PyObject
* obj0
= 0 ;
23963 PyObject
* obj1
= 0 ;
23964 char * kwnames
[] = {
23965 (char *) "self",(char *) "v", NULL
23968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23970 if (!SWIG_IsOK(res1
)) {
23971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23973 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23975 if (!SWIG_IsOK(ecode2
)) {
23976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23978 arg2
= static_cast< int >(val2
);
23980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 (arg1
)->SetNoCopies(arg2
);
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= SWIG_Py_Void();
23992 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
= 0;
23994 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 char * kwnames
[] = {
24003 (char *) "self",(char *) "flag", NULL
24006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24008 if (!SWIG_IsOK(res1
)) {
24009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24011 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24012 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24013 if (!SWIG_IsOK(ecode2
)) {
24014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24016 arg2
= static_cast< bool >(val2
);
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 (arg1
)->SetCollate(arg2
);
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24023 resultobj
= SWIG_Py_Void();
24030 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24031 PyObject
*resultobj
= 0;
24032 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24038 PyObject
* obj0
= 0 ;
24039 PyObject
* obj1
= 0 ;
24040 char * kwnames
[] = {
24041 (char *) "self",(char *) "orient", NULL
24044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24046 if (!SWIG_IsOK(res1
)) {
24047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24049 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24051 if (!SWIG_IsOK(ecode2
)) {
24052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24054 arg2
= static_cast< int >(val2
);
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 (arg1
)->SetOrientation(arg2
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= SWIG_Py_Void();
24068 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
= 0;
24070 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24071 wxString
*arg2
= 0 ;
24074 bool temp2
= false ;
24075 PyObject
* obj0
= 0 ;
24076 PyObject
* obj1
= 0 ;
24077 char * kwnames
[] = {
24078 (char *) "self",(char *) "name", NULL
24081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24083 if (!SWIG_IsOK(res1
)) {
24084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24086 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24088 arg2
= wxString_in_helper(obj1
);
24089 if (arg2
== NULL
) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 resultobj
= SWIG_Py_Void();
24113 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
= 0;
24115 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24121 PyObject
* obj0
= 0 ;
24122 PyObject
* obj1
= 0 ;
24123 char * kwnames
[] = {
24124 (char *) "self",(char *) "colour", NULL
24127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24129 if (!SWIG_IsOK(res1
)) {
24130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24132 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24133 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24134 if (!SWIG_IsOK(ecode2
)) {
24135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24137 arg2
= static_cast< bool >(val2
);
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 (arg1
)->SetColour(arg2
);
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 resultobj
= SWIG_Py_Void();
24151 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
= 0;
24153 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24154 wxDuplexMode arg2
;
24159 PyObject
* obj0
= 0 ;
24160 PyObject
* obj1
= 0 ;
24161 char * kwnames
[] = {
24162 (char *) "self",(char *) "duplex", NULL
24165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24167 if (!SWIG_IsOK(res1
)) {
24168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24170 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24172 if (!SWIG_IsOK(ecode2
)) {
24173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24175 arg2
= static_cast< wxDuplexMode
>(val2
);
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 (arg1
)->SetDuplex(arg2
);
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= SWIG_Py_Void();
24189 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24190 PyObject
*resultobj
= 0;
24191 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24197 PyObject
* obj0
= 0 ;
24198 PyObject
* obj1
= 0 ;
24199 char * kwnames
[] = {
24200 (char *) "self",(char *) "sizeId", NULL
24203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24205 if (!SWIG_IsOK(res1
)) {
24206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24208 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24210 if (!SWIG_IsOK(ecode2
)) {
24211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24213 arg2
= static_cast< wxPaperSize
>(val2
);
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 (arg1
)->SetPaperId(arg2
);
24217 wxPyEndAllowThreads(__tstate
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 resultobj
= SWIG_Py_Void();
24227 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
= 0;
24229 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24234 PyObject
* obj0
= 0 ;
24235 PyObject
* obj1
= 0 ;
24236 char * kwnames
[] = {
24237 (char *) "self",(char *) "sz", NULL
24240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24242 if (!SWIG_IsOK(res1
)) {
24243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24245 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24248 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_Py_Void();
24263 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
= 0;
24265 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 PyObject
* obj1
= 0 ;
24273 char * kwnames
[] = {
24274 (char *) "self",(char *) "quality", NULL
24277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24279 if (!SWIG_IsOK(res1
)) {
24280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24282 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24284 if (!SWIG_IsOK(ecode2
)) {
24285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24287 arg2
= static_cast< int >(val2
);
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 (arg1
)->SetQuality(arg2
);
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= SWIG_Py_Void();
24301 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
= 0;
24303 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 char * kwnames
[] = {
24312 (char *) "self",(char *) "bin", NULL
24315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24317 if (!SWIG_IsOK(res1
)) {
24318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24320 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24322 if (!SWIG_IsOK(ecode2
)) {
24323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24325 arg2
= static_cast< wxPrintBin
>(val2
);
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 (arg1
)->SetBin(arg2
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= SWIG_Py_Void();
24339 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
= 0;
24341 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 PyObject
* obj1
= 0 ;
24349 char * kwnames
[] = {
24350 (char *) "self",(char *) "printMode", NULL
24353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24355 if (!SWIG_IsOK(res1
)) {
24356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24358 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24360 if (!SWIG_IsOK(ecode2
)) {
24361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24363 arg2
= static_cast< wxPrintMode
>(val2
);
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 (arg1
)->SetPrintMode(arg2
);
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= SWIG_Py_Void();
24377 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24378 PyObject
*resultobj
= 0;
24379 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24383 PyObject
*swig_obj
[1] ;
24385 if (!args
) SWIG_fail
;
24386 swig_obj
[0] = args
;
24387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24388 if (!SWIG_IsOK(res1
)) {
24389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24391 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24411 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24412 PyObject
*resultobj
= 0;
24413 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24414 wxString
*arg2
= 0 ;
24417 bool temp2
= false ;
24418 PyObject
* obj0
= 0 ;
24419 PyObject
* obj1
= 0 ;
24420 char * kwnames
[] = {
24421 (char *) "self",(char *) "filename", NULL
24424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24426 if (!SWIG_IsOK(res1
)) {
24427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24429 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24431 arg2
= wxString_in_helper(obj1
);
24432 if (arg2
== NULL
) SWIG_fail
;
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 (arg1
)->SetFilename((wxString
const &)*arg2
);
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24441 resultobj
= SWIG_Py_Void();
24456 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24457 PyObject
*resultobj
= 0;
24458 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24459 PyObject
*result
= 0 ;
24462 PyObject
*swig_obj
[1] ;
24464 if (!args
) SWIG_fail
;
24465 swig_obj
[0] = args
;
24466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24467 if (!SWIG_IsOK(res1
)) {
24468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24470 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= result
;
24484 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24485 PyObject
*resultobj
= 0;
24486 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24487 PyObject
*arg2
= (PyObject
*) 0 ;
24490 PyObject
* obj0
= 0 ;
24491 PyObject
* obj1
= 0 ;
24492 char * kwnames
[] = {
24493 (char *) "self",(char *) "data", NULL
24496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",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_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24501 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 wxPrintData_SetPrivData(arg1
,arg2
);
24506 wxPyEndAllowThreads(__tstate
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= SWIG_Py_Void();
24516 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24519 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24520 return SWIG_Py_Void();
24523 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24524 return SWIG_Python_InitShadowInstance(args
);
24527 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24528 PyObject
*resultobj
= 0;
24529 wxPageSetupDialogData
*result
= 0 ;
24531 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24545 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24546 PyObject
*resultobj
= 0;
24547 wxPageSetupDialogData
*arg1
= 0 ;
24548 wxPageSetupDialogData
*result
= 0 ;
24552 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24554 if (!SWIG_IsOK(res1
)) {
24555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24560 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24574 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24575 PyObject
*resultobj
= 0;
24576 wxPrintData
*arg1
= 0 ;
24577 wxPageSetupDialogData
*result
= 0 ;
24581 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24583 if (!SWIG_IsOK(res1
)) {
24584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24589 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24603 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24607 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24610 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24615 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24616 _v
= SWIG_CheckState(res
);
24618 if (!_v
) goto check_2
;
24619 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24624 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24628 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24633 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24634 PyObject
*resultobj
= 0;
24635 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24638 PyObject
*swig_obj
[1] ;
24640 if (!args
) SWIG_fail
;
24641 swig_obj
[0] = args
;
24642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24643 if (!SWIG_IsOK(res1
)) {
24644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24646 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= SWIG_Py_Void();
24661 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
= 0;
24663 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24669 PyObject
* obj0
= 0 ;
24670 PyObject
* obj1
= 0 ;
24671 char * kwnames
[] = {
24672 (char *) "self",(char *) "flag", NULL
24675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24677 if (!SWIG_IsOK(res1
)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24680 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24681 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24682 if (!SWIG_IsOK(ecode2
)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24685 arg2
= static_cast< bool >(val2
);
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 (arg1
)->EnableHelp(arg2
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= SWIG_Py_Void();
24699 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
= 0;
24701 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj1
= 0 ;
24709 char * kwnames
[] = {
24710 (char *) "self",(char *) "flag", NULL
24713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24715 if (!SWIG_IsOK(res1
)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24718 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24719 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24720 if (!SWIG_IsOK(ecode2
)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24723 arg2
= static_cast< bool >(val2
);
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 (arg1
)->EnableMargins(arg2
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24730 resultobj
= SWIG_Py_Void();
24737 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
= 0;
24739 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24745 PyObject
* obj0
= 0 ;
24746 PyObject
* obj1
= 0 ;
24747 char * kwnames
[] = {
24748 (char *) "self",(char *) "flag", NULL
24751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24753 if (!SWIG_IsOK(res1
)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24756 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24757 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24758 if (!SWIG_IsOK(ecode2
)) {
24759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24761 arg2
= static_cast< bool >(val2
);
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 (arg1
)->EnableOrientation(arg2
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 resultobj
= SWIG_Py_Void();
24775 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
= 0;
24777 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24783 PyObject
* obj0
= 0 ;
24784 PyObject
* obj1
= 0 ;
24785 char * kwnames
[] = {
24786 (char *) "self",(char *) "flag", NULL
24789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24791 if (!SWIG_IsOK(res1
)) {
24792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24794 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24795 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24796 if (!SWIG_IsOK(ecode2
)) {
24797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24799 arg2
= static_cast< bool >(val2
);
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 (arg1
)->EnablePaper(arg2
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_Py_Void();
24813 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
= 0;
24815 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24821 PyObject
* obj0
= 0 ;
24822 PyObject
* obj1
= 0 ;
24823 char * kwnames
[] = {
24824 (char *) "self",(char *) "flag", NULL
24827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24829 if (!SWIG_IsOK(res1
)) {
24830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24832 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24833 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24834 if (!SWIG_IsOK(ecode2
)) {
24835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24837 arg2
= static_cast< bool >(val2
);
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 (arg1
)->EnablePrinter(arg2
);
24841 wxPyEndAllowThreads(__tstate
);
24842 if (PyErr_Occurred()) SWIG_fail
;
24844 resultobj
= SWIG_Py_Void();
24851 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24852 PyObject
*resultobj
= 0;
24853 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24857 PyObject
*swig_obj
[1] ;
24859 if (!args
) SWIG_fail
;
24860 swig_obj
[0] = args
;
24861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24862 if (!SWIG_IsOK(res1
)) {
24863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24865 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 result
= (bool)(arg1
)->GetDefaultMinMargins();
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24881 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24882 PyObject
*resultobj
= 0;
24883 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24887 PyObject
*swig_obj
[1] ;
24889 if (!args
) SWIG_fail
;
24890 swig_obj
[0] = args
;
24891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24892 if (!SWIG_IsOK(res1
)) {
24893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24895 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 result
= (bool)(arg1
)->GetEnableMargins();
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24911 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24912 PyObject
*resultobj
= 0;
24913 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24917 PyObject
*swig_obj
[1] ;
24919 if (!args
) SWIG_fail
;
24920 swig_obj
[0] = args
;
24921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24922 if (!SWIG_IsOK(res1
)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24925 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 result
= (bool)(arg1
)->GetEnableOrientation();
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24941 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24942 PyObject
*resultobj
= 0;
24943 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24947 PyObject
*swig_obj
[1] ;
24949 if (!args
) SWIG_fail
;
24950 swig_obj
[0] = args
;
24951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24952 if (!SWIG_IsOK(res1
)) {
24953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24955 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 result
= (bool)(arg1
)->GetEnablePaper();
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24971 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24972 PyObject
*resultobj
= 0;
24973 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24977 PyObject
*swig_obj
[1] ;
24979 if (!args
) SWIG_fail
;
24980 swig_obj
[0] = args
;
24981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24982 if (!SWIG_IsOK(res1
)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24985 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 result
= (bool)(arg1
)->GetEnablePrinter();
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25001 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25002 PyObject
*resultobj
= 0;
25003 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25007 PyObject
*swig_obj
[1] ;
25009 if (!args
) SWIG_fail
;
25010 swig_obj
[0] = args
;
25011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25012 if (!SWIG_IsOK(res1
)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25015 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 result
= (bool)(arg1
)->GetEnableHelp();
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25031 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25032 PyObject
*resultobj
= 0;
25033 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25037 PyObject
*swig_obj
[1] ;
25039 if (!args
) SWIG_fail
;
25040 swig_obj
[0] = args
;
25041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25042 if (!SWIG_IsOK(res1
)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25045 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 result
= (bool)(arg1
)->GetDefaultInfo();
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25061 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25062 PyObject
*resultobj
= 0;
25063 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25067 PyObject
*swig_obj
[1] ;
25069 if (!args
) SWIG_fail
;
25070 swig_obj
[0] = args
;
25071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25072 if (!SWIG_IsOK(res1
)) {
25073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25075 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 result
= (arg1
)->GetMarginTopLeft();
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25089 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25090 PyObject
*resultobj
= 0;
25091 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25095 PyObject
*swig_obj
[1] ;
25097 if (!args
) SWIG_fail
;
25098 swig_obj
[0] = args
;
25099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25100 if (!SWIG_IsOK(res1
)) {
25101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25103 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 result
= (arg1
)->GetMarginBottomRight();
25107 wxPyEndAllowThreads(__tstate
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25110 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25117 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25118 PyObject
*resultobj
= 0;
25119 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25123 PyObject
*swig_obj
[1] ;
25125 if (!args
) SWIG_fail
;
25126 swig_obj
[0] = args
;
25127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25128 if (!SWIG_IsOK(res1
)) {
25129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25131 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25134 result
= (arg1
)->GetMinMarginTopLeft();
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25138 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25145 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25146 PyObject
*resultobj
= 0;
25147 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25151 PyObject
*swig_obj
[1] ;
25153 if (!args
) SWIG_fail
;
25154 swig_obj
[0] = args
;
25155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25156 if (!SWIG_IsOK(res1
)) {
25157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25159 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25162 result
= (arg1
)->GetMinMarginBottomRight();
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25173 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25174 PyObject
*resultobj
= 0;
25175 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25176 wxPaperSize result
;
25179 PyObject
*swig_obj
[1] ;
25181 if (!args
) SWIG_fail
;
25182 swig_obj
[0] = args
;
25183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25184 if (!SWIG_IsOK(res1
)) {
25185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25187 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= SWIG_From_int(static_cast< int >(result
));
25201 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25202 PyObject
*resultobj
= 0;
25203 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25207 PyObject
*swig_obj
[1] ;
25209 if (!args
) SWIG_fail
;
25210 swig_obj
[0] = args
;
25211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25212 if (!SWIG_IsOK(res1
)) {
25213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25215 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 result
= (arg1
)->GetPaperSize();
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25229 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25230 PyObject
*resultobj
= 0;
25231 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25232 wxPrintData
*result
= 0 ;
25235 PyObject
*swig_obj
[1] ;
25237 if (!args
) SWIG_fail
;
25238 swig_obj
[0] = args
;
25239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25240 if (!SWIG_IsOK(res1
)) {
25241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25243 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25248 result
= (wxPrintData
*) &_result_ref
;
25250 wxPyEndAllowThreads(__tstate
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25260 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25261 PyObject
*resultobj
= 0;
25262 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25266 PyObject
*swig_obj
[1] ;
25268 if (!args
) SWIG_fail
;
25269 swig_obj
[0] = args
;
25270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25271 if (!SWIG_IsOK(res1
)) {
25272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25274 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 result
= (bool)(arg1
)->Ok();
25278 wxPyEndAllowThreads(__tstate
);
25279 if (PyErr_Occurred()) SWIG_fail
;
25282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25290 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25291 PyObject
*resultobj
= 0;
25292 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25298 PyObject
* obj0
= 0 ;
25299 PyObject
* obj1
= 0 ;
25300 char * kwnames
[] = {
25301 (char *) "self",(char *) "flag", NULL
25304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25306 if (!SWIG_IsOK(res1
)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25309 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25310 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25311 if (!SWIG_IsOK(ecode2
)) {
25312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25314 arg2
= static_cast< bool >(val2
);
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 (arg1
)->SetDefaultInfo(arg2
);
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= SWIG_Py_Void();
25328 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
= 0;
25330 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25336 PyObject
* obj0
= 0 ;
25337 PyObject
* obj1
= 0 ;
25338 char * kwnames
[] = {
25339 (char *) "self",(char *) "flag", NULL
25342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25344 if (!SWIG_IsOK(res1
)) {
25345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25347 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25348 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25349 if (!SWIG_IsOK(ecode2
)) {
25350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25352 arg2
= static_cast< bool >(val2
);
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 (arg1
)->SetDefaultMinMargins(arg2
);
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= SWIG_Py_Void();
25366 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
= 0;
25368 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25369 wxPoint
*arg2
= 0 ;
25373 PyObject
* obj0
= 0 ;
25374 PyObject
* obj1
= 0 ;
25375 char * kwnames
[] = {
25376 (char *) "self",(char *) "pt", NULL
25379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25381 if (!SWIG_IsOK(res1
)) {
25382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25384 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25391 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= SWIG_Py_Void();
25402 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
= 0;
25404 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25405 wxPoint
*arg2
= 0 ;
25409 PyObject
* obj0
= 0 ;
25410 PyObject
* obj1
= 0 ;
25411 char * kwnames
[] = {
25412 (char *) "self",(char *) "pt", NULL
25415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25417 if (!SWIG_IsOK(res1
)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25420 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25423 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= SWIG_Py_Void();
25438 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
= 0;
25440 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25441 wxPoint
*arg2
= 0 ;
25445 PyObject
* obj0
= 0 ;
25446 PyObject
* obj1
= 0 ;
25447 char * kwnames
[] = {
25448 (char *) "self",(char *) "pt", NULL
25451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25453 if (!SWIG_IsOK(res1
)) {
25454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25456 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25459 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 resultobj
= SWIG_Py_Void();
25474 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
= 0;
25476 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25477 wxPoint
*arg2
= 0 ;
25481 PyObject
* obj0
= 0 ;
25482 PyObject
* obj1
= 0 ;
25483 char * kwnames
[] = {
25484 (char *) "self",(char *) "pt", NULL
25487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25489 if (!SWIG_IsOK(res1
)) {
25490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25492 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25499 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25500 wxPyEndAllowThreads(__tstate
);
25501 if (PyErr_Occurred()) SWIG_fail
;
25503 resultobj
= SWIG_Py_Void();
25510 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25511 PyObject
*resultobj
= 0;
25512 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25518 PyObject
* obj0
= 0 ;
25519 PyObject
* obj1
= 0 ;
25520 char * kwnames
[] = {
25521 (char *) "self",(char *) "id", NULL
25524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25526 if (!SWIG_IsOK(res1
)) {
25527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25529 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25531 if (!SWIG_IsOK(ecode2
)) {
25532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25534 arg2
= static_cast< wxPaperSize
>(val2
);
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25537 (arg1
)->SetPaperId(arg2
);
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25541 resultobj
= SWIG_Py_Void();
25548 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
= 0;
25550 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 char * kwnames
[] = {
25558 (char *) "self",(char *) "size", NULL
25561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25563 if (!SWIG_IsOK(res1
)) {
25564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25566 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25569 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25573 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 resultobj
= SWIG_Py_Void();
25584 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
= 0;
25586 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25587 wxPrintData
*arg2
= 0 ;
25592 PyObject
* obj0
= 0 ;
25593 PyObject
* obj1
= 0 ;
25594 char * kwnames
[] = {
25595 (char *) "self",(char *) "printData", NULL
25598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25600 if (!SWIG_IsOK(res1
)) {
25601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25603 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25605 if (!SWIG_IsOK(res2
)) {
25606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25611 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25618 resultobj
= SWIG_Py_Void();
25625 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25626 PyObject
*resultobj
= 0;
25627 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25630 PyObject
*swig_obj
[1] ;
25632 if (!args
) SWIG_fail
;
25633 swig_obj
[0] = args
;
25634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25635 if (!SWIG_IsOK(res1
)) {
25636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25638 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 (arg1
)->CalculateIdFromPaperSize();
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25645 resultobj
= SWIG_Py_Void();
25652 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25653 PyObject
*resultobj
= 0;
25654 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25657 PyObject
*swig_obj
[1] ;
25659 if (!args
) SWIG_fail
;
25660 swig_obj
[0] = args
;
25661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25662 if (!SWIG_IsOK(res1
)) {
25663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25665 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 (arg1
)->CalculatePaperSizeFromId();
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= SWIG_Py_Void();
25679 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25682 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25683 return SWIG_Py_Void();
25686 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25687 return SWIG_Python_InitShadowInstance(args
);
25690 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
= 0;
25692 wxWindow
*arg1
= (wxWindow
*) 0 ;
25693 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25694 wxPageSetupDialog
*result
= 0 ;
25699 PyObject
* obj0
= 0 ;
25700 PyObject
* obj1
= 0 ;
25701 char * kwnames
[] = {
25702 (char *) "parent",(char *) "data", NULL
25705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25707 if (!SWIG_IsOK(res1
)) {
25708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25710 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25712 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25713 if (!SWIG_IsOK(res2
)) {
25714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25716 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25719 if (!wxPyCheckForApp()) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25722 wxPyEndAllowThreads(__tstate
);
25723 if (PyErr_Occurred()) SWIG_fail
;
25725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25732 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25733 PyObject
*resultobj
= 0;
25734 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25737 PyObject
*swig_obj
[1] ;
25739 if (!args
) SWIG_fail
;
25740 swig_obj
[0] = args
;
25741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25742 if (!SWIG_IsOK(res1
)) {
25743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25745 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 wxPyEndAllowThreads(__tstate
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25753 resultobj
= SWIG_Py_Void();
25760 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25761 PyObject
*resultobj
= 0;
25762 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25763 wxPageSetupDialogData
*result
= 0 ;
25766 PyObject
*swig_obj
[1] ;
25768 if (!args
) SWIG_fail
;
25769 swig_obj
[0] = args
;
25770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25771 if (!SWIG_IsOK(res1
)) {
25772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25774 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25779 result
= (wxPageSetupDialogData
*) &_result_ref
;
25781 wxPyEndAllowThreads(__tstate
);
25782 if (PyErr_Occurred()) SWIG_fail
;
25784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25791 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25792 PyObject
*resultobj
= 0;
25793 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25794 wxPageSetupDialogData
*result
= 0 ;
25797 PyObject
*swig_obj
[1] ;
25799 if (!args
) SWIG_fail
;
25800 swig_obj
[0] = args
;
25801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25802 if (!SWIG_IsOK(res1
)) {
25803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25805 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25810 result
= (wxPageSetupDialogData
*) &_result_ref
;
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25822 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25823 PyObject
*resultobj
= 0;
25824 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25828 PyObject
*swig_obj
[1] ;
25830 if (!args
) SWIG_fail
;
25831 swig_obj
[0] = args
;
25832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25833 if (!SWIG_IsOK(res1
)) {
25834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25836 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 result
= (int)(arg1
)->ShowModal();
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25843 resultobj
= SWIG_From_int(static_cast< int >(result
));
25850 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25852 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25853 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25854 return SWIG_Py_Void();
25857 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25858 return SWIG_Python_InitShadowInstance(args
);
25861 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25862 PyObject
*resultobj
= 0;
25863 wxPrintDialogData
*result
= 0 ;
25865 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25879 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25880 PyObject
*resultobj
= 0;
25881 wxPrintData
*arg1
= 0 ;
25882 wxPrintDialogData
*result
= 0 ;
25886 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25888 if (!SWIG_IsOK(res1
)) {
25889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25894 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25898 wxPyEndAllowThreads(__tstate
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25908 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25909 PyObject
*resultobj
= 0;
25910 wxPrintDialogData
*arg1
= 0 ;
25911 wxPrintDialogData
*result
= 0 ;
25915 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25917 if (!SWIG_IsOK(res1
)) {
25918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25923 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25937 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25941 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25944 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25949 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25950 _v
= SWIG_CheckState(res
);
25952 if (!_v
) goto check_2
;
25953 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25958 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25962 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25967 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25968 PyObject
*resultobj
= 0;
25969 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25972 PyObject
*swig_obj
[1] ;
25974 if (!args
) SWIG_fail
;
25975 swig_obj
[0] = args
;
25976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25977 if (!SWIG_IsOK(res1
)) {
25978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25980 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 resultobj
= SWIG_Py_Void();
25995 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25996 PyObject
*resultobj
= 0;
25997 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26001 PyObject
*swig_obj
[1] ;
26003 if (!args
) SWIG_fail
;
26004 swig_obj
[0] = args
;
26005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26006 if (!SWIG_IsOK(res1
)) {
26007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26009 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26016 resultobj
= SWIG_From_int(static_cast< int >(result
));
26023 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26024 PyObject
*resultobj
= 0;
26025 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26029 PyObject
*swig_obj
[1] ;
26031 if (!args
) SWIG_fail
;
26032 swig_obj
[0] = args
;
26033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26034 if (!SWIG_IsOK(res1
)) {
26035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26037 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26040 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26044 resultobj
= SWIG_From_int(static_cast< int >(result
));
26051 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26052 PyObject
*resultobj
= 0;
26053 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26057 PyObject
*swig_obj
[1] ;
26059 if (!args
) SWIG_fail
;
26060 swig_obj
[0] = args
;
26061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26062 if (!SWIG_IsOK(res1
)) {
26063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26065 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26068 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26072 resultobj
= SWIG_From_int(static_cast< int >(result
));
26079 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26080 PyObject
*resultobj
= 0;
26081 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26085 PyObject
*swig_obj
[1] ;
26087 if (!args
) SWIG_fail
;
26088 swig_obj
[0] = args
;
26089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26090 if (!SWIG_IsOK(res1
)) {
26091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26093 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26100 resultobj
= SWIG_From_int(static_cast< int >(result
));
26107 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26108 PyObject
*resultobj
= 0;
26109 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26113 PyObject
*swig_obj
[1] ;
26115 if (!args
) SWIG_fail
;
26116 swig_obj
[0] = args
;
26117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26118 if (!SWIG_IsOK(res1
)) {
26119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26121 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26128 resultobj
= SWIG_From_int(static_cast< int >(result
));
26135 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26136 PyObject
*resultobj
= 0;
26137 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26141 PyObject
*swig_obj
[1] ;
26143 if (!args
) SWIG_fail
;
26144 swig_obj
[0] = args
;
26145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26146 if (!SWIG_IsOK(res1
)) {
26147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26149 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26165 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26166 PyObject
*resultobj
= 0;
26167 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26171 PyObject
*swig_obj
[1] ;
26173 if (!args
) SWIG_fail
;
26174 swig_obj
[0] = args
;
26175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26176 if (!SWIG_IsOK(res1
)) {
26177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26179 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26182 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26195 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26196 PyObject
*resultobj
= 0;
26197 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26201 PyObject
*swig_obj
[1] ;
26203 if (!args
) SWIG_fail
;
26204 swig_obj
[0] = args
;
26205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26206 if (!SWIG_IsOK(res1
)) {
26207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26209 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26225 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26226 PyObject
*resultobj
= 0;
26227 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26231 PyObject
*swig_obj
[1] ;
26233 if (!args
) SWIG_fail
;
26234 swig_obj
[0] = args
;
26235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26236 if (!SWIG_IsOK(res1
)) {
26237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26239 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26255 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
= 0;
26257 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26263 PyObject
* obj0
= 0 ;
26264 PyObject
* obj1
= 0 ;
26265 char * kwnames
[] = {
26266 (char *) "self",(char *) "v", NULL
26269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26271 if (!SWIG_IsOK(res1
)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26274 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26276 if (!SWIG_IsOK(ecode2
)) {
26277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26279 arg2
= static_cast< int >(val2
);
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 (arg1
)->SetFromPage(arg2
);
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 resultobj
= SWIG_Py_Void();
26293 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26294 PyObject
*resultobj
= 0;
26295 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 char * kwnames
[] = {
26304 (char *) "self",(char *) "v", NULL
26307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26309 if (!SWIG_IsOK(res1
)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26312 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26314 if (!SWIG_IsOK(ecode2
)) {
26315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26317 arg2
= static_cast< int >(val2
);
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 (arg1
)->SetToPage(arg2
);
26321 wxPyEndAllowThreads(__tstate
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= SWIG_Py_Void();
26331 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26332 PyObject
*resultobj
= 0;
26333 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26339 PyObject
* obj0
= 0 ;
26340 PyObject
* obj1
= 0 ;
26341 char * kwnames
[] = {
26342 (char *) "self",(char *) "v", NULL
26345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26347 if (!SWIG_IsOK(res1
)) {
26348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26350 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26352 if (!SWIG_IsOK(ecode2
)) {
26353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26355 arg2
= static_cast< int >(val2
);
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 (arg1
)->SetMinPage(arg2
);
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 resultobj
= SWIG_Py_Void();
26369 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
= 0;
26371 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26377 PyObject
* obj0
= 0 ;
26378 PyObject
* obj1
= 0 ;
26379 char * kwnames
[] = {
26380 (char *) "self",(char *) "v", NULL
26383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26385 if (!SWIG_IsOK(res1
)) {
26386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26388 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26390 if (!SWIG_IsOK(ecode2
)) {
26391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26393 arg2
= static_cast< int >(val2
);
26395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26396 (arg1
)->SetMaxPage(arg2
);
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= SWIG_Py_Void();
26407 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
= 0;
26409 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26415 PyObject
* obj0
= 0 ;
26416 PyObject
* obj1
= 0 ;
26417 char * kwnames
[] = {
26418 (char *) "self",(char *) "v", NULL
26421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26423 if (!SWIG_IsOK(res1
)) {
26424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26426 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26428 if (!SWIG_IsOK(ecode2
)) {
26429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26431 arg2
= static_cast< int >(val2
);
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 (arg1
)->SetNoCopies(arg2
);
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= SWIG_Py_Void();
26445 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26446 PyObject
*resultobj
= 0;
26447 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26453 PyObject
* obj0
= 0 ;
26454 PyObject
* obj1
= 0 ;
26455 char * kwnames
[] = {
26456 (char *) "self",(char *) "flag", NULL
26459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26461 if (!SWIG_IsOK(res1
)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26464 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26465 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26466 if (!SWIG_IsOK(ecode2
)) {
26467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26469 arg2
= static_cast< bool >(val2
);
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 (arg1
)->SetAllPages(arg2
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 resultobj
= SWIG_Py_Void();
26483 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26484 PyObject
*resultobj
= 0;
26485 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26491 PyObject
* obj0
= 0 ;
26492 PyObject
* obj1
= 0 ;
26493 char * kwnames
[] = {
26494 (char *) "self",(char *) "flag", NULL
26497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26499 if (!SWIG_IsOK(res1
)) {
26500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26502 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26503 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26504 if (!SWIG_IsOK(ecode2
)) {
26505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26507 arg2
= static_cast< bool >(val2
);
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 (arg1
)->SetSelection(arg2
);
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= SWIG_Py_Void();
26521 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
= 0;
26523 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 char * kwnames
[] = {
26532 (char *) "self",(char *) "flag", NULL
26535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26537 if (!SWIG_IsOK(res1
)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26540 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26541 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26542 if (!SWIG_IsOK(ecode2
)) {
26543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26545 arg2
= static_cast< bool >(val2
);
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 (arg1
)->SetCollate(arg2
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= SWIG_Py_Void();
26559 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
= 0;
26561 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26567 PyObject
* obj0
= 0 ;
26568 PyObject
* obj1
= 0 ;
26569 char * kwnames
[] = {
26570 (char *) "self",(char *) "flag", NULL
26573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26575 if (!SWIG_IsOK(res1
)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26578 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26579 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26580 if (!SWIG_IsOK(ecode2
)) {
26581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26583 arg2
= static_cast< bool >(val2
);
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 (arg1
)->SetPrintToFile(arg2
);
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26590 resultobj
= SWIG_Py_Void();
26597 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26598 PyObject
*resultobj
= 0;
26599 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26605 PyObject
* obj0
= 0 ;
26606 PyObject
* obj1
= 0 ;
26607 char * kwnames
[] = {
26608 (char *) "self",(char *) "flag", NULL
26611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26613 if (!SWIG_IsOK(res1
)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26616 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26618 if (!SWIG_IsOK(ecode2
)) {
26619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26621 arg2
= static_cast< bool >(val2
);
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 (arg1
)->EnablePrintToFile(arg2
);
26625 wxPyEndAllowThreads(__tstate
);
26626 if (PyErr_Occurred()) SWIG_fail
;
26628 resultobj
= SWIG_Py_Void();
26635 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26636 PyObject
*resultobj
= 0;
26637 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26643 PyObject
* obj0
= 0 ;
26644 PyObject
* obj1
= 0 ;
26645 char * kwnames
[] = {
26646 (char *) "self",(char *) "flag", NULL
26649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26651 if (!SWIG_IsOK(res1
)) {
26652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26654 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26655 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26656 if (!SWIG_IsOK(ecode2
)) {
26657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26659 arg2
= static_cast< bool >(val2
);
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 (arg1
)->EnableSelection(arg2
);
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 resultobj
= SWIG_Py_Void();
26673 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26674 PyObject
*resultobj
= 0;
26675 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26681 PyObject
* obj0
= 0 ;
26682 PyObject
* obj1
= 0 ;
26683 char * kwnames
[] = {
26684 (char *) "self",(char *) "flag", NULL
26687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26689 if (!SWIG_IsOK(res1
)) {
26690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26692 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26693 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26694 if (!SWIG_IsOK(ecode2
)) {
26695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26697 arg2
= static_cast< bool >(val2
);
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 (arg1
)->EnablePageNumbers(arg2
);
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 resultobj
= SWIG_Py_Void();
26711 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
= 0;
26713 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26719 PyObject
* obj0
= 0 ;
26720 PyObject
* obj1
= 0 ;
26721 char * kwnames
[] = {
26722 (char *) "self",(char *) "flag", NULL
26725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26727 if (!SWIG_IsOK(res1
)) {
26728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26730 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26731 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26732 if (!SWIG_IsOK(ecode2
)) {
26733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26735 arg2
= static_cast< bool >(val2
);
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 (arg1
)->EnableHelp(arg2
);
26739 wxPyEndAllowThreads(__tstate
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= SWIG_Py_Void();
26749 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26750 PyObject
*resultobj
= 0;
26751 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26755 PyObject
*swig_obj
[1] ;
26757 if (!args
) SWIG_fail
;
26758 swig_obj
[0] = args
;
26759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26760 if (!SWIG_IsOK(res1
)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26763 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26766 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26779 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26780 PyObject
*resultobj
= 0;
26781 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26785 PyObject
*swig_obj
[1] ;
26787 if (!args
) SWIG_fail
;
26788 swig_obj
[0] = args
;
26789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26790 if (!SWIG_IsOK(res1
)) {
26791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26793 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26809 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26810 PyObject
*resultobj
= 0;
26811 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26815 PyObject
*swig_obj
[1] ;
26817 if (!args
) SWIG_fail
;
26818 swig_obj
[0] = args
;
26819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26820 if (!SWIG_IsOK(res1
)) {
26821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26823 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26826 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26827 wxPyEndAllowThreads(__tstate
);
26828 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26839 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26840 PyObject
*resultobj
= 0;
26841 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26845 PyObject
*swig_obj
[1] ;
26847 if (!args
) SWIG_fail
;
26848 swig_obj
[0] = args
;
26849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26850 if (!SWIG_IsOK(res1
)) {
26851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26853 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26856 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26857 wxPyEndAllowThreads(__tstate
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26869 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26870 PyObject
*resultobj
= 0;
26871 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26875 PyObject
*swig_obj
[1] ;
26877 if (!args
) SWIG_fail
;
26878 swig_obj
[0] = args
;
26879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26880 if (!SWIG_IsOK(res1
)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26883 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26899 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26900 PyObject
*resultobj
= 0;
26901 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26902 wxPrintData
*result
= 0 ;
26905 PyObject
*swig_obj
[1] ;
26907 if (!args
) SWIG_fail
;
26908 swig_obj
[0] = args
;
26909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26910 if (!SWIG_IsOK(res1
)) {
26911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26913 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26917 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26918 result
= (wxPrintData
*) &_result_ref
;
26920 wxPyEndAllowThreads(__tstate
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26930 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26931 PyObject
*resultobj
= 0;
26932 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26933 wxPrintData
*arg2
= 0 ;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 char * kwnames
[] = {
26941 (char *) "self",(char *) "printData", NULL
26944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26946 if (!SWIG_IsOK(res1
)) {
26947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26949 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26951 if (!SWIG_IsOK(res2
)) {
26952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26957 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= SWIG_Py_Void();
26971 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26974 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26975 return SWIG_Py_Void();
26978 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26979 return SWIG_Python_InitShadowInstance(args
);
26982 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
= 0;
26984 wxWindow
*arg1
= (wxWindow
*) 0 ;
26985 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26986 wxPrintDialog
*result
= 0 ;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 char * kwnames
[] = {
26994 (char *) "parent",(char *) "data", NULL
26997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26999 if (!SWIG_IsOK(res1
)) {
27000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27002 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27004 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27005 if (!SWIG_IsOK(res2
)) {
27006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27008 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27011 if (!wxPyCheckForApp()) SWIG_fail
;
27012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27013 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27024 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27025 PyObject
*resultobj
= 0;
27026 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27029 PyObject
*swig_obj
[1] ;
27031 if (!args
) SWIG_fail
;
27032 swig_obj
[0] = args
;
27033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27034 if (!SWIG_IsOK(res1
)) {
27035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27037 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= SWIG_Py_Void();
27052 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27053 PyObject
*resultobj
= 0;
27054 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27058 PyObject
*swig_obj
[1] ;
27060 if (!args
) SWIG_fail
;
27061 swig_obj
[0] = args
;
27062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27063 if (!SWIG_IsOK(res1
)) {
27064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27066 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 result
= (int)(arg1
)->ShowModal();
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27073 resultobj
= SWIG_From_int(static_cast< int >(result
));
27080 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27081 PyObject
*resultobj
= 0;
27082 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27083 wxPrintDialogData
*result
= 0 ;
27086 PyObject
*swig_obj
[1] ;
27088 if (!args
) SWIG_fail
;
27089 swig_obj
[0] = args
;
27090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27091 if (!SWIG_IsOK(res1
)) {
27092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27094 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27098 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27099 result
= (wxPrintDialogData
*) &_result_ref
;
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27111 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27112 PyObject
*resultobj
= 0;
27113 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27114 wxPrintData
*result
= 0 ;
27117 PyObject
*swig_obj
[1] ;
27119 if (!args
) SWIG_fail
;
27120 swig_obj
[0] = args
;
27121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27122 if (!SWIG_IsOK(res1
)) {
27123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27125 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27130 result
= (wxPrintData
*) &_result_ref
;
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27142 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27143 PyObject
*resultobj
= 0;
27144 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27148 PyObject
*swig_obj
[1] ;
27150 if (!args
) SWIG_fail
;
27151 swig_obj
[0] = args
;
27152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27153 if (!SWIG_IsOK(res1
)) {
27154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27156 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27159 result
= (wxDC
*)(arg1
)->GetPrintDC();
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27164 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27172 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27175 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27176 return SWIG_Py_Void();
27179 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27180 return SWIG_Python_InitShadowInstance(args
);
27183 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
= 0;
27185 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27186 wxPrinter
*result
= 0 ;
27189 PyObject
* obj0
= 0 ;
27190 char * kwnames
[] = {
27191 (char *) "data", NULL
27194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27197 if (!SWIG_IsOK(res1
)) {
27198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27200 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27203 if (!wxPyCheckForApp()) SWIG_fail
;
27204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 result
= (wxPrinter
*)new wxPrinter(arg1
);
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27216 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27217 PyObject
*resultobj
= 0;
27218 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27221 PyObject
*swig_obj
[1] ;
27223 if (!args
) SWIG_fail
;
27224 swig_obj
[0] = args
;
27225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27226 if (!SWIG_IsOK(res1
)) {
27227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27229 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 wxPyEndAllowThreads(__tstate
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= SWIG_Py_Void();
27244 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27245 PyObject
*resultobj
= 0;
27246 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27247 wxWindow
*arg2
= (wxWindow
*) 0 ;
27248 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27249 wxWindow
*result
= 0 ;
27256 PyObject
* obj0
= 0 ;
27257 PyObject
* obj1
= 0 ;
27258 PyObject
* obj2
= 0 ;
27259 char * kwnames
[] = {
27260 (char *) "self",(char *) "parent",(char *) "printout", NULL
27263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27265 if (!SWIG_IsOK(res1
)) {
27266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27268 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27270 if (!SWIG_IsOK(res2
)) {
27271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27273 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27274 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27275 if (!SWIG_IsOK(res3
)) {
27276 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27278 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27281 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27286 resultobj
= wxPyMake_wxObject(result
, 0);
27294 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
= 0;
27296 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27297 wxWindow
*arg2
= (wxWindow
*) 0 ;
27298 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27299 wxString
*arg4
= 0 ;
27306 bool temp4
= false ;
27307 PyObject
* obj0
= 0 ;
27308 PyObject
* obj1
= 0 ;
27309 PyObject
* obj2
= 0 ;
27310 PyObject
* obj3
= 0 ;
27311 char * kwnames
[] = {
27312 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27317 if (!SWIG_IsOK(res1
)) {
27318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27320 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27321 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27322 if (!SWIG_IsOK(res2
)) {
27323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27325 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27326 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27327 if (!SWIG_IsOK(res3
)) {
27328 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27330 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27332 arg4
= wxString_in_helper(obj3
);
27333 if (arg4
== NULL
) SWIG_fail
;
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27338 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= SWIG_Py_Void();
27357 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27358 PyObject
*resultobj
= 0;
27359 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27360 wxWindow
*arg2
= (wxWindow
*) 0 ;
27366 PyObject
* obj0
= 0 ;
27367 PyObject
* obj1
= 0 ;
27368 char * kwnames
[] = {
27369 (char *) "self",(char *) "parent", NULL
27372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27374 if (!SWIG_IsOK(res1
)) {
27375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27377 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27378 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27379 if (!SWIG_IsOK(res2
)) {
27380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27382 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27385 result
= (bool)(arg1
)->Setup(arg2
);
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27398 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
= 0;
27400 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27401 wxWindow
*arg2
= (wxWindow
*) 0 ;
27402 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27403 bool arg4
= (bool) true ;
27413 PyObject
* obj0
= 0 ;
27414 PyObject
* obj1
= 0 ;
27415 PyObject
* obj2
= 0 ;
27416 PyObject
* obj3
= 0 ;
27417 char * kwnames
[] = {
27418 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27423 if (!SWIG_IsOK(res1
)) {
27424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27426 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27427 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27428 if (!SWIG_IsOK(res2
)) {
27429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27431 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27432 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27433 if (!SWIG_IsOK(res3
)) {
27434 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27436 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27438 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27439 if (!SWIG_IsOK(ecode4
)) {
27440 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27442 arg4
= static_cast< bool >(val4
);
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27459 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27460 PyObject
*resultobj
= 0;
27461 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27462 wxWindow
*arg2
= (wxWindow
*) 0 ;
27468 PyObject
* obj0
= 0 ;
27469 PyObject
* obj1
= 0 ;
27470 char * kwnames
[] = {
27471 (char *) "self",(char *) "parent", NULL
27474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27476 if (!SWIG_IsOK(res1
)) {
27477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27479 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27480 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27481 if (!SWIG_IsOK(res2
)) {
27482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27484 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27492 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27500 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27501 PyObject
*resultobj
= 0;
27502 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27503 wxPrintDialogData
*result
= 0 ;
27506 PyObject
*swig_obj
[1] ;
27508 if (!args
) SWIG_fail
;
27509 swig_obj
[0] = args
;
27510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27511 if (!SWIG_IsOK(res1
)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27514 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27519 result
= (wxPrintDialogData
*) &_result_ref
;
27521 wxPyEndAllowThreads(__tstate
);
27522 if (PyErr_Occurred()) SWIG_fail
;
27524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27531 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27532 PyObject
*resultobj
= 0;
27533 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27537 PyObject
*swig_obj
[1] ;
27539 if (!args
) SWIG_fail
;
27540 swig_obj
[0] = args
;
27541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27542 if (!SWIG_IsOK(res1
)) {
27543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27545 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27548 result
= (bool)(arg1
)->GetAbort();
27549 wxPyEndAllowThreads(__tstate
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27561 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27562 PyObject
*resultobj
= 0;
27563 wxPrinterError result
;
27565 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27568 result
= (wxPrinterError
)wxPrinter::GetLastError();
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27572 resultobj
= SWIG_From_int(static_cast< int >(result
));
27579 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27582 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27583 return SWIG_Py_Void();
27586 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27587 return SWIG_Python_InitShadowInstance(args
);
27590 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27591 PyObject
*resultobj
= 0;
27592 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27593 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27594 wxPyPrintout
*result
= 0 ;
27595 bool temp1
= false ;
27596 PyObject
* obj0
= 0 ;
27597 char * kwnames
[] = {
27598 (char *) "title", NULL
27601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27604 arg1
= wxString_in_helper(obj0
);
27605 if (arg1
== NULL
) SWIG_fail
;
27610 if (!wxPyCheckForApp()) SWIG_fail
;
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27631 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27632 PyObject
*resultobj
= 0;
27633 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27636 PyObject
*swig_obj
[1] ;
27638 if (!args
) SWIG_fail
;
27639 swig_obj
[0] = args
;
27640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27641 if (!SWIG_IsOK(res1
)) {
27642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27644 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27649 wxPyEndAllowThreads(__tstate
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27652 resultobj
= SWIG_Py_Void();
27659 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27660 PyObject
*resultobj
= 0;
27661 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27662 PyObject
*arg2
= (PyObject
*) 0 ;
27663 PyObject
*arg3
= (PyObject
*) 0 ;
27666 PyObject
* obj0
= 0 ;
27667 PyObject
* obj1
= 0 ;
27668 PyObject
* obj2
= 0 ;
27669 char * kwnames
[] = {
27670 (char *) "self",(char *) "self",(char *) "_class", NULL
27673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27675 if (!SWIG_IsOK(res1
)) {
27676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27678 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27687 resultobj
= SWIG_Py_Void();
27694 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27695 PyObject
*resultobj
= 0;
27696 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27700 PyObject
*swig_obj
[1] ;
27702 if (!args
) SWIG_fail
;
27703 swig_obj
[0] = args
;
27704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27705 if (!SWIG_IsOK(res1
)) {
27706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27708 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27711 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27728 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27729 PyObject
*resultobj
= 0;
27730 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27734 PyObject
*swig_obj
[1] ;
27736 if (!args
) SWIG_fail
;
27737 swig_obj
[0] = args
;
27738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27739 if (!SWIG_IsOK(res1
)) {
27740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27742 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27745 result
= (wxDC
*)(arg1
)->GetDC();
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27750 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27758 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
= 0;
27760 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27761 wxDC
*arg2
= (wxDC
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 char * kwnames
[] = {
27769 (char *) "self",(char *) "dc", NULL
27772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27774 if (!SWIG_IsOK(res1
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27777 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27778 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27779 if (!SWIG_IsOK(res2
)) {
27780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27782 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 (arg1
)->SetDC(arg2
);
27786 wxPyEndAllowThreads(__tstate
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27789 resultobj
= SWIG_Py_Void();
27796 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27797 PyObject
*resultobj
= 0;
27798 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27807 PyObject
* obj0
= 0 ;
27808 PyObject
* obj1
= 0 ;
27809 PyObject
* obj2
= 0 ;
27810 char * kwnames
[] = {
27811 (char *) "self",(char *) "w",(char *) "h", NULL
27814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27816 if (!SWIG_IsOK(res1
)) {
27817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27819 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27821 if (!SWIG_IsOK(ecode2
)) {
27822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27824 arg2
= static_cast< int >(val2
);
27825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27826 if (!SWIG_IsOK(ecode3
)) {
27827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27829 arg3
= static_cast< int >(val3
);
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27836 resultobj
= SWIG_Py_Void();
27843 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27844 PyObject
*resultobj
= 0;
27845 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27846 int *arg2
= (int *) 0 ;
27847 int *arg3
= (int *) 0 ;
27851 int res2
= SWIG_TMPOBJ
;
27853 int res3
= SWIG_TMPOBJ
;
27854 PyObject
*swig_obj
[1] ;
27858 if (!args
) SWIG_fail
;
27859 swig_obj
[0] = args
;
27860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27861 if (!SWIG_IsOK(res1
)) {
27862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27864 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27867 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27868 wxPyEndAllowThreads(__tstate
);
27869 if (PyErr_Occurred()) SWIG_fail
;
27871 resultobj
= SWIG_Py_Void();
27872 if (SWIG_IsTmpObj(res2
)) {
27873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27875 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27878 if (SWIG_IsTmpObj(res3
)) {
27879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27881 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27890 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27891 PyObject
*resultobj
= 0;
27892 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27901 PyObject
* obj0
= 0 ;
27902 PyObject
* obj1
= 0 ;
27903 PyObject
* obj2
= 0 ;
27904 char * kwnames
[] = {
27905 (char *) "self",(char *) "w",(char *) "h", NULL
27908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27910 if (!SWIG_IsOK(res1
)) {
27911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27913 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27915 if (!SWIG_IsOK(ecode2
)) {
27916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27918 arg2
= static_cast< int >(val2
);
27919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27920 if (!SWIG_IsOK(ecode3
)) {
27921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27923 arg3
= static_cast< int >(val3
);
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27930 resultobj
= SWIG_Py_Void();
27937 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27938 PyObject
*resultobj
= 0;
27939 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27940 int *arg2
= (int *) 0 ;
27941 int *arg3
= (int *) 0 ;
27945 int res2
= SWIG_TMPOBJ
;
27947 int res3
= SWIG_TMPOBJ
;
27948 PyObject
*swig_obj
[1] ;
27952 if (!args
) SWIG_fail
;
27953 swig_obj
[0] = args
;
27954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27955 if (!SWIG_IsOK(res1
)) {
27956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27958 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27961 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27962 wxPyEndAllowThreads(__tstate
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27965 resultobj
= SWIG_Py_Void();
27966 if (SWIG_IsTmpObj(res2
)) {
27967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27969 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27972 if (SWIG_IsTmpObj(res3
)) {
27973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27975 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27984 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
= 0;
27986 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27995 PyObject
* obj0
= 0 ;
27996 PyObject
* obj1
= 0 ;
27997 PyObject
* obj2
= 0 ;
27998 char * kwnames
[] = {
27999 (char *) "self",(char *) "x",(char *) "y", NULL
28002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28004 if (!SWIG_IsOK(res1
)) {
28005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28007 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28009 if (!SWIG_IsOK(ecode2
)) {
28010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28012 arg2
= static_cast< int >(val2
);
28013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28014 if (!SWIG_IsOK(ecode3
)) {
28015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28017 arg3
= static_cast< int >(val3
);
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28020 (arg1
)->SetPPIScreen(arg2
,arg3
);
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 resultobj
= SWIG_Py_Void();
28031 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28032 PyObject
*resultobj
= 0;
28033 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28034 int *arg2
= (int *) 0 ;
28035 int *arg3
= (int *) 0 ;
28039 int res2
= SWIG_TMPOBJ
;
28041 int res3
= SWIG_TMPOBJ
;
28042 PyObject
*swig_obj
[1] ;
28046 if (!args
) SWIG_fail
;
28047 swig_obj
[0] = args
;
28048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28049 if (!SWIG_IsOK(res1
)) {
28050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28052 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28055 (arg1
)->GetPPIScreen(arg2
,arg3
);
28056 wxPyEndAllowThreads(__tstate
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28059 resultobj
= SWIG_Py_Void();
28060 if (SWIG_IsTmpObj(res2
)) {
28061 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28063 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28064 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28066 if (SWIG_IsTmpObj(res3
)) {
28067 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28069 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28070 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28078 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28079 PyObject
*resultobj
= 0;
28080 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28089 PyObject
* obj0
= 0 ;
28090 PyObject
* obj1
= 0 ;
28091 PyObject
* obj2
= 0 ;
28092 char * kwnames
[] = {
28093 (char *) "self",(char *) "x",(char *) "y", NULL
28096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28098 if (!SWIG_IsOK(res1
)) {
28099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28101 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28103 if (!SWIG_IsOK(ecode2
)) {
28104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28106 arg2
= static_cast< int >(val2
);
28107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28108 if (!SWIG_IsOK(ecode3
)) {
28109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28111 arg3
= static_cast< int >(val3
);
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= SWIG_Py_Void();
28125 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28126 PyObject
*resultobj
= 0;
28127 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28128 int *arg2
= (int *) 0 ;
28129 int *arg3
= (int *) 0 ;
28133 int res2
= SWIG_TMPOBJ
;
28135 int res3
= SWIG_TMPOBJ
;
28136 PyObject
*swig_obj
[1] ;
28140 if (!args
) SWIG_fail
;
28141 swig_obj
[0] = args
;
28142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28143 if (!SWIG_IsOK(res1
)) {
28144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28146 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28153 resultobj
= SWIG_Py_Void();
28154 if (SWIG_IsTmpObj(res2
)) {
28155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28157 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28160 if (SWIG_IsTmpObj(res3
)) {
28161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28163 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28172 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28173 PyObject
*resultobj
= 0;
28174 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28178 PyObject
*swig_obj
[1] ;
28180 if (!args
) SWIG_fail
;
28181 swig_obj
[0] = args
;
28182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28183 if (!SWIG_IsOK(res1
)) {
28184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28186 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= (bool)(arg1
)->IsPreview();
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28202 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28203 PyObject
*resultobj
= 0;
28204 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28210 PyObject
* obj0
= 0 ;
28211 PyObject
* obj1
= 0 ;
28212 char * kwnames
[] = {
28213 (char *) "self",(char *) "p", NULL
28216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28218 if (!SWIG_IsOK(res1
)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28221 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28222 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28223 if (!SWIG_IsOK(ecode2
)) {
28224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28226 arg2
= static_cast< bool >(val2
);
28228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28229 (arg1
)->SetIsPreview(arg2
);
28230 wxPyEndAllowThreads(__tstate
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= SWIG_Py_Void();
28240 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28241 PyObject
*resultobj
= 0;
28242 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28252 PyObject
* obj0
= 0 ;
28253 PyObject
* obj1
= 0 ;
28254 PyObject
* obj2
= 0 ;
28255 char * kwnames
[] = {
28256 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28261 if (!SWIG_IsOK(res1
)) {
28262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28264 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28266 if (!SWIG_IsOK(ecode2
)) {
28267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28269 arg2
= static_cast< int >(val2
);
28270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28271 if (!SWIG_IsOK(ecode3
)) {
28272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28274 arg3
= static_cast< int >(val3
);
28276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28277 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28290 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28291 PyObject
*resultobj
= 0;
28292 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28295 PyObject
*swig_obj
[1] ;
28297 if (!args
) SWIG_fail
;
28298 swig_obj
[0] = args
;
28299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28300 if (!SWIG_IsOK(res1
)) {
28301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28303 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 (arg1
)->OnEndDocument();
28307 wxPyEndAllowThreads(__tstate
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28310 resultobj
= SWIG_Py_Void();
28317 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28318 PyObject
*resultobj
= 0;
28319 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28322 PyObject
*swig_obj
[1] ;
28324 if (!args
) SWIG_fail
;
28325 swig_obj
[0] = args
;
28326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28327 if (!SWIG_IsOK(res1
)) {
28328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28330 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28333 (arg1
)->OnBeginPrinting();
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28337 resultobj
= SWIG_Py_Void();
28344 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28345 PyObject
*resultobj
= 0;
28346 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28349 PyObject
*swig_obj
[1] ;
28351 if (!args
) SWIG_fail
;
28352 swig_obj
[0] = args
;
28353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28354 if (!SWIG_IsOK(res1
)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28357 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 (arg1
)->OnEndPrinting();
28361 wxPyEndAllowThreads(__tstate
);
28362 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= SWIG_Py_Void();
28371 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28372 PyObject
*resultobj
= 0;
28373 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28376 PyObject
*swig_obj
[1] ;
28378 if (!args
) SWIG_fail
;
28379 swig_obj
[0] = args
;
28380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28381 if (!SWIG_IsOK(res1
)) {
28382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28384 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 (arg1
)->OnPreparePrinting();
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 resultobj
= SWIG_Py_Void();
28398 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
= 0;
28400 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28407 PyObject
* obj0
= 0 ;
28408 PyObject
* obj1
= 0 ;
28409 char * kwnames
[] = {
28410 (char *) "self",(char *) "page", NULL
28413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28415 if (!SWIG_IsOK(res1
)) {
28416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28418 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28420 if (!SWIG_IsOK(ecode2
)) {
28421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28423 arg2
= static_cast< int >(val2
);
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (bool)(arg1
)->HasPage(arg2
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28439 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28440 PyObject
*resultobj
= 0;
28441 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28442 int *arg2
= (int *) 0 ;
28443 int *arg3
= (int *) 0 ;
28444 int *arg4
= (int *) 0 ;
28445 int *arg5
= (int *) 0 ;
28449 int res2
= SWIG_TMPOBJ
;
28451 int res3
= SWIG_TMPOBJ
;
28453 int res4
= SWIG_TMPOBJ
;
28455 int res5
= SWIG_TMPOBJ
;
28456 PyObject
*swig_obj
[1] ;
28462 if (!args
) SWIG_fail
;
28463 swig_obj
[0] = args
;
28464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28465 if (!SWIG_IsOK(res1
)) {
28466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28468 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28475 resultobj
= SWIG_Py_Void();
28476 if (SWIG_IsTmpObj(res2
)) {
28477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28479 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28482 if (SWIG_IsTmpObj(res3
)) {
28483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28485 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28488 if (SWIG_IsTmpObj(res4
)) {
28489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28491 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28494 if (SWIG_IsTmpObj(res5
)) {
28495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28497 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28506 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28509 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28510 return SWIG_Py_Void();
28513 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28514 return SWIG_Python_InitShadowInstance(args
);
28517 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28518 PyObject
*resultobj
= 0;
28519 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28520 wxWindow
*arg2
= (wxWindow
*) 0 ;
28521 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28522 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28523 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28524 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28525 long arg5
= (long) 0 ;
28526 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28527 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28528 wxPreviewCanvas
*result
= 0 ;
28537 bool temp6
= false ;
28538 PyObject
* obj0
= 0 ;
28539 PyObject
* obj1
= 0 ;
28540 PyObject
* obj2
= 0 ;
28541 PyObject
* obj3
= 0 ;
28542 PyObject
* obj4
= 0 ;
28543 PyObject
* obj5
= 0 ;
28544 char * kwnames
[] = {
28545 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28550 if (!SWIG_IsOK(res1
)) {
28551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28553 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28554 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28555 if (!SWIG_IsOK(res2
)) {
28556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28558 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28562 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28568 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28572 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28573 if (!SWIG_IsOK(ecode5
)) {
28574 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28576 arg5
= static_cast< long >(val5
);
28580 arg6
= wxString_in_helper(obj5
);
28581 if (arg6
== NULL
) SWIG_fail
;
28586 if (!wxPyCheckForApp()) SWIG_fail
;
28587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28588 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28589 wxPyEndAllowThreads(__tstate
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28607 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28609 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28610 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28611 return SWIG_Py_Void();
28614 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28615 return SWIG_Python_InitShadowInstance(args
);
28618 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28619 PyObject
*resultobj
= 0;
28620 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28621 wxFrame
*arg2
= (wxFrame
*) 0 ;
28622 wxString
*arg3
= 0 ;
28623 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28624 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28625 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28626 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28627 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28628 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28629 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28630 wxPreviewFrame
*result
= 0 ;
28634 bool temp3
= false ;
28639 bool temp7
= false ;
28640 PyObject
* obj0
= 0 ;
28641 PyObject
* obj1
= 0 ;
28642 PyObject
* obj2
= 0 ;
28643 PyObject
* obj3
= 0 ;
28644 PyObject
* obj4
= 0 ;
28645 PyObject
* obj5
= 0 ;
28646 PyObject
* obj6
= 0 ;
28647 char * kwnames
[] = {
28648 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28652 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28653 if (!SWIG_IsOK(res1
)) {
28654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28657 if (!SWIG_IsOK(res2
)) {
28658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28660 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28662 arg3
= wxString_in_helper(obj2
);
28663 if (arg3
== NULL
) SWIG_fail
;
28669 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28675 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28679 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28680 if (!SWIG_IsOK(ecode6
)) {
28681 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28683 arg6
= static_cast< long >(val6
);
28687 arg7
= wxString_in_helper(obj6
);
28688 if (arg7
== NULL
) SWIG_fail
;
28693 if (!wxPyCheckForApp()) SWIG_fail
;
28694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28695 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28722 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28723 PyObject
*resultobj
= 0;
28724 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28727 PyObject
*swig_obj
[1] ;
28729 if (!args
) SWIG_fail
;
28730 swig_obj
[0] = args
;
28731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28732 if (!SWIG_IsOK(res1
)) {
28733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28735 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 (arg1
)->Initialize();
28739 wxPyEndAllowThreads(__tstate
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28742 resultobj
= SWIG_Py_Void();
28749 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28750 PyObject
*resultobj
= 0;
28751 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28754 PyObject
*swig_obj
[1] ;
28756 if (!args
) SWIG_fail
;
28757 swig_obj
[0] = args
;
28758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28759 if (!SWIG_IsOK(res1
)) {
28760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28762 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28765 (arg1
)->CreateControlBar();
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28769 resultobj
= SWIG_Py_Void();
28776 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28777 PyObject
*resultobj
= 0;
28778 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28781 PyObject
*swig_obj
[1] ;
28783 if (!args
) SWIG_fail
;
28784 swig_obj
[0] = args
;
28785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28786 if (!SWIG_IsOK(res1
)) {
28787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28789 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28792 (arg1
)->CreateCanvas();
28793 wxPyEndAllowThreads(__tstate
);
28794 if (PyErr_Occurred()) SWIG_fail
;
28796 resultobj
= SWIG_Py_Void();
28803 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28804 PyObject
*resultobj
= 0;
28805 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28806 wxPreviewControlBar
*result
= 0 ;
28809 PyObject
*swig_obj
[1] ;
28811 if (!args
) SWIG_fail
;
28812 swig_obj
[0] = args
;
28813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28814 if (!SWIG_IsOK(res1
)) {
28815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28817 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28820 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28831 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28834 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28835 return SWIG_Py_Void();
28838 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28839 return SWIG_Python_InitShadowInstance(args
);
28842 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28843 PyObject
*resultobj
= 0;
28844 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28846 wxWindow
*arg3
= (wxWindow
*) 0 ;
28847 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28848 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28849 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28850 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28851 long arg6
= (long) wxTAB_TRAVERSAL
;
28852 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28853 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28854 wxPreviewControlBar
*result
= 0 ;
28865 bool temp7
= false ;
28866 PyObject
* obj0
= 0 ;
28867 PyObject
* obj1
= 0 ;
28868 PyObject
* obj2
= 0 ;
28869 PyObject
* obj3
= 0 ;
28870 PyObject
* obj4
= 0 ;
28871 PyObject
* obj5
= 0 ;
28872 PyObject
* obj6
= 0 ;
28873 char * kwnames
[] = {
28874 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28879 if (!SWIG_IsOK(res1
)) {
28880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28882 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28883 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28884 if (!SWIG_IsOK(ecode2
)) {
28885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28887 arg2
= static_cast< long >(val2
);
28888 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28889 if (!SWIG_IsOK(res3
)) {
28890 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28892 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28896 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28902 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28906 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28907 if (!SWIG_IsOK(ecode6
)) {
28908 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28910 arg6
= static_cast< long >(val6
);
28914 arg7
= wxString_in_helper(obj6
);
28915 if (arg7
== NULL
) SWIG_fail
;
28920 if (!wxPyCheckForApp()) SWIG_fail
;
28921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28922 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28923 wxPyEndAllowThreads(__tstate
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28941 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28942 PyObject
*resultobj
= 0;
28943 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28947 PyObject
*swig_obj
[1] ;
28949 if (!args
) SWIG_fail
;
28950 swig_obj
[0] = args
;
28951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28952 if (!SWIG_IsOK(res1
)) {
28953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28955 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 result
= (int)(arg1
)->GetZoomControl();
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= SWIG_From_int(static_cast< int >(result
));
28969 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
= 0;
28971 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28977 PyObject
* obj0
= 0 ;
28978 PyObject
* obj1
= 0 ;
28979 char * kwnames
[] = {
28980 (char *) "self",(char *) "zoom", NULL
28983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28985 if (!SWIG_IsOK(res1
)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28988 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28990 if (!SWIG_IsOK(ecode2
)) {
28991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28993 arg2
= static_cast< int >(val2
);
28995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28996 (arg1
)->SetZoomControl(arg2
);
28997 wxPyEndAllowThreads(__tstate
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= SWIG_Py_Void();
29007 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29008 PyObject
*resultobj
= 0;
29009 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29010 wxPrintPreview
*result
= 0 ;
29013 PyObject
*swig_obj
[1] ;
29015 if (!args
) SWIG_fail
;
29016 swig_obj
[0] = args
;
29017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29018 if (!SWIG_IsOK(res1
)) {
29019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29021 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29025 wxPyEndAllowThreads(__tstate
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29035 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29036 PyObject
*resultobj
= 0;
29037 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29040 PyObject
*swig_obj
[1] ;
29042 if (!args
) SWIG_fail
;
29043 swig_obj
[0] = args
;
29044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29045 if (!SWIG_IsOK(res1
)) {
29046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29048 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29052 wxPyEndAllowThreads(__tstate
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29055 resultobj
= SWIG_Py_Void();
29062 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29063 PyObject
*resultobj
= 0;
29064 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29067 PyObject
*swig_obj
[1] ;
29069 if (!args
) SWIG_fail
;
29070 swig_obj
[0] = args
;
29071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29072 if (!SWIG_IsOK(res1
)) {
29073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29075 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 (arg1
)->OnPrevious();
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= SWIG_Py_Void();
29089 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29090 PyObject
*resultobj
= 0;
29091 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29094 PyObject
*swig_obj
[1] ;
29096 if (!args
) SWIG_fail
;
29097 swig_obj
[0] = args
;
29098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29099 if (!SWIG_IsOK(res1
)) {
29100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29102 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29109 resultobj
= SWIG_Py_Void();
29116 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29117 PyObject
*resultobj
= 0;
29118 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29121 PyObject
*swig_obj
[1] ;
29123 if (!args
) SWIG_fail
;
29124 swig_obj
[0] = args
;
29125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29126 if (!SWIG_IsOK(res1
)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29129 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 wxPyEndAllowThreads(__tstate
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29136 resultobj
= SWIG_Py_Void();
29143 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29144 PyObject
*resultobj
= 0;
29145 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29148 PyObject
*swig_obj
[1] ;
29150 if (!args
) SWIG_fail
;
29151 swig_obj
[0] = args
;
29152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29153 if (!SWIG_IsOK(res1
)) {
29154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29156 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 wxPyEndAllowThreads(__tstate
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29163 resultobj
= SWIG_Py_Void();
29170 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29173 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29174 return SWIG_Py_Void();
29177 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29178 return SWIG_Python_InitShadowInstance(args
);
29181 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29182 PyObject
*resultobj
= 0;
29183 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29184 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29185 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29186 wxPrintPreview
*result
= 0 ;
29192 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29193 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29194 if (!SWIG_IsOK(res1
)) {
29195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29197 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29198 if (!SWIG_IsOK(res2
)) {
29199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29202 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29203 if (!SWIG_IsOK(res3
)) {
29204 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29206 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29209 if (!wxPyCheckForApp()) SWIG_fail
;
29210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29211 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29212 wxPyEndAllowThreads(__tstate
);
29213 if (PyErr_Occurred()) SWIG_fail
;
29215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29222 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29223 PyObject
*resultobj
= 0;
29224 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29225 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29226 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29227 wxPrintPreview
*result
= 0 ;
29233 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29234 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29235 if (!SWIG_IsOK(res1
)) {
29236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29238 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29239 if (!SWIG_IsOK(res2
)) {
29240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29242 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29243 if (!SWIG_IsOK(res3
)) {
29244 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29246 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29248 if (!wxPyCheckForApp()) SWIG_fail
;
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29251 wxPyEndAllowThreads(__tstate
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29261 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29265 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29267 if ((argc
>= 2) && (argc
<= 3)) {
29272 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29273 _v
= SWIG_CheckState(res
);
29275 if (!_v
) goto check_1
;
29277 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29282 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29286 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29291 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29292 PyObject
*resultobj
= 0;
29293 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29296 PyObject
*swig_obj
[1] ;
29298 if (!args
) SWIG_fail
;
29299 swig_obj
[0] = args
;
29300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29301 if (!SWIG_IsOK(res1
)) {
29302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29304 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29312 resultobj
= SWIG_Py_Void();
29319 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29320 PyObject
*resultobj
= 0;
29321 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29328 PyObject
* obj0
= 0 ;
29329 PyObject
* obj1
= 0 ;
29330 char * kwnames
[] = {
29331 (char *) "self",(char *) "pageNum", NULL
29334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29336 if (!SWIG_IsOK(res1
)) {
29337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29339 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29341 if (!SWIG_IsOK(ecode2
)) {
29342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29344 arg2
= static_cast< int >(val2
);
29346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29348 wxPyEndAllowThreads(__tstate
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29360 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29361 PyObject
*resultobj
= 0;
29362 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29366 PyObject
*swig_obj
[1] ;
29368 if (!args
) SWIG_fail
;
29369 swig_obj
[0] = args
;
29370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29371 if (!SWIG_IsOK(res1
)) {
29372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29374 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29377 result
= (int)(arg1
)->GetCurrentPage();
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 resultobj
= SWIG_From_int(static_cast< int >(result
));
29388 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
= 0;
29390 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29391 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29395 PyObject
* obj0
= 0 ;
29396 PyObject
* obj1
= 0 ;
29397 char * kwnames
[] = {
29398 (char *) "self",(char *) "printout", NULL
29401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29403 if (!SWIG_IsOK(res1
)) {
29404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29406 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29407 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29408 if (!SWIG_IsOK(res2
)) {
29409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29413 (arg1
)->SetPrintout(arg2
);
29414 wxPyEndAllowThreads(__tstate
);
29415 if (PyErr_Occurred()) SWIG_fail
;
29417 resultobj
= SWIG_Py_Void();
29424 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29425 PyObject
*resultobj
= 0;
29426 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29427 wxPyPrintout
*result
= 0 ;
29430 PyObject
*swig_obj
[1] ;
29432 if (!args
) SWIG_fail
;
29433 swig_obj
[0] = args
;
29434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29435 if (!SWIG_IsOK(res1
)) {
29436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29438 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29442 wxPyEndAllowThreads(__tstate
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= wxPyMake_wxObject(result
, 0);
29454 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29455 PyObject
*resultobj
= 0;
29456 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29457 wxPyPrintout
*result
= 0 ;
29460 PyObject
*swig_obj
[1] ;
29462 if (!args
) SWIG_fail
;
29463 swig_obj
[0] = args
;
29464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29465 if (!SWIG_IsOK(res1
)) {
29466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29468 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29471 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29476 resultobj
= wxPyMake_wxObject(result
, 0);
29484 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29485 PyObject
*resultobj
= 0;
29486 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29487 wxFrame
*arg2
= (wxFrame
*) 0 ;
29492 PyObject
* obj0
= 0 ;
29493 PyObject
* obj1
= 0 ;
29494 char * kwnames
[] = {
29495 (char *) "self",(char *) "frame", NULL
29498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29500 if (!SWIG_IsOK(res1
)) {
29501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29503 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29504 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29505 if (!SWIG_IsOK(res2
)) {
29506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29508 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29511 (arg1
)->SetFrame(arg2
);
29512 wxPyEndAllowThreads(__tstate
);
29513 if (PyErr_Occurred()) SWIG_fail
;
29515 resultobj
= SWIG_Py_Void();
29522 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29523 PyObject
*resultobj
= 0;
29524 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29525 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29530 PyObject
* obj0
= 0 ;
29531 PyObject
* obj1
= 0 ;
29532 char * kwnames
[] = {
29533 (char *) "self",(char *) "canvas", NULL
29536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29538 if (!SWIG_IsOK(res1
)) {
29539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29541 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29542 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29543 if (!SWIG_IsOK(res2
)) {
29544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29546 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 (arg1
)->SetCanvas(arg2
);
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29553 resultobj
= SWIG_Py_Void();
29560 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29561 PyObject
*resultobj
= 0;
29562 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29563 wxFrame
*result
= 0 ;
29566 PyObject
*swig_obj
[1] ;
29568 if (!args
) SWIG_fail
;
29569 swig_obj
[0] = args
;
29570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29571 if (!SWIG_IsOK(res1
)) {
29572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29574 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29577 result
= (wxFrame
*)(arg1
)->GetFrame();
29578 wxPyEndAllowThreads(__tstate
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29582 resultobj
= wxPyMake_wxObject(result
, 0);
29590 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29591 PyObject
*resultobj
= 0;
29592 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29593 wxPreviewCanvas
*result
= 0 ;
29596 PyObject
*swig_obj
[1] ;
29598 if (!args
) SWIG_fail
;
29599 swig_obj
[0] = args
;
29600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29601 if (!SWIG_IsOK(res1
)) {
29602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29604 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29608 wxPyEndAllowThreads(__tstate
);
29609 if (PyErr_Occurred()) SWIG_fail
;
29611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29618 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29619 PyObject
*resultobj
= 0;
29620 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29621 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29630 PyObject
* obj0
= 0 ;
29631 PyObject
* obj1
= 0 ;
29632 PyObject
* obj2
= 0 ;
29633 char * kwnames
[] = {
29634 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29639 if (!SWIG_IsOK(res1
)) {
29640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29642 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29644 if (!SWIG_IsOK(res2
)) {
29645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29647 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29648 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29649 if (!SWIG_IsOK(res3
)) {
29650 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29655 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29658 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29671 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29672 PyObject
*resultobj
= 0;
29673 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29674 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29683 PyObject
* obj0
= 0 ;
29684 PyObject
* obj1
= 0 ;
29685 PyObject
* obj2
= 0 ;
29686 char * kwnames
[] = {
29687 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29692 if (!SWIG_IsOK(res1
)) {
29693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29695 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29696 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29697 if (!SWIG_IsOK(res2
)) {
29698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29700 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29701 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29702 if (!SWIG_IsOK(res3
)) {
29703 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29708 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29711 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29724 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
= 0;
29726 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29733 PyObject
* obj0
= 0 ;
29734 PyObject
* obj1
= 0 ;
29735 char * kwnames
[] = {
29736 (char *) "self",(char *) "pageNum", NULL
29739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29741 if (!SWIG_IsOK(res1
)) {
29742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29744 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29746 if (!SWIG_IsOK(ecode2
)) {
29747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29749 arg2
= static_cast< int >(val2
);
29751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29752 result
= (bool)(arg1
)->RenderPage(arg2
);
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29765 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29766 PyObject
*resultobj
= 0;
29767 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29768 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29773 PyObject
* obj0
= 0 ;
29774 PyObject
* obj1
= 0 ;
29775 char * kwnames
[] = {
29776 (char *) "self",(char *) "canvas", NULL
29779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29781 if (!SWIG_IsOK(res1
)) {
29782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29784 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29785 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29786 if (!SWIG_IsOK(res2
)) {
29787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29789 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 (arg1
)->AdjustScrollbars(arg2
);
29793 wxPyEndAllowThreads(__tstate
);
29794 if (PyErr_Occurred()) SWIG_fail
;
29796 resultobj
= SWIG_Py_Void();
29803 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29804 PyObject
*resultobj
= 0;
29805 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29806 wxPrintDialogData
*result
= 0 ;
29809 PyObject
*swig_obj
[1] ;
29811 if (!args
) SWIG_fail
;
29812 swig_obj
[0] = args
;
29813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29814 if (!SWIG_IsOK(res1
)) {
29815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29817 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29822 result
= (wxPrintDialogData
*) &_result_ref
;
29824 wxPyEndAllowThreads(__tstate
);
29825 if (PyErr_Occurred()) SWIG_fail
;
29827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29834 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29835 PyObject
*resultobj
= 0;
29836 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29842 PyObject
* obj0
= 0 ;
29843 PyObject
* obj1
= 0 ;
29844 char * kwnames
[] = {
29845 (char *) "self",(char *) "percent", NULL
29848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29850 if (!SWIG_IsOK(res1
)) {
29851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29853 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29855 if (!SWIG_IsOK(ecode2
)) {
29856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29858 arg2
= static_cast< int >(val2
);
29860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29861 (arg1
)->SetZoom(arg2
);
29862 wxPyEndAllowThreads(__tstate
);
29863 if (PyErr_Occurred()) SWIG_fail
;
29865 resultobj
= SWIG_Py_Void();
29872 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29873 PyObject
*resultobj
= 0;
29874 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29878 PyObject
*swig_obj
[1] ;
29880 if (!args
) SWIG_fail
;
29881 swig_obj
[0] = args
;
29882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29883 if (!SWIG_IsOK(res1
)) {
29884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29886 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29889 result
= (int)(arg1
)->GetZoom();
29890 wxPyEndAllowThreads(__tstate
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29893 resultobj
= SWIG_From_int(static_cast< int >(result
));
29900 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29901 PyObject
*resultobj
= 0;
29902 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29906 PyObject
*swig_obj
[1] ;
29908 if (!args
) SWIG_fail
;
29909 swig_obj
[0] = args
;
29910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29911 if (!SWIG_IsOK(res1
)) {
29912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29914 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 result
= (int)(arg1
)->GetMaxPage();
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29921 resultobj
= SWIG_From_int(static_cast< int >(result
));
29928 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29929 PyObject
*resultobj
= 0;
29930 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29934 PyObject
*swig_obj
[1] ;
29936 if (!args
) SWIG_fail
;
29937 swig_obj
[0] = args
;
29938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29939 if (!SWIG_IsOK(res1
)) {
29940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29942 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29945 result
= (int)(arg1
)->GetMinPage();
29946 wxPyEndAllowThreads(__tstate
);
29947 if (PyErr_Occurred()) SWIG_fail
;
29949 resultobj
= SWIG_From_int(static_cast< int >(result
));
29956 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29957 PyObject
*resultobj
= 0;
29958 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29962 PyObject
*swig_obj
[1] ;
29964 if (!args
) SWIG_fail
;
29965 swig_obj
[0] = args
;
29966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29967 if (!SWIG_IsOK(res1
)) {
29968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29970 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 result
= (bool)(arg1
)->Ok();
29974 wxPyEndAllowThreads(__tstate
);
29975 if (PyErr_Occurred()) SWIG_fail
;
29978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29986 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29987 PyObject
*resultobj
= 0;
29988 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29994 PyObject
* obj0
= 0 ;
29995 PyObject
* obj1
= 0 ;
29996 char * kwnames
[] = {
29997 (char *) "self",(char *) "ok", NULL
30000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30002 if (!SWIG_IsOK(res1
)) {
30003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30005 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30006 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30007 if (!SWIG_IsOK(ecode2
)) {
30008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30010 arg2
= static_cast< bool >(val2
);
30012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30013 (arg1
)->SetOk(arg2
);
30014 wxPyEndAllowThreads(__tstate
);
30015 if (PyErr_Occurred()) SWIG_fail
;
30017 resultobj
= SWIG_Py_Void();
30024 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30025 PyObject
*resultobj
= 0;
30026 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30033 PyObject
* obj0
= 0 ;
30034 PyObject
* obj1
= 0 ;
30035 char * kwnames
[] = {
30036 (char *) "self",(char *) "interactive", NULL
30039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30041 if (!SWIG_IsOK(res1
)) {
30042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30044 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30045 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30046 if (!SWIG_IsOK(ecode2
)) {
30047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30049 arg2
= static_cast< bool >(val2
);
30051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30052 result
= (bool)(arg1
)->Print(arg2
);
30053 wxPyEndAllowThreads(__tstate
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30065 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30066 PyObject
*resultobj
= 0;
30067 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30070 PyObject
*swig_obj
[1] ;
30072 if (!args
) SWIG_fail
;
30073 swig_obj
[0] = args
;
30074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30075 if (!SWIG_IsOK(res1
)) {
30076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30078 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30081 (arg1
)->DetermineScaling();
30082 wxPyEndAllowThreads(__tstate
);
30083 if (PyErr_Occurred()) SWIG_fail
;
30085 resultobj
= SWIG_Py_Void();
30092 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30095 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30096 return SWIG_Py_Void();
30099 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30100 return SWIG_Python_InitShadowInstance(args
);
30103 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30104 PyObject
*resultobj
= 0;
30105 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30106 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30107 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30108 wxPyPrintPreview
*result
= 0 ;
30114 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30115 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30116 if (!SWIG_IsOK(res1
)) {
30117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30119 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30120 if (!SWIG_IsOK(res2
)) {
30121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30124 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30125 if (!SWIG_IsOK(res3
)) {
30126 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30128 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30131 if (!wxPyCheckForApp()) SWIG_fail
;
30132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30133 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30144 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30145 PyObject
*resultobj
= 0;
30146 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30147 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30148 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30149 wxPyPrintPreview
*result
= 0 ;
30155 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30156 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30157 if (!SWIG_IsOK(res1
)) {
30158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30160 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30161 if (!SWIG_IsOK(res2
)) {
30162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30164 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30165 if (!SWIG_IsOK(res3
)) {
30166 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30168 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30170 if (!wxPyCheckForApp()) SWIG_fail
;
30171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30172 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30173 wxPyEndAllowThreads(__tstate
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30183 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30187 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30189 if ((argc
>= 2) && (argc
<= 3)) {
30194 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30195 _v
= SWIG_CheckState(res
);
30197 if (!_v
) goto check_1
;
30199 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30204 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30208 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30213 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30214 PyObject
*resultobj
= 0;
30215 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30216 PyObject
*arg2
= (PyObject
*) 0 ;
30217 PyObject
*arg3
= (PyObject
*) 0 ;
30220 PyObject
* obj0
= 0 ;
30221 PyObject
* obj1
= 0 ;
30222 PyObject
* obj2
= 0 ;
30223 char * kwnames
[] = {
30224 (char *) "self",(char *) "self",(char *) "_class", NULL
30227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30229 if (!SWIG_IsOK(res1
)) {
30230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30232 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 resultobj
= SWIG_Py_Void();
30248 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30251 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30252 return SWIG_Py_Void();
30255 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30256 return SWIG_Python_InitShadowInstance(args
);
30259 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30260 PyObject
*resultobj
= 0;
30261 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30262 wxFrame
*arg2
= (wxFrame
*) 0 ;
30263 wxString
*arg3
= 0 ;
30264 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30265 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30266 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30267 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30268 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30269 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30270 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30271 wxPyPreviewFrame
*result
= 0 ;
30276 bool temp3
= false ;
30281 bool temp7
= false ;
30282 PyObject
* obj0
= 0 ;
30283 PyObject
* obj1
= 0 ;
30284 PyObject
* obj2
= 0 ;
30285 PyObject
* obj3
= 0 ;
30286 PyObject
* obj4
= 0 ;
30287 PyObject
* obj5
= 0 ;
30288 PyObject
* obj6
= 0 ;
30289 char * kwnames
[] = {
30290 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30295 if (!SWIG_IsOK(res1
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30298 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30299 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30300 if (!SWIG_IsOK(res2
)) {
30301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30303 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30305 arg3
= wxString_in_helper(obj2
);
30306 if (arg3
== NULL
) SWIG_fail
;
30312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30322 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30323 if (!SWIG_IsOK(ecode6
)) {
30324 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30326 arg6
= static_cast< long >(val6
);
30330 arg7
= wxString_in_helper(obj6
);
30331 if (arg7
== NULL
) SWIG_fail
;
30336 if (!wxPyCheckForApp()) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30339 wxPyEndAllowThreads(__tstate
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30365 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
= 0;
30367 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30368 PyObject
*arg2
= (PyObject
*) 0 ;
30369 PyObject
*arg3
= (PyObject
*) 0 ;
30372 PyObject
* obj0
= 0 ;
30373 PyObject
* obj1
= 0 ;
30374 PyObject
* obj2
= 0 ;
30375 char * kwnames
[] = {
30376 (char *) "self",(char *) "self",(char *) "_class", NULL
30379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30381 if (!SWIG_IsOK(res1
)) {
30382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30384 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30389 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30393 resultobj
= SWIG_Py_Void();
30400 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30401 PyObject
*resultobj
= 0;
30402 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30403 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30408 PyObject
* obj0
= 0 ;
30409 PyObject
* obj1
= 0 ;
30410 char * kwnames
[] = {
30411 (char *) "self",(char *) "canvas", NULL
30414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30416 if (!SWIG_IsOK(res1
)) {
30417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30419 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30421 if (!SWIG_IsOK(res2
)) {
30422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30424 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30427 (arg1
)->SetPreviewCanvas(arg2
);
30428 wxPyEndAllowThreads(__tstate
);
30429 if (PyErr_Occurred()) SWIG_fail
;
30431 resultobj
= SWIG_Py_Void();
30438 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30439 PyObject
*resultobj
= 0;
30440 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30441 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30446 PyObject
* obj0
= 0 ;
30447 PyObject
* obj1
= 0 ;
30448 char * kwnames
[] = {
30449 (char *) "self",(char *) "bar", NULL
30452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30454 if (!SWIG_IsOK(res1
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30457 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30459 if (!SWIG_IsOK(res2
)) {
30460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30462 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 (arg1
)->SetControlBar(arg2
);
30466 wxPyEndAllowThreads(__tstate
);
30467 if (PyErr_Occurred()) SWIG_fail
;
30469 resultobj
= SWIG_Py_Void();
30476 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30477 PyObject
*resultobj
= 0;
30478 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30481 PyObject
*swig_obj
[1] ;
30483 if (!args
) SWIG_fail
;
30484 swig_obj
[0] = args
;
30485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30486 if (!SWIG_IsOK(res1
)) {
30487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30489 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30492 (arg1
)->Initialize();
30493 wxPyEndAllowThreads(__tstate
);
30494 if (PyErr_Occurred()) SWIG_fail
;
30496 resultobj
= SWIG_Py_Void();
30503 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30504 PyObject
*resultobj
= 0;
30505 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30508 PyObject
*swig_obj
[1] ;
30510 if (!args
) SWIG_fail
;
30511 swig_obj
[0] = args
;
30512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30513 if (!SWIG_IsOK(res1
)) {
30514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30516 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30519 (arg1
)->CreateCanvas();
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 resultobj
= SWIG_Py_Void();
30530 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30531 PyObject
*resultobj
= 0;
30532 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30535 PyObject
*swig_obj
[1] ;
30537 if (!args
) SWIG_fail
;
30538 swig_obj
[0] = args
;
30539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30540 if (!SWIG_IsOK(res1
)) {
30541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30543 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30546 (arg1
)->CreateControlBar();
30547 wxPyEndAllowThreads(__tstate
);
30548 if (PyErr_Occurred()) SWIG_fail
;
30550 resultobj
= SWIG_Py_Void();
30557 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30560 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30561 return SWIG_Py_Void();
30564 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30565 return SWIG_Python_InitShadowInstance(args
);
30568 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30569 PyObject
*resultobj
= 0;
30570 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30572 wxWindow
*arg3
= (wxWindow
*) 0 ;
30573 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30574 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30575 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30576 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30577 long arg6
= (long) 0 ;
30578 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30579 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30580 wxPyPreviewControlBar
*result
= 0 ;
30591 bool temp7
= false ;
30592 PyObject
* obj0
= 0 ;
30593 PyObject
* obj1
= 0 ;
30594 PyObject
* obj2
= 0 ;
30595 PyObject
* obj3
= 0 ;
30596 PyObject
* obj4
= 0 ;
30597 PyObject
* obj5
= 0 ;
30598 PyObject
* obj6
= 0 ;
30599 char * kwnames
[] = {
30600 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30605 if (!SWIG_IsOK(res1
)) {
30606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30608 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30609 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30610 if (!SWIG_IsOK(ecode2
)) {
30611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30613 arg2
= static_cast< long >(val2
);
30614 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30615 if (!SWIG_IsOK(res3
)) {
30616 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30618 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30622 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30628 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30632 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30633 if (!SWIG_IsOK(ecode6
)) {
30634 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30636 arg6
= static_cast< long >(val6
);
30640 arg7
= wxString_in_helper(obj6
);
30641 if (arg7
== NULL
) SWIG_fail
;
30646 if (!wxPyCheckForApp()) SWIG_fail
;
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30649 wxPyEndAllowThreads(__tstate
);
30650 if (PyErr_Occurred()) SWIG_fail
;
30652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30667 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30668 PyObject
*resultobj
= 0;
30669 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30670 PyObject
*arg2
= (PyObject
*) 0 ;
30671 PyObject
*arg3
= (PyObject
*) 0 ;
30674 PyObject
* obj0
= 0 ;
30675 PyObject
* obj1
= 0 ;
30676 PyObject
* obj2
= 0 ;
30677 char * kwnames
[] = {
30678 (char *) "self",(char *) "self",(char *) "_class", NULL
30681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30683 if (!SWIG_IsOK(res1
)) {
30684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30686 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30691 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30692 wxPyEndAllowThreads(__tstate
);
30693 if (PyErr_Occurred()) SWIG_fail
;
30695 resultobj
= SWIG_Py_Void();
30702 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30703 PyObject
*resultobj
= 0;
30704 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30705 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30710 PyObject
* obj0
= 0 ;
30711 PyObject
* obj1
= 0 ;
30712 char * kwnames
[] = {
30713 (char *) "self",(char *) "preview", NULL
30716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30718 if (!SWIG_IsOK(res1
)) {
30719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30721 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30723 if (!SWIG_IsOK(res2
)) {
30724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30726 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30729 (arg1
)->SetPrintPreview(arg2
);
30730 wxPyEndAllowThreads(__tstate
);
30731 if (PyErr_Occurred()) SWIG_fail
;
30733 resultobj
= SWIG_Py_Void();
30740 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30741 PyObject
*resultobj
= 0;
30742 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30745 PyObject
*swig_obj
[1] ;
30747 if (!args
) SWIG_fail
;
30748 swig_obj
[0] = args
;
30749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30750 if (!SWIG_IsOK(res1
)) {
30751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30753 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30756 (arg1
)->CreateButtons();
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30760 resultobj
= SWIG_Py_Void();
30767 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30768 PyObject
*resultobj
= 0;
30769 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30775 PyObject
* obj0
= 0 ;
30776 PyObject
* obj1
= 0 ;
30777 char * kwnames
[] = {
30778 (char *) "self",(char *) "zoom", NULL
30781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30783 if (!SWIG_IsOK(res1
)) {
30784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30786 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30788 if (!SWIG_IsOK(ecode2
)) {
30789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30791 arg2
= static_cast< int >(val2
);
30793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30794 (arg1
)->SetZoomControl(arg2
);
30795 wxPyEndAllowThreads(__tstate
);
30796 if (PyErr_Occurred()) SWIG_fail
;
30798 resultobj
= SWIG_Py_Void();
30805 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30808 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30809 return SWIG_Py_Void();
30812 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30813 return SWIG_Python_InitShadowInstance(args
);
30816 static PyMethodDef SwigMethods
[] = {
30817 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30818 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30819 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30821 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30822 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30823 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30824 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30826 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30827 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30831 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30833 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30834 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30835 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30837 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30838 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30839 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30840 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30841 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30844 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30846 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30849 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30850 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30852 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30854 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30855 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30856 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30857 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30859 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30860 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30861 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30863 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30864 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30866 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30868 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
30871 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30872 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
30874 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30875 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30876 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30877 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30879 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30881 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30884 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30887 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30888 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30891 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30893 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30896 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30897 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30898 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30899 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30901 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30904 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30905 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30906 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30907 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30908 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30912 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30913 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30914 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30916 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30917 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30919 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30921 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30922 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30925 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30926 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30927 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30929 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30930 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30931 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30932 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30933 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30934 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30935 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30938 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30939 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30947 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30948 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30950 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30951 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30953 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30955 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30956 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30957 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30958 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30964 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30965 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30968 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30969 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30971 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30973 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30975 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30977 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30978 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30979 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30981 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30982 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30985 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30986 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30987 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30988 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30989 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30990 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30992 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31000 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31002 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31005 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31006 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31009 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31010 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31012 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31013 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31014 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31017 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31019 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31021 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31022 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31023 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31026 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31028 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31030 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31032 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31034 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31035 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31036 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31039 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31041 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31042 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31043 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31045 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31047 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31048 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31052 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31053 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31054 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31055 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31059 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31060 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31062 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31063 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31064 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31066 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31067 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31068 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31071 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31072 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31073 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31075 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31084 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31085 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31086 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31087 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31089 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31090 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31093 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31094 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31096 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31099 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31100 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31101 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31104 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31105 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31107 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31108 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31110 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31115 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31116 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31122 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31123 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31125 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31129 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31131 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31132 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31133 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31134 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31136 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31137 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31138 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31140 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31142 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31143 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31145 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31146 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31147 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31148 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31149 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31150 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31155 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31156 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31158 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31159 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31160 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31163 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31164 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31167 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31168 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31176 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31177 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31178 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31179 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31180 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31181 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31182 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31183 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31184 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31185 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31188 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31189 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31190 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31192 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31193 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31195 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31196 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31198 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31200 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31201 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31203 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31204 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31206 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31207 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31208 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31209 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31210 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31212 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31213 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31214 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31215 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31216 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31217 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31224 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31225 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31227 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31228 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31229 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31232 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31233 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"ProgressDialog_UpdatePulse", (PyCFunction
) _wrap_ProgressDialog_UpdatePulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31237 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31238 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31239 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31241 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31242 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31243 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31244 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31248 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31249 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31251 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31252 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31253 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31254 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31258 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31259 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31261 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31263 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31265 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31266 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31268 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31270 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31271 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31272 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31273 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31274 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31275 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31276 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31278 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31279 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31281 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31283 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31284 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31285 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31287 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31289 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31290 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31292 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31300 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31301 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31302 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31303 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31304 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31305 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31306 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31307 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31308 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31310 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31314 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31318 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31319 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31320 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31321 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31322 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31323 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31324 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31325 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31326 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31328 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31336 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31337 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31338 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31339 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31340 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31341 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31342 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31343 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31344 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31345 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31346 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31347 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31348 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31349 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31350 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31351 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31352 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31353 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31354 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31355 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31356 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31357 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31358 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31370 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31372 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31374 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31375 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31376 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31377 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31383 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31384 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31385 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31386 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31387 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31388 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31389 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31390 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31391 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31392 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31393 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31394 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31395 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31396 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31397 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31407 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31408 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31409 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31410 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31412 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31413 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31414 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31415 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31416 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31417 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31418 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31419 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31420 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31421 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31422 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31423 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31424 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31425 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31426 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31427 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31428 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31442 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31443 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31444 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31445 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31446 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31447 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31449 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31450 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31452 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31453 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31454 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31455 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31456 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31457 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31458 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31460 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31466 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31467 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31468 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31469 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31470 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31472 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31474 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31475 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31478 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31480 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31482 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31484 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31485 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31488 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31489 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31490 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31491 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31493 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31494 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31495 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31497 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31498 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31500 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31501 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31502 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31503 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31504 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31505 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31507 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31509 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31510 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31511 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31512 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31513 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31514 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31515 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31516 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31517 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31518 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31520 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31522 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31523 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31526 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31527 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31532 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31534 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31535 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31536 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31537 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31540 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31541 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31542 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31543 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31545 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31546 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31551 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31552 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31553 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31554 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31555 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31559 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31561 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31562 { NULL
, NULL
, 0, NULL
}
31566 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31568 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31569 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31571 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31572 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31574 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31575 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31577 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31578 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31580 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31581 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31583 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31584 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31586 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31587 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31589 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31590 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31592 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31593 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31595 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31596 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31598 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31599 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31601 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31602 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31604 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
31605 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
31607 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31608 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31610 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31611 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31613 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31614 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31616 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31617 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31619 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31620 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31622 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31623 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31625 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31626 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31628 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31629 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31631 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31632 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31634 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31635 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31637 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31638 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31640 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31641 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31643 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31644 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31646 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31647 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31649 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31650 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31652 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31653 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31655 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31656 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31658 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31659 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31661 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31662 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31664 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31665 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31667 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31668 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31670 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31671 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31673 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31674 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31676 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31677 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31679 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31680 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31682 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31683 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31685 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31686 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31688 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31689 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31691 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31692 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31694 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31695 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31697 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31698 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31700 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31701 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31703 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31704 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31706 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31707 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31709 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31712 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31715 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31718 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31719 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31721 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31722 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31724 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31725 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31727 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31728 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31730 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31733 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31736 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31737 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31739 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31740 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31742 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31743 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31745 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
31746 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31748 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31749 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31751 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31752 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31754 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31755 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31757 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31758 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31760 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31761 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31763 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31764 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31766 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31767 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31769 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31770 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31772 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31773 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31775 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31776 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31778 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31779 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31781 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31782 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31784 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31785 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31787 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31788 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31790 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31791 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31793 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31794 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31796 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31797 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31799 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31800 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31802 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31803 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31805 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31806 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31808 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31809 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31811 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31812 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31814 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31815 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31817 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31818 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31820 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31821 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31823 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31824 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31826 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31827 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31829 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31830 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31832 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31833 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31835 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31836 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31838 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31839 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31841 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31842 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31844 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31845 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31847 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31848 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31850 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31851 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31853 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31854 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31856 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31859 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31860 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31862 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31863 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31865 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31866 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31868 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
31869 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
31871 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31872 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31874 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31875 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31877 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31878 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31880 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31881 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31883 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31884 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31886 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31887 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31889 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31890 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31892 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31895 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31898 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31899 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31901 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31902 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31904 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31905 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31907 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31908 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31910 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31911 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31913 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31914 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31916 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31917 return (void *)((wxObject
*) ((wxSizer
*) x
));
31919 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31920 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31922 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31923 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31925 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31928 static void *_p_wxEventTo_p_wxObject(void *x
) {
31929 return (void *)((wxObject
*) ((wxEvent
*) x
));
31931 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31932 return (void *)((wxObject
*) ((wxFontData
*) x
));
31934 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31935 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31937 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31938 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31940 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31941 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31943 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31944 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31946 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31947 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31949 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31950 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31952 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31953 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31955 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31956 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31958 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31959 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31961 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31962 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31964 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31965 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31967 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31968 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31970 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31971 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31973 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31974 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31976 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31979 static void *_p_wxControlTo_p_wxObject(void *x
) {
31980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31982 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31983 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31985 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31986 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31988 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31989 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31991 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31992 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31994 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31995 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31997 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32000 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32001 return (void *)((wxObject
*) ((wxColourData
*) x
));
32003 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32004 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32006 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32009 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32012 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32015 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32018 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32021 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32024 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32027 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32030 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32033 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32036 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32039 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32042 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32043 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32045 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32046 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32048 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32049 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32051 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32054 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32055 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32057 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32060 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32061 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32063 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32064 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32066 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32067 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32069 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32070 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32072 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32073 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32075 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32076 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32078 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32079 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32081 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32082 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32084 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32085 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32087 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32088 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32090 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32091 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32093 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32094 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32096 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32097 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32099 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32100 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32102 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32103 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32105 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32106 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32108 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32109 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32111 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32112 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32114 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32115 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32117 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32118 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32120 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32121 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32123 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32124 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32126 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32127 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32129 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32132 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32133 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32135 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32136 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32138 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32141 static void *_p_wxImageTo_p_wxObject(void *x
) {
32142 return (void *)((wxObject
*) ((wxImage
*) x
));
32144 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32147 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32148 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32150 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32151 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32153 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32154 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32156 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32159 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32160 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32162 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32163 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32165 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32166 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32168 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32169 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32171 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32172 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32174 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32175 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32177 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32180 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32181 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32183 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32186 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32189 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32192 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32195 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32196 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32198 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32199 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32201 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32202 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32204 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32205 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32207 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32208 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32210 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32213 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32216 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32217 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32219 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32220 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32222 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32223 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32225 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32228 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32231 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32234 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32237 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32240 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32241 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32243 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32244 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32246 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32247 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32249 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32252 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32253 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32255 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32256 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32258 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32259 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32261 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32262 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32264 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32265 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32267 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32268 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32270 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32271 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32273 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32276 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32279 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32280 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32282 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32283 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32285 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32286 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32288 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32291 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32292 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32294 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32295 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32297 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32298 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32300 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32301 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32303 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32304 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32306 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32307 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32309 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32310 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32312 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32313 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32315 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32316 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32318 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32319 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32321 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32322 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32324 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32325 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32327 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32328 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32330 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32331 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32333 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32334 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32336 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
32337 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
32339 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32340 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32342 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32343 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32345 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32346 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32348 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32349 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32351 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32352 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32354 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32355 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32357 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32358 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32360 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32361 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32363 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32364 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32366 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32367 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32369 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32370 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32372 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32373 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32375 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32376 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32378 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32379 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32381 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32382 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32384 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32385 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32387 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32388 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32390 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32391 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32393 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32394 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32396 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32397 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32399 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32400 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32402 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32403 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32405 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32406 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32408 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32409 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32411 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32412 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32414 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32415 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32417 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32418 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32420 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32421 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32423 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32424 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32426 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32427 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32429 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32430 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32432 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32433 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32435 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32436 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32438 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32439 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32441 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32442 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32444 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32445 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32447 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32448 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32450 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32451 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32453 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32454 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32456 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32457 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32459 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32460 return (void *)((wxWindow
*) ((wxControl
*) x
));
32462 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32463 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32465 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32466 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32468 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32469 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32471 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32472 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32474 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32475 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32477 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32478 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32480 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32481 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32483 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32484 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32486 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32487 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32489 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32490 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32492 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32493 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32495 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32496 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32498 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32499 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32501 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32502 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32504 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32505 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32507 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32508 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32510 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32511 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32513 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32514 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32516 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32517 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32519 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32520 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32522 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32523 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32525 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32526 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32528 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32529 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32531 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32532 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32534 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32535 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32537 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32538 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32540 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32541 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32543 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32544 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32546 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32547 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32549 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32550 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32552 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32553 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32555 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32556 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32558 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32559 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32561 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32562 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32564 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32565 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32567 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32568 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32570 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32571 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32573 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32574 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32576 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32577 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32579 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32580 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32582 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32583 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32585 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32586 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32588 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32589 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32591 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32592 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32594 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32595 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32597 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32598 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32600 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32601 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32603 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32604 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32606 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32607 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32609 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32610 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32612 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32613 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32615 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32616 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32618 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32619 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32621 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32622 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32623 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};
32624 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32625 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32626 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32627 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32628 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32629 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32630 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32631 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32632 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32633 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32634 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32635 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32636 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32637 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32638 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32639 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32640 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32641 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32642 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32643 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32644 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32645 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32646 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32647 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32648 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32649 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32650 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32651 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32652 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32653 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32654 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32655 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32656 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32657 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32658 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32659 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32660 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32661 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32662 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32663 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32664 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32665 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32666 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32667 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32668 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32669 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32670 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32671 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32672 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32673 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32674 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32675 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32676 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32677 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32678 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32679 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32680 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32681 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32682 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32683 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32684 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32685 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32686 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32687 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32688 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32689 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32690 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32691 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32692 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32693 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32694 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32695 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32696 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32697 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32698 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32699 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32700 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32701 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32702 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32703 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32704 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32705 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32706 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32707 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32708 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32709 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32710 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32711 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32712 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32713 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32714 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32715 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32716 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32717 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32718 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32719 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32720 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32721 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32722 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32723 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32724 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32725 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32726 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32727 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32728 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32729 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32730 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32731 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32732 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32733 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32734 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32735 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32736 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32737 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32738 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32739 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32740 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32741 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32742 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32743 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32744 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32745 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32746 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32747 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32748 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32749 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32750 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32751 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32752 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32753 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32754 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32755 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32756 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32757 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32758 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32759 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32760 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32761 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32762 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32763 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32764 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32765 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32766 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32767 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32768 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32769 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32770 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32771 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32772 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32774 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32775 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32778 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32779 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32780 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32782 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32783 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32787 static swig_type_info
*swig_type_initial
[] = {
32790 &_swigt__p_form_ops_t
,
32792 &_swigt__p_unsigned_char
,
32793 &_swigt__p_unsigned_int
,
32794 &_swigt__p_unsigned_long
,
32795 &_swigt__p_wxANIHandler
,
32796 &_swigt__p_wxAcceleratorTable
,
32797 &_swigt__p_wxActivateEvent
,
32798 &_swigt__p_wxArrayInt
,
32799 &_swigt__p_wxBMPHandler
,
32800 &_swigt__p_wxBitmap
,
32801 &_swigt__p_wxBoxSizer
,
32802 &_swigt__p_wxCURHandler
,
32803 &_swigt__p_wxCalculateLayoutEvent
,
32804 &_swigt__p_wxChildFocusEvent
,
32805 &_swigt__p_wxClipboardTextEvent
,
32806 &_swigt__p_wxCloseEvent
,
32807 &_swigt__p_wxColour
,
32808 &_swigt__p_wxColourData
,
32809 &_swigt__p_wxColourDialog
,
32810 &_swigt__p_wxCommandEvent
,
32811 &_swigt__p_wxContextMenuEvent
,
32812 &_swigt__p_wxControl
,
32813 &_swigt__p_wxControlWithItems
,
32815 &_swigt__p_wxDateEvent
,
32816 &_swigt__p_wxDialog
,
32817 &_swigt__p_wxDirDialog
,
32818 &_swigt__p_wxDisplayChangedEvent
,
32819 &_swigt__p_wxDropFilesEvent
,
32820 &_swigt__p_wxDuplexMode
,
32821 &_swigt__p_wxEraseEvent
,
32822 &_swigt__p_wxEvent
,
32823 &_swigt__p_wxEvtHandler
,
32824 &_swigt__p_wxFSFile
,
32825 &_swigt__p_wxFileDialog
,
32826 &_swigt__p_wxFileSystem
,
32827 &_swigt__p_wxFindDialogEvent
,
32828 &_swigt__p_wxFindReplaceData
,
32829 &_swigt__p_wxFindReplaceDialog
,
32830 &_swigt__p_wxFlexGridSizer
,
32831 &_swigt__p_wxFocusEvent
,
32833 &_swigt__p_wxFontData
,
32834 &_swigt__p_wxFontDialog
,
32835 &_swigt__p_wxFrame
,
32836 &_swigt__p_wxGBSizerItem
,
32837 &_swigt__p_wxGIFHandler
,
32838 &_swigt__p_wxGridBagSizer
,
32839 &_swigt__p_wxGridSizer
,
32840 &_swigt__p_wxHtmlLinkInfo
,
32841 &_swigt__p_wxICOHandler
,
32843 &_swigt__p_wxIconBundle
,
32844 &_swigt__p_wxIconizeEvent
,
32845 &_swigt__p_wxIdleEvent
,
32846 &_swigt__p_wxImage
,
32847 &_swigt__p_wxImageHandler
,
32848 &_swigt__p_wxIndividualLayoutConstraint
,
32849 &_swigt__p_wxInitDialogEvent
,
32850 &_swigt__p_wxJPEGHandler
,
32851 &_swigt__p_wxKeyEvent
,
32852 &_swigt__p_wxLayoutAlgorithm
,
32853 &_swigt__p_wxLayoutConstraints
,
32854 &_swigt__p_wxMDIChildFrame
,
32855 &_swigt__p_wxMDIClientWindow
,
32856 &_swigt__p_wxMDIParentFrame
,
32857 &_swigt__p_wxMaximizeEvent
,
32859 &_swigt__p_wxMenuBar
,
32860 &_swigt__p_wxMenuEvent
,
32861 &_swigt__p_wxMenuItem
,
32862 &_swigt__p_wxMessageDialog
,
32863 &_swigt__p_wxMiniFrame
,
32864 &_swigt__p_wxMouseCaptureChangedEvent
,
32865 &_swigt__p_wxMouseCaptureLostEvent
,
32866 &_swigt__p_wxMouseEvent
,
32867 &_swigt__p_wxMoveEvent
,
32868 &_swigt__p_wxMultiChoiceDialog
,
32869 &_swigt__p_wxNavigationKeyEvent
,
32870 &_swigt__p_wxNcPaintEvent
,
32871 &_swigt__p_wxNotifyEvent
,
32872 &_swigt__p_wxNumberEntryDialog
,
32873 &_swigt__p_wxObject
,
32874 &_swigt__p_wxPCXHandler
,
32875 &_swigt__p_wxPNGHandler
,
32876 &_swigt__p_wxPNMHandler
,
32877 &_swigt__p_wxPageSetupDialog
,
32878 &_swigt__p_wxPageSetupDialogData
,
32879 &_swigt__p_wxPaintEvent
,
32880 &_swigt__p_wxPaletteChangedEvent
,
32881 &_swigt__p_wxPanel
,
32882 &_swigt__p_wxPaperSize
,
32883 &_swigt__p_wxPasswordEntryDialog
,
32884 &_swigt__p_wxPoint
,
32885 &_swigt__p_wxPopupWindow
,
32886 &_swigt__p_wxPreviewCanvas
,
32887 &_swigt__p_wxPreviewControlBar
,
32888 &_swigt__p_wxPreviewFrame
,
32889 &_swigt__p_wxPrintData
,
32890 &_swigt__p_wxPrintDialog
,
32891 &_swigt__p_wxPrintDialogData
,
32892 &_swigt__p_wxPrintPreview
,
32893 &_swigt__p_wxPrinter
,
32894 &_swigt__p_wxProgressDialog
,
32895 &_swigt__p_wxPyApp
,
32896 &_swigt__p_wxPyCommandEvent
,
32897 &_swigt__p_wxPyEvent
,
32898 &_swigt__p_wxPyHtmlListBox
,
32899 &_swigt__p_wxPyImageHandler
,
32900 &_swigt__p_wxPyPanel
,
32901 &_swigt__p_wxPyPopupTransientWindow
,
32902 &_swigt__p_wxPyPreviewControlBar
,
32903 &_swigt__p_wxPyPreviewFrame
,
32904 &_swigt__p_wxPyPrintPreview
,
32905 &_swigt__p_wxPyPrintout
,
32906 &_swigt__p_wxPyScrolledWindow
,
32907 &_swigt__p_wxPySizer
,
32908 &_swigt__p_wxPyTaskBarIcon
,
32909 &_swigt__p_wxPyVListBox
,
32910 &_swigt__p_wxPyVScrolledWindow
,
32911 &_swigt__p_wxPyValidator
,
32912 &_swigt__p_wxPyWindow
,
32913 &_swigt__p_wxQueryLayoutInfoEvent
,
32914 &_swigt__p_wxQueryNewPaletteEvent
,
32916 &_swigt__p_wxRegion
,
32917 &_swigt__p_wxSashEvent
,
32918 &_swigt__p_wxSashLayoutWindow
,
32919 &_swigt__p_wxSashWindow
,
32920 &_swigt__p_wxScrollEvent
,
32921 &_swigt__p_wxScrollWinEvent
,
32922 &_swigt__p_wxScrolledWindow
,
32923 &_swigt__p_wxSetCursorEvent
,
32924 &_swigt__p_wxShowEvent
,
32925 &_swigt__p_wxSingleChoiceDialog
,
32927 &_swigt__p_wxSizeEvent
,
32928 &_swigt__p_wxSizer
,
32929 &_swigt__p_wxSizerItem
,
32930 &_swigt__p_wxSplashScreen
,
32931 &_swigt__p_wxSplashScreenWindow
,
32932 &_swigt__p_wxSplitterEvent
,
32933 &_swigt__p_wxSplitterWindow
,
32934 &_swigt__p_wxStaticBoxSizer
,
32935 &_swigt__p_wxStatusBar
,
32936 &_swigt__p_wxStdDialogButtonSizer
,
32937 &_swigt__p_wxString
,
32938 &_swigt__p_wxSysColourChangedEvent
,
32939 &_swigt__p_wxTIFFHandler
,
32940 &_swigt__p_wxTaskBarIcon
,
32941 &_swigt__p_wxTaskBarIconEvent
,
32942 &_swigt__p_wxTextEntryDialog
,
32943 &_swigt__p_wxTipWindow
,
32944 &_swigt__p_wxToolBar
,
32945 &_swigt__p_wxTopLevelWindow
,
32946 &_swigt__p_wxUpdateUIEvent
,
32947 &_swigt__p_wxValidator
,
32948 &_swigt__p_wxVisualAttributes
,
32949 &_swigt__p_wxWindow
,
32950 &_swigt__p_wxWindowCreateEvent
,
32951 &_swigt__p_wxWindowDestroyEvent
,
32952 &_swigt__p_wxXPMHandler
,
32955 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32956 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32957 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32964 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32965 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32966 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32970 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32972 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32973 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32977 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}};
32978 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32979 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}};
32980 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32981 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32993 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32994 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32995 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32996 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33001 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33005 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33006 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33007 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33008 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}};
33009 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33011 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33012 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33013 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33014 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
33015 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33018 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33019 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33023 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
33024 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33025 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33026 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33028 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33029 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33030 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33031 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33032 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33035 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33036 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}};
33037 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33038 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33039 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33040 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33041 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33042 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33043 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33044 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33045 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33046 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33049 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33050 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33051 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33052 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33053 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33054 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33055 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33056 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33057 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33058 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33059 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33060 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33061 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33062 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33063 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33064 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33065 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33066 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
33067 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33068 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33069 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
33070 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33071 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33072 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33073 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
33074 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33075 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}};
33076 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}};
33077 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33078 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33079 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33080 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}};
33081 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33082 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33083 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33084 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33085 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33086 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33087 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33088 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33089 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33090 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33091 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33092 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
33093 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = { {&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}};
33094 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33095 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33096 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33097 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33098 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33099 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33100 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}};
33101 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33102 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}};
33103 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33104 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33105 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33106 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33107 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33108 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33109 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33110 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33111 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33112 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33113 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33114 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}};
33115 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33116 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33117 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_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}};
33118 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33119 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_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_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_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}};
33121 static swig_cast_info
*swig_cast_initial
[] = {
33124 _swigc__p_form_ops_t
,
33126 _swigc__p_unsigned_char
,
33127 _swigc__p_unsigned_int
,
33128 _swigc__p_unsigned_long
,
33129 _swigc__p_wxANIHandler
,
33130 _swigc__p_wxAcceleratorTable
,
33131 _swigc__p_wxActivateEvent
,
33132 _swigc__p_wxArrayInt
,
33133 _swigc__p_wxBMPHandler
,
33134 _swigc__p_wxBitmap
,
33135 _swigc__p_wxBoxSizer
,
33136 _swigc__p_wxCURHandler
,
33137 _swigc__p_wxCalculateLayoutEvent
,
33138 _swigc__p_wxChildFocusEvent
,
33139 _swigc__p_wxClipboardTextEvent
,
33140 _swigc__p_wxCloseEvent
,
33141 _swigc__p_wxColour
,
33142 _swigc__p_wxColourData
,
33143 _swigc__p_wxColourDialog
,
33144 _swigc__p_wxCommandEvent
,
33145 _swigc__p_wxContextMenuEvent
,
33146 _swigc__p_wxControl
,
33147 _swigc__p_wxControlWithItems
,
33149 _swigc__p_wxDateEvent
,
33150 _swigc__p_wxDialog
,
33151 _swigc__p_wxDirDialog
,
33152 _swigc__p_wxDisplayChangedEvent
,
33153 _swigc__p_wxDropFilesEvent
,
33154 _swigc__p_wxDuplexMode
,
33155 _swigc__p_wxEraseEvent
,
33157 _swigc__p_wxEvtHandler
,
33158 _swigc__p_wxFSFile
,
33159 _swigc__p_wxFileDialog
,
33160 _swigc__p_wxFileSystem
,
33161 _swigc__p_wxFindDialogEvent
,
33162 _swigc__p_wxFindReplaceData
,
33163 _swigc__p_wxFindReplaceDialog
,
33164 _swigc__p_wxFlexGridSizer
,
33165 _swigc__p_wxFocusEvent
,
33167 _swigc__p_wxFontData
,
33168 _swigc__p_wxFontDialog
,
33170 _swigc__p_wxGBSizerItem
,
33171 _swigc__p_wxGIFHandler
,
33172 _swigc__p_wxGridBagSizer
,
33173 _swigc__p_wxGridSizer
,
33174 _swigc__p_wxHtmlLinkInfo
,
33175 _swigc__p_wxICOHandler
,
33177 _swigc__p_wxIconBundle
,
33178 _swigc__p_wxIconizeEvent
,
33179 _swigc__p_wxIdleEvent
,
33181 _swigc__p_wxImageHandler
,
33182 _swigc__p_wxIndividualLayoutConstraint
,
33183 _swigc__p_wxInitDialogEvent
,
33184 _swigc__p_wxJPEGHandler
,
33185 _swigc__p_wxKeyEvent
,
33186 _swigc__p_wxLayoutAlgorithm
,
33187 _swigc__p_wxLayoutConstraints
,
33188 _swigc__p_wxMDIChildFrame
,
33189 _swigc__p_wxMDIClientWindow
,
33190 _swigc__p_wxMDIParentFrame
,
33191 _swigc__p_wxMaximizeEvent
,
33193 _swigc__p_wxMenuBar
,
33194 _swigc__p_wxMenuEvent
,
33195 _swigc__p_wxMenuItem
,
33196 _swigc__p_wxMessageDialog
,
33197 _swigc__p_wxMiniFrame
,
33198 _swigc__p_wxMouseCaptureChangedEvent
,
33199 _swigc__p_wxMouseCaptureLostEvent
,
33200 _swigc__p_wxMouseEvent
,
33201 _swigc__p_wxMoveEvent
,
33202 _swigc__p_wxMultiChoiceDialog
,
33203 _swigc__p_wxNavigationKeyEvent
,
33204 _swigc__p_wxNcPaintEvent
,
33205 _swigc__p_wxNotifyEvent
,
33206 _swigc__p_wxNumberEntryDialog
,
33207 _swigc__p_wxObject
,
33208 _swigc__p_wxPCXHandler
,
33209 _swigc__p_wxPNGHandler
,
33210 _swigc__p_wxPNMHandler
,
33211 _swigc__p_wxPageSetupDialog
,
33212 _swigc__p_wxPageSetupDialogData
,
33213 _swigc__p_wxPaintEvent
,
33214 _swigc__p_wxPaletteChangedEvent
,
33216 _swigc__p_wxPaperSize
,
33217 _swigc__p_wxPasswordEntryDialog
,
33219 _swigc__p_wxPopupWindow
,
33220 _swigc__p_wxPreviewCanvas
,
33221 _swigc__p_wxPreviewControlBar
,
33222 _swigc__p_wxPreviewFrame
,
33223 _swigc__p_wxPrintData
,
33224 _swigc__p_wxPrintDialog
,
33225 _swigc__p_wxPrintDialogData
,
33226 _swigc__p_wxPrintPreview
,
33227 _swigc__p_wxPrinter
,
33228 _swigc__p_wxProgressDialog
,
33230 _swigc__p_wxPyCommandEvent
,
33231 _swigc__p_wxPyEvent
,
33232 _swigc__p_wxPyHtmlListBox
,
33233 _swigc__p_wxPyImageHandler
,
33234 _swigc__p_wxPyPanel
,
33235 _swigc__p_wxPyPopupTransientWindow
,
33236 _swigc__p_wxPyPreviewControlBar
,
33237 _swigc__p_wxPyPreviewFrame
,
33238 _swigc__p_wxPyPrintPreview
,
33239 _swigc__p_wxPyPrintout
,
33240 _swigc__p_wxPyScrolledWindow
,
33241 _swigc__p_wxPySizer
,
33242 _swigc__p_wxPyTaskBarIcon
,
33243 _swigc__p_wxPyVListBox
,
33244 _swigc__p_wxPyVScrolledWindow
,
33245 _swigc__p_wxPyValidator
,
33246 _swigc__p_wxPyWindow
,
33247 _swigc__p_wxQueryLayoutInfoEvent
,
33248 _swigc__p_wxQueryNewPaletteEvent
,
33250 _swigc__p_wxRegion
,
33251 _swigc__p_wxSashEvent
,
33252 _swigc__p_wxSashLayoutWindow
,
33253 _swigc__p_wxSashWindow
,
33254 _swigc__p_wxScrollEvent
,
33255 _swigc__p_wxScrollWinEvent
,
33256 _swigc__p_wxScrolledWindow
,
33257 _swigc__p_wxSetCursorEvent
,
33258 _swigc__p_wxShowEvent
,
33259 _swigc__p_wxSingleChoiceDialog
,
33261 _swigc__p_wxSizeEvent
,
33263 _swigc__p_wxSizerItem
,
33264 _swigc__p_wxSplashScreen
,
33265 _swigc__p_wxSplashScreenWindow
,
33266 _swigc__p_wxSplitterEvent
,
33267 _swigc__p_wxSplitterWindow
,
33268 _swigc__p_wxStaticBoxSizer
,
33269 _swigc__p_wxStatusBar
,
33270 _swigc__p_wxStdDialogButtonSizer
,
33271 _swigc__p_wxString
,
33272 _swigc__p_wxSysColourChangedEvent
,
33273 _swigc__p_wxTIFFHandler
,
33274 _swigc__p_wxTaskBarIcon
,
33275 _swigc__p_wxTaskBarIconEvent
,
33276 _swigc__p_wxTextEntryDialog
,
33277 _swigc__p_wxTipWindow
,
33278 _swigc__p_wxToolBar
,
33279 _swigc__p_wxTopLevelWindow
,
33280 _swigc__p_wxUpdateUIEvent
,
33281 _swigc__p_wxValidator
,
33282 _swigc__p_wxVisualAttributes
,
33283 _swigc__p_wxWindow
,
33284 _swigc__p_wxWindowCreateEvent
,
33285 _swigc__p_wxWindowDestroyEvent
,
33286 _swigc__p_wxXPMHandler
,
33290 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33292 static swig_const_info swig_const_table
[] = {
33293 {0, 0, 0, 0.0, 0, 0}};
33298 /* -----------------------------------------------------------------------------
33299 * Type initialization:
33300 * This problem is tough by the requirement that no dynamic
33301 * memory is used. Also, since swig_type_info structures store pointers to
33302 * swig_cast_info structures and swig_cast_info structures store pointers back
33303 * to swig_type_info structures, we need some lookup code at initialization.
33304 * The idea is that swig generates all the structures that are needed.
33305 * The runtime then collects these partially filled structures.
33306 * The SWIG_InitializeModule function takes these initial arrays out of
33307 * swig_module, and does all the lookup, filling in the swig_module.types
33308 * array with the correct data and linking the correct swig_cast_info
33309 * structures together.
33311 * The generated swig_type_info structures are assigned staticly to an initial
33312 * array. We just loop though that array, and handle each type individually.
33313 * First we lookup if this type has been already loaded, and if so, use the
33314 * loaded structure instead of the generated one. Then we have to fill in the
33315 * cast linked list. The cast data is initially stored in something like a
33316 * two-dimensional array. Each row corresponds to a type (there are the same
33317 * number of rows as there are in the swig_type_initial array). Each entry in
33318 * a column is one of the swig_cast_info structures for that type.
33319 * The cast_initial array is actually an array of arrays, because each row has
33320 * a variable number of columns. So to actually build the cast linked list,
33321 * we find the array of casts associated with the type, and loop through it
33322 * adding the casts to the list. The one last trick we need to do is making
33323 * sure the type pointer in the swig_cast_info struct is correct.
33325 * First off, we lookup the cast->type name to see if it is already loaded.
33326 * There are three cases to handle:
33327 * 1) If the cast->type has already been loaded AND the type we are adding
33328 * casting info to has not been loaded (it is in this module), THEN we
33329 * replace the cast->type pointer with the type pointer that has already
33331 * 2) If BOTH types (the one we are adding casting info to, and the
33332 * cast->type) are loaded, THEN the cast info has already been loaded by
33333 * the previous module so we just ignore it.
33334 * 3) Finally, if cast->type has not already been loaded, then we add that
33335 * swig_cast_info to the linked list (because the cast->type) pointer will
33337 * ----------------------------------------------------------------------------- */
33347 #define SWIGRUNTIME_DEBUG
33351 SWIG_InitializeModule(void *clientdata
) {
33353 swig_module_info
*module_head
;
33354 static int init_run
= 0;
33356 clientdata
= clientdata
;
33358 if (init_run
) return;
33361 /* Initialize the swig_module */
33362 swig_module
.type_initial
= swig_type_initial
;
33363 swig_module
.cast_initial
= swig_cast_initial
;
33365 /* Try and load any already created modules */
33366 module_head
= SWIG_GetModule(clientdata
);
33368 swig_module
.next
= module_head
->next
;
33369 module_head
->next
= &swig_module
;
33371 /* This is the first module loaded */
33372 swig_module
.next
= &swig_module
;
33373 SWIG_SetModule(clientdata
, &swig_module
);
33376 /* Now work on filling in swig_module.types */
33377 #ifdef SWIGRUNTIME_DEBUG
33378 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33380 for (i
= 0; i
< swig_module
.size
; ++i
) {
33381 swig_type_info
*type
= 0;
33382 swig_type_info
*ret
;
33383 swig_cast_info
*cast
;
33385 #ifdef SWIGRUNTIME_DEBUG
33386 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33389 /* if there is another module already loaded */
33390 if (swig_module
.next
!= &swig_module
) {
33391 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33394 /* Overwrite clientdata field */
33395 #ifdef SWIGRUNTIME_DEBUG
33396 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33398 if (swig_module
.type_initial
[i
]->clientdata
) {
33399 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33400 #ifdef SWIGRUNTIME_DEBUG
33401 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33405 type
= swig_module
.type_initial
[i
];
33408 /* Insert casting types */
33409 cast
= swig_module
.cast_initial
[i
];
33410 while (cast
->type
) {
33411 /* Don't need to add information already in the list */
33413 #ifdef SWIGRUNTIME_DEBUG
33414 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33416 if (swig_module
.next
!= &swig_module
) {
33417 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33418 #ifdef SWIGRUNTIME_DEBUG
33419 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33423 if (type
== swig_module
.type_initial
[i
]) {
33424 #ifdef SWIGRUNTIME_DEBUG
33425 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33430 /* Check for casting already in the list */
33431 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33432 #ifdef SWIGRUNTIME_DEBUG
33433 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33435 if (!ocast
) ret
= 0;
33440 #ifdef SWIGRUNTIME_DEBUG
33441 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33444 type
->cast
->prev
= cast
;
33445 cast
->next
= type
->cast
;
33451 /* Set entry in modules->types array equal to the type */
33452 swig_module
.types
[i
] = type
;
33454 swig_module
.types
[i
] = 0;
33456 #ifdef SWIGRUNTIME_DEBUG
33457 printf("**** SWIG_InitializeModule: Cast List ******\n");
33458 for (i
= 0; i
< swig_module
.size
; ++i
) {
33460 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33461 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33462 while (cast
->type
) {
33463 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33467 printf("---- Total casts: %d\n",j
);
33469 printf("**** SWIG_InitializeModule: Cast List ******\n");
33473 /* This function will propagate the clientdata field of type to
33474 * any new swig_type_info structures that have been added into the list
33475 * of equivalent types. It is like calling
33476 * SWIG_TypeClientData(type, clientdata) a second time.
33479 SWIG_PropagateClientData(void) {
33481 swig_cast_info
*equiv
;
33482 static int init_run
= 0;
33484 if (init_run
) return;
33487 for (i
= 0; i
< swig_module
.size
; i
++) {
33488 if (swig_module
.types
[i
]->clientdata
) {
33489 equiv
= swig_module
.types
[i
]->cast
;
33491 if (!equiv
->converter
) {
33492 if (equiv
->type
&& !equiv
->type
->clientdata
)
33493 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33495 equiv
= equiv
->next
;
33515 /* Python-specific SWIG API */
33516 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33517 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33518 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33520 /* -----------------------------------------------------------------------------
33521 * global variable support code.
33522 * ----------------------------------------------------------------------------- */
33524 typedef struct swig_globalvar
{
33525 char *name
; /* Name of global variable */
33526 PyObject
*(*get_attr
)(void); /* Return the current value */
33527 int (*set_attr
)(PyObject
*); /* Set the value */
33528 struct swig_globalvar
*next
;
33531 typedef struct swig_varlinkobject
{
33533 swig_globalvar
*vars
;
33534 } swig_varlinkobject
;
33536 SWIGINTERN PyObject
*
33537 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33538 return PyString_FromString("<Swig global variables>");
33541 SWIGINTERN PyObject
*
33542 swig_varlink_str(swig_varlinkobject
*v
) {
33543 PyObject
*str
= PyString_FromString("(");
33544 swig_globalvar
*var
;
33545 for (var
= v
->vars
; var
; var
=var
->next
) {
33546 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33547 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33549 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33554 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33555 PyObject
*str
= swig_varlink_str(v
);
33556 fprintf(fp
,"Swig global variables ");
33557 fprintf(fp
,"%s\n", PyString_AsString(str
));
33563 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33564 swig_globalvar
*var
= v
->vars
;
33566 swig_globalvar
*n
= var
->next
;
33573 SWIGINTERN PyObject
*
33574 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33575 PyObject
*res
= NULL
;
33576 swig_globalvar
*var
= v
->vars
;
33578 if (strcmp(var
->name
,n
) == 0) {
33579 res
= (*var
->get_attr
)();
33584 if (res
== NULL
&& !PyErr_Occurred()) {
33585 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33591 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33593 swig_globalvar
*var
= v
->vars
;
33595 if (strcmp(var
->name
,n
) == 0) {
33596 res
= (*var
->set_attr
)(p
);
33601 if (res
== 1 && !PyErr_Occurred()) {
33602 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33607 SWIGINTERN PyTypeObject
*
33608 swig_varlink_type(void) {
33609 static char varlink__doc__
[] = "Swig var link object";
33610 static PyTypeObject varlink_type
;
33611 static int type_init
= 0;
33613 const PyTypeObject tmp
33615 PyObject_HEAD_INIT(NULL
)
33616 0, /* Number of items in variable part (ob_size) */
33617 (char *)"swigvarlink", /* Type name (tp_name) */
33618 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33619 0, /* Itemsize (tp_itemsize) */
33620 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33621 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33622 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33623 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33624 0, /* tp_compare */
33625 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33626 0, /* tp_as_number */
33627 0, /* tp_as_sequence */
33628 0, /* tp_as_mapping */
33631 (reprfunc
)swig_varlink_str
, /* tp_str */
33632 0, /* tp_getattro */
33633 0, /* tp_setattro */
33634 0, /* tp_as_buffer */
33636 varlink__doc__
, /* tp_doc */
33637 0, /* tp_traverse */
33639 0, /* tp_richcompare */
33640 0, /* tp_weaklistoffset */
33641 #if PY_VERSION_HEX >= 0x02020000
33642 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33644 #if PY_VERSION_HEX >= 0x02030000
33647 #ifdef COUNT_ALLOCS
33648 0,0,0,0 /* tp_alloc -> tp_next */
33651 varlink_type
= tmp
;
33652 varlink_type
.ob_type
= &PyType_Type
;
33655 return &varlink_type
;
33658 /* Create a variable linking object for use later */
33659 SWIGINTERN PyObject
*
33660 SWIG_Python_newvarlink(void) {
33661 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33665 return ((PyObject
*) result
);
33669 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33670 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33671 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33673 size_t size
= strlen(name
)+1;
33674 gv
->name
= (char *)malloc(size
);
33676 strncpy(gv
->name
,name
,size
);
33677 gv
->get_attr
= get_attr
;
33678 gv
->set_attr
= set_attr
;
33679 gv
->next
= v
->vars
;
33685 SWIGINTERN PyObject
*
33687 static PyObject
*_SWIG_globals
= 0;
33688 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33689 return _SWIG_globals
;
33692 /* -----------------------------------------------------------------------------
33693 * constants/methods manipulation
33694 * ----------------------------------------------------------------------------- */
33696 /* Install Constants */
33698 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33701 for (i
= 0; constants
[i
].type
; ++i
) {
33702 switch(constants
[i
].type
) {
33703 case SWIG_PY_POINTER
:
33704 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33706 case SWIG_PY_BINARY
:
33707 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33714 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33720 /* -----------------------------------------------------------------------------*/
33721 /* Fix SwigMethods to carry the callback ptrs when needed */
33722 /* -----------------------------------------------------------------------------*/
33725 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33726 swig_const_info
*const_table
,
33727 swig_type_info
**types
,
33728 swig_type_info
**types_initial
) {
33730 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33731 const char *c
= methods
[i
].ml_doc
;
33732 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33734 swig_const_info
*ci
= 0;
33735 const char *name
= c
+ 10;
33736 for (j
= 0; const_table
[j
].type
; ++j
) {
33737 if (strncmp(const_table
[j
].name
, name
,
33738 strlen(const_table
[j
].name
)) == 0) {
33739 ci
= &(const_table
[j
]);
33744 size_t shift
= (ci
->ptype
) - types
;
33745 swig_type_info
*ty
= types_initial
[shift
];
33746 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33747 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33748 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33751 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33753 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33755 strncpy(buff
, "swig_ptr: ", 10);
33757 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33758 methods
[i
].ml_doc
= ndoc
;
33770 /* -----------------------------------------------------------------------------*
33771 * Partial Init method
33772 * -----------------------------------------------------------------------------*/
33777 SWIGEXPORT
void SWIG_init(void) {
33780 /* Fix SwigMethods to carry the callback ptrs when needed */
33781 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33783 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33784 d
= PyModule_GetDict(m
);
33786 SWIG_InitializeModule(0);
33787 SWIG_InstallConstants(d
,swig_const_table
);
33790 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33791 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33792 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33793 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33794 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33795 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33796 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33797 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33798 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33799 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33800 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33801 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33802 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33803 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33804 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33805 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33806 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33807 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33808 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33809 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33810 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33811 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33812 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33813 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33814 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33815 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33816 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33817 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33818 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33819 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
33820 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33821 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33822 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33823 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33824 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
33825 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
33826 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33827 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33828 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33829 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33830 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33831 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33832 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33833 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33834 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33835 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33836 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33837 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33838 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33839 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33840 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33841 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33842 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33843 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33844 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33845 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33846 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33847 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33848 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33849 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33850 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33851 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33852 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33853 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33854 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33855 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33856 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33857 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33858 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33859 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33860 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33861 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33862 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33863 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33864 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33865 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33866 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33867 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33868 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33869 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33870 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33871 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33872 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33873 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33874 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33875 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33876 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33877 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33878 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33879 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33880 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33881 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33882 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33883 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33884 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33885 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33886 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33887 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33888 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33889 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33890 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33891 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33892 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33893 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33894 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33896 // Map renamed classes back to their common name for OOR
33897 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33898 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33899 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33901 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33902 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33903 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33904 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33905 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33906 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33907 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33908 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33909 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33910 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33911 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33912 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33913 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33914 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33915 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33916 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33917 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33918 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33919 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33920 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33921 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33922 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33923 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33924 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33925 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33926 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33927 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33928 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33929 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33930 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
33931 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33932 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33933 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33934 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33935 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
33936 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
33937 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
33938 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
33939 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
33940 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
33941 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
33942 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
33943 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33944 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33945 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33946 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33947 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33948 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33949 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33950 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33951 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33952 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33953 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33954 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33955 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33956 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33957 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33958 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33959 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33960 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33961 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33962 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33963 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33964 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33965 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33966 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33967 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33968 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33969 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33970 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33971 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33972 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33973 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33974 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33975 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33976 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33977 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33978 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33979 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33980 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33981 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33982 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33983 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33984 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33985 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33986 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33987 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33988 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33989 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33990 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33991 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33992 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33993 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33994 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33995 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33996 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33997 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33998 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33999 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34000 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34001 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34002 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34003 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34004 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34006 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");