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_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622 #define SWIGTYPE_p_wxTipWindow swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628 #define SWIGTYPE_p_wxWindow swig_types[162]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632 static swig_type_info
*swig_types
[167];
2633 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2637 /* -------- TYPES TABLE (END) -------- */
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2654 /*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_windows_
2659 #define SWIG_name "_windows_"
2661 #define SWIGVERSION 0x010329
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2668 #include <stdexcept>
2672 class PyObject_ptr
{
2677 PyObject_ptr() :_obj(0)
2681 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2686 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2688 if (initial_ref
) Py_XINCREF(_obj
);
2691 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2693 Py_XINCREF(item
._obj
);
2704 operator PyObject
*() const
2709 PyObject
*operator->() const
2718 struct PyObject_var
: PyObject_ptr
{
2719 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2721 PyObject_var
& operator = (PyObject
* obj
)
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2735 static const wxString
wxPyEmptyString(wxEmptyString
);
2736 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2742 # define LLONG_MIN LONG_LONG_MIN
2745 # define LLONG_MAX LONG_LONG_MAX
2748 # define ULLONG_MAX ULONG_LONG_MAX
2753 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2755 if (PyNumber_Check(obj
)) {
2756 if (val
) *val
= PyInt_AsLong(obj
);
2759 return SWIG_TypeError
;
2764 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2767 int res
= SWIG_AsVal_long (obj
, &v
);
2768 if (SWIG_IsOK(res
)) {
2769 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2770 return SWIG_OverflowError
;
2772 if (val
) *val
= static_cast< int >(v
);
2780 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2782 if (obj
== Py_True
) {
2783 if (val
) *val
= true;
2785 } else if (obj
== Py_False
) {
2786 if (val
) *val
= false;
2790 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2791 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2797 #define SWIG_From_long PyInt_FromLong
2800 SWIGINTERNINLINE PyObject
*
2801 SWIG_From_int (int value
)
2803 return SWIG_From_long (value
);
2808 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2810 if (PyNumber_Check(obj
)) {
2811 if (val
) *val
= PyFloat_AsDouble(obj
);
2814 return SWIG_TypeError
;
2818 #define SWIG_From_double PyFloat_FromDouble
2820 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2821 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2822 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2823 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2824 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2825 int style
= self
->GetExtraStyle();
2827 style
|= wxFRAME_EX_METAL
;
2829 style
&= ~wxFRAME_EX_METAL
;
2830 self
->SetExtraStyle(style
);
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
) {}
3279 bool DoEraseBackground(wxDC
* dc
) {
3281 return wxWindow::DoEraseBackground(dc
->GetHDC());
3283 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3289 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3290 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3299 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3301 DEC_PYCALLBACK__(InitDialog
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3303 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3304 DEC_PYCALLBACK_BOOL_(Validate
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3308 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3313 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3314 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3316 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3318 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3323 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3325 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3326 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3335 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3337 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3349 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3350 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3352 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3354 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3356 // C++ version of Python aware wxPanel
3357 class wxPyPanel
: public wxPanel
3359 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3361 wxPyPanel() : wxPanel() {}
3362 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3363 const wxPoint
& pos
= wxDefaultPosition
,
3364 const wxSize
& size
= wxDefaultSize
,
3366 const wxString
& name
= wxPyPanelNameStr
)
3367 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3369 bool DoEraseBackground(wxDC
* dc
) {
3371 return wxWindow::DoEraseBackground(dc
->GetHDC());
3373 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3381 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3392 DEC_PYCALLBACK__(InitDialog
);
3393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3395 DEC_PYCALLBACK_BOOL_(Validate
);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3399 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3409 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3428 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3440 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3443 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3445 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3447 // C++ version of Python aware wxScrolledWindow
3448 class wxPyScrolledWindow
: public wxScrolledWindow
3450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3452 wxPyScrolledWindow() : wxScrolledWindow() {}
3453 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3454 const wxPoint
& pos
= wxDefaultPosition
,
3455 const wxSize
& size
= wxDefaultSize
,
3457 const wxString
& name
= wxPyPanelNameStr
)
3458 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3460 bool DoEraseBackground(wxDC
* dc
) {
3462 return wxWindow::DoEraseBackground(dc
->GetHDC());
3464 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3470 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3471 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3479 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3480 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3482 DEC_PYCALLBACK__(InitDialog
);
3483 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3484 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3485 DEC_PYCALLBACK_BOOL_(Validate
);
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3489 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3491 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3492 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3494 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3495 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3497 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3499 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3504 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3506 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3507 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3518 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3530 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3531 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3533 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3535 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3538 #include "wx/wxPython/printfw.h"
3541 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3542 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3543 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3545 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3546 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3547 self
->GetPrivDataLen());
3548 wxPyEndBlockThreads(blocked
);
3551 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3552 if (! PyString_Check(data
)) {
3553 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3554 "Expected string object"));
3558 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3559 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3560 wxPyEndBlockThreads(blocked
);
3564 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3566 // Since this one would be tough and ugly to do with the Macros...
3567 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3568 bool hadErr
= false;
3571 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3572 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3573 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3574 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3577 val
= PyTuple_GetItem(result
, 0);
3578 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3581 val
= PyTuple_GetItem(result
, 1);
3582 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3585 val
= PyTuple_GetItem(result
, 2);
3586 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3589 val
= PyTuple_GetItem(result
, 3);
3590 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3597 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3602 wxPyEndBlockThreads(blocked
);
3604 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3609 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3610 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3614 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3615 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3621 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3622 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3625 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3626 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3629 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3630 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3631 PyObject* win = wxPyMake_wxObject(a,false); \
3632 PyObject* dc = wxPyMake_wxObject(&b,false); \
3633 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3637 wxPyEndBlockThreads(blocked); \
3639 rval = PCLASS::CBNAME(a, b); \
3646 class wxPyPrintPreview
: public wxPrintPreview
3648 DECLARE_CLASS(wxPyPrintPreview
)
3650 wxPyPrintPreview(wxPyPrintout
* printout
,
3651 wxPyPrintout
* printoutForPrinting
,
3652 wxPrintDialogData
* data
=NULL
)
3653 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3655 wxPyPrintPreview(wxPyPrintout
* printout
,
3656 wxPyPrintout
* printoutForPrinting
,
3658 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3661 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3664 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3665 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3666 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3667 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3672 // Stupid renamed classes... Fix this in 2.5...
3673 #if defined(__WXMSW__)
3674 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3675 #elif defined(__WXMAC__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3678 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3681 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3685 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3686 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3687 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3690 class wxPyPreviewFrame
: public wxPreviewFrame
3692 DECLARE_CLASS(wxPyPreviewFrame
)
3694 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3695 const wxString
& title
,
3696 const wxPoint
& pos
= wxDefaultPosition
,
3697 const wxSize
& size
= wxDefaultSize
,
3698 long style
= wxDEFAULT_FRAME_STYLE
,
3699 const wxString
& name
= wxPyFrameNameStr
)
3700 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3703 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3704 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3706 DEC_PYCALLBACK_VOID_(Initialize
);
3707 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3708 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3713 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3720 class wxPyPreviewControlBar
: public wxPreviewControlBar
3722 DECLARE_CLASS(wxPyPreviewControlBar
)
3724 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3727 const wxPoint
& pos
= wxDefaultPosition
,
3728 const wxSize
& size
= wxDefaultSize
,
3730 const wxString
& name
= wxPyPanelNameStr
)
3731 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3734 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3736 DEC_PYCALLBACK_VOID_(CreateButtons
);
3737 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3742 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3743 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3744 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3749 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
= 0;
3751 wxWindow
*arg1
= (wxWindow
*) 0 ;
3752 int arg2
= (int) (int)-1 ;
3753 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3754 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3755 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3756 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3757 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3758 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3759 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3760 wxPanel
*result
= 0 ;
3769 bool temp6
= false ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3772 PyObject
* obj2
= 0 ;
3773 PyObject
* obj3
= 0 ;
3774 PyObject
* obj4
= 0 ;
3775 PyObject
* obj5
= 0 ;
3776 char * kwnames
[] = {
3777 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3782 if (!SWIG_IsOK(res1
)) {
3783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3785 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3788 if (!SWIG_IsOK(ecode2
)) {
3789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3791 arg2
= static_cast< int >(val2
);
3796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3802 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3806 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3807 if (!SWIG_IsOK(ecode5
)) {
3808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3810 arg5
= static_cast< long >(val5
);
3814 arg6
= wxString_in_helper(obj5
);
3815 if (arg6
== NULL
) SWIG_fail
;
3820 if (!wxPyCheckForApp()) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3841 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3842 PyObject
*resultobj
= 0;
3843 wxPanel
*result
= 0 ;
3845 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3847 if (!wxPyCheckForApp()) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 result
= (wxPanel
*)new wxPanel();
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3860 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
= 0;
3862 wxPanel
*arg1
= (wxPanel
*) 0 ;
3863 wxWindow
*arg2
= (wxWindow
*) 0 ;
3864 int arg3
= (int) (int)-1 ;
3865 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3866 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3867 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3868 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3869 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3870 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3871 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3883 bool temp7
= false ;
3884 PyObject
* obj0
= 0 ;
3885 PyObject
* obj1
= 0 ;
3886 PyObject
* obj2
= 0 ;
3887 PyObject
* obj3
= 0 ;
3888 PyObject
* obj4
= 0 ;
3889 PyObject
* obj5
= 0 ;
3890 PyObject
* obj6
= 0 ;
3891 char * kwnames
[] = {
3892 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3897 if (!SWIG_IsOK(res1
)) {
3898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3900 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3902 if (!SWIG_IsOK(res2
)) {
3903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3905 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3908 if (!SWIG_IsOK(ecode3
)) {
3909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3911 arg3
= static_cast< int >(val3
);
3916 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3922 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3926 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3927 if (!SWIG_IsOK(ecode6
)) {
3928 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3930 arg6
= static_cast< long >(val6
);
3934 arg7
= wxString_in_helper(obj6
);
3935 if (arg7
== NULL
) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3962 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3963 PyObject
*resultobj
= 0;
3964 wxPanel
*arg1
= (wxPanel
*) 0 ;
3967 PyObject
*swig_obj
[1] ;
3969 if (!args
) SWIG_fail
;
3971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3972 if (!SWIG_IsOK(res1
)) {
3973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3975 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 (arg1
)->SetFocusIgnoringChildren();
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 resultobj
= SWIG_Py_Void();
3989 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
*resultobj
= 0;
3991 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3992 SwigValueWrapper
<wxVisualAttributes
> result
;
3995 PyObject
* obj0
= 0 ;
3996 char * kwnames
[] = {
3997 (char *) "variant", NULL
4000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4002 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4003 if (!SWIG_IsOK(ecode1
)) {
4004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4006 arg1
= static_cast< wxWindowVariant
>(val1
);
4009 if (!wxPyCheckForApp()) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4022 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4025 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4026 return SWIG_Py_Void();
4029 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4030 return SWIG_Python_InitShadowInstance(args
);
4033 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
= 0;
4035 wxWindow
*arg1
= (wxWindow
*) 0 ;
4036 int arg2
= (int) (int)-1 ;
4037 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4038 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4039 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4040 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4041 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4042 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4043 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4044 wxScrolledWindow
*result
= 0 ;
4053 bool temp6
= false ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4056 PyObject
* obj2
= 0 ;
4057 PyObject
* obj3
= 0 ;
4058 PyObject
* obj4
= 0 ;
4059 PyObject
* obj5
= 0 ;
4060 char * kwnames
[] = {
4061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4066 if (!SWIG_IsOK(res1
)) {
4067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4069 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4072 if (!SWIG_IsOK(ecode2
)) {
4073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4075 arg2
= static_cast< int >(val2
);
4080 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4086 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4090 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4091 if (!SWIG_IsOK(ecode5
)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4094 arg5
= static_cast< long >(val5
);
4098 arg6
= wxString_in_helper(obj5
);
4099 if (arg6
== NULL
) SWIG_fail
;
4104 if (!wxPyCheckForApp()) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4125 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxScrolledWindow
*result
= 0 ;
4129 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4131 if (!wxPyCheckForApp()) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4144 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
= 0;
4146 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4147 wxWindow
*arg2
= (wxWindow
*) 0 ;
4148 int arg3
= (int) (int)-1 ;
4149 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4150 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4151 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4152 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4153 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4154 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4155 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4167 bool temp7
= false ;
4168 PyObject
* obj0
= 0 ;
4169 PyObject
* obj1
= 0 ;
4170 PyObject
* obj2
= 0 ;
4171 PyObject
* obj3
= 0 ;
4172 PyObject
* obj4
= 0 ;
4173 PyObject
* obj5
= 0 ;
4174 PyObject
* obj6
= 0 ;
4175 char * kwnames
[] = {
4176 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4181 if (!SWIG_IsOK(res1
)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4184 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4186 if (!SWIG_IsOK(res2
)) {
4187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4192 if (!SWIG_IsOK(ecode3
)) {
4193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4195 arg3
= static_cast< int >(val3
);
4200 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4206 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4210 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4211 if (!SWIG_IsOK(ecode6
)) {
4212 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4214 arg6
= static_cast< long >(val6
);
4218 arg7
= wxString_in_helper(obj6
);
4219 if (arg7
== NULL
) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4246 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
= 0;
4248 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4253 int arg6
= (int) 0 ;
4254 int arg7
= (int) 0 ;
4255 bool arg8
= (bool) false ;
4272 PyObject
* obj0
= 0 ;
4273 PyObject
* obj1
= 0 ;
4274 PyObject
* obj2
= 0 ;
4275 PyObject
* obj3
= 0 ;
4276 PyObject
* obj4
= 0 ;
4277 PyObject
* obj5
= 0 ;
4278 PyObject
* obj6
= 0 ;
4279 PyObject
* obj7
= 0 ;
4280 char * kwnames
[] = {
4281 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4286 if (!SWIG_IsOK(res1
)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4289 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4291 if (!SWIG_IsOK(ecode2
)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4294 arg2
= static_cast< int >(val2
);
4295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4296 if (!SWIG_IsOK(ecode3
)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4299 arg3
= static_cast< int >(val3
);
4300 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4301 if (!SWIG_IsOK(ecode4
)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4304 arg4
= static_cast< int >(val4
);
4305 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4306 if (!SWIG_IsOK(ecode5
)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4309 arg5
= static_cast< int >(val5
);
4311 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4312 if (!SWIG_IsOK(ecode6
)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4315 arg6
= static_cast< int >(val6
);
4318 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4319 if (!SWIG_IsOK(ecode7
)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4322 arg7
= static_cast< int >(val7
);
4325 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4326 if (!SWIG_IsOK(ecode8
)) {
4327 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4329 arg8
= static_cast< bool >(val8
);
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= SWIG_Py_Void();
4344 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
= 0;
4346 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4355 PyObject
* obj0
= 0 ;
4356 PyObject
* obj1
= 0 ;
4357 PyObject
* obj2
= 0 ;
4358 char * kwnames
[] = {
4359 (char *) "self",(char *) "x",(char *) "y", NULL
4362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4367 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4369 if (!SWIG_IsOK(ecode2
)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4372 arg2
= static_cast< int >(val2
);
4373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4374 if (!SWIG_IsOK(ecode3
)) {
4375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4377 arg3
= static_cast< int >(val3
);
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 (arg1
)->Scroll(arg2
,arg3
);
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 resultobj
= SWIG_Py_Void();
4391 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
= 0;
4393 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4400 PyObject
* obj0
= 0 ;
4401 PyObject
* obj1
= 0 ;
4402 char * kwnames
[] = {
4403 (char *) "self",(char *) "orient", NULL
4406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4408 if (!SWIG_IsOK(res1
)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4411 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4413 if (!SWIG_IsOK(ecode2
)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4416 arg2
= static_cast< int >(val2
);
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_From_int(static_cast< int >(result
));
4430 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
= 0;
4432 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4441 PyObject
* obj0
= 0 ;
4442 PyObject
* obj1
= 0 ;
4443 PyObject
* obj2
= 0 ;
4444 char * kwnames
[] = {
4445 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4450 if (!SWIG_IsOK(res1
)) {
4451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4453 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4455 if (!SWIG_IsOK(ecode2
)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4458 arg2
= static_cast< int >(val2
);
4459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4460 if (!SWIG_IsOK(ecode3
)) {
4461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4463 arg3
= static_cast< int >(val3
);
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= SWIG_Py_Void();
4477 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
= 0;
4479 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4488 PyObject
* obj0
= 0 ;
4489 PyObject
* obj1
= 0 ;
4490 PyObject
* obj2
= 0 ;
4491 char * kwnames
[] = {
4492 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4497 if (!SWIG_IsOK(res1
)) {
4498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4500 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4502 if (!SWIG_IsOK(ecode2
)) {
4503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4505 arg2
= static_cast< int >(val2
);
4506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4507 if (!SWIG_IsOK(ecode3
)) {
4508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4510 arg3
= static_cast< int >(val3
);
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 (arg1
)->SetScrollRate(arg2
,arg3
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= SWIG_Py_Void();
4524 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4525 PyObject
*resultobj
= 0;
4526 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4527 int *arg2
= (int *) 0 ;
4528 int *arg3
= (int *) 0 ;
4532 int res2
= SWIG_TMPOBJ
;
4534 int res3
= SWIG_TMPOBJ
;
4535 PyObject
*swig_obj
[1] ;
4539 if (!args
) SWIG_fail
;
4541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4542 if (!SWIG_IsOK(res1
)) {
4543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4545 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4548 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= SWIG_Py_Void();
4553 if (SWIG_IsTmpObj(res2
)) {
4554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4556 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4559 if (SWIG_IsTmpObj(res3
)) {
4560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4562 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4571 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
= 0;
4573 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4584 PyObject
* obj2
= 0 ;
4585 char * kwnames
[] = {
4586 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4591 if (!SWIG_IsOK(res1
)) {
4592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4594 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4595 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4596 if (!SWIG_IsOK(ecode2
)) {
4597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4599 arg2
= static_cast< bool >(val2
);
4600 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4601 if (!SWIG_IsOK(ecode3
)) {
4602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4604 arg3
= static_cast< bool >(val3
);
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 (arg1
)->EnableScrolling(arg2
,arg3
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4611 resultobj
= SWIG_Py_Void();
4618 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4619 PyObject
*resultobj
= 0;
4620 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4621 int *arg2
= (int *) 0 ;
4622 int *arg3
= (int *) 0 ;
4626 int res2
= SWIG_TMPOBJ
;
4628 int res3
= SWIG_TMPOBJ
;
4629 PyObject
*swig_obj
[1] ;
4633 if (!args
) SWIG_fail
;
4635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4636 if (!SWIG_IsOK(res1
)) {
4637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4639 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4646 resultobj
= SWIG_Py_Void();
4647 if (SWIG_IsTmpObj(res2
)) {
4648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4650 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4653 if (SWIG_IsTmpObj(res3
)) {
4654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4656 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4665 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4679 char * kwnames
[] = {
4680 (char *) "self",(char *) "xs",(char *) "ys", NULL
4683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4685 if (!SWIG_IsOK(res1
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4688 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4689 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4690 if (!SWIG_IsOK(ecode2
)) {
4691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4693 arg2
= static_cast< double >(val2
);
4694 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4695 if (!SWIG_IsOK(ecode3
)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4698 arg3
= static_cast< double >(val3
);
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 (arg1
)->SetScale(arg2
,arg3
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_Py_Void();
4712 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4713 PyObject
*resultobj
= 0;
4714 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4718 PyObject
*swig_obj
[1] ;
4720 if (!args
) SWIG_fail
;
4722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4723 if (!SWIG_IsOK(res1
)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4726 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= SWIG_From_double(static_cast< double >(result
));
4740 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4741 PyObject
*resultobj
= 0;
4742 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4746 PyObject
*swig_obj
[1] ;
4748 if (!args
) SWIG_fail
;
4750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4751 if (!SWIG_IsOK(res1
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4754 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_From_double(static_cast< double >(result
));
4768 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4769 PyObject
*resultobj
= 0;
4770 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4777 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4779 if (!SWIG_IsOK(res1
)) {
4780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4782 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4785 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4800 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4801 PyObject
*resultobj
= 0;
4802 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4805 int *arg4
= (int *) 0 ;
4806 int *arg5
= (int *) 0 ;
4814 int res4
= SWIG_TMPOBJ
;
4816 int res5
= SWIG_TMPOBJ
;
4820 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4822 if (!SWIG_IsOK(res1
)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4825 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4826 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4827 if (!SWIG_IsOK(ecode2
)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4830 arg2
= static_cast< int >(val2
);
4831 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4832 if (!SWIG_IsOK(ecode3
)) {
4833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4835 arg3
= static_cast< int >(val3
);
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= SWIG_Py_Void();
4843 if (SWIG_IsTmpObj(res4
)) {
4844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4846 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4849 if (SWIG_IsTmpObj(res5
)) {
4850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4852 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4861 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4865 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4868 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4875 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4880 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4881 PyObject
*resultobj
= 0;
4882 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4889 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4891 if (!SWIG_IsOK(res1
)) {
4892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4894 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4897 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4912 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4913 PyObject
*resultobj
= 0;
4914 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4917 int *arg4
= (int *) 0 ;
4918 int *arg5
= (int *) 0 ;
4926 int res4
= SWIG_TMPOBJ
;
4928 int res5
= SWIG_TMPOBJ
;
4932 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4934 if (!SWIG_IsOK(res1
)) {
4935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4937 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4938 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4939 if (!SWIG_IsOK(ecode2
)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4942 arg2
= static_cast< int >(val2
);
4943 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4944 if (!SWIG_IsOK(ecode3
)) {
4945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4947 arg3
= static_cast< int >(val3
);
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_Py_Void();
4955 if (SWIG_IsTmpObj(res4
)) {
4956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4958 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4961 if (SWIG_IsTmpObj(res5
)) {
4962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4964 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4973 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4977 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4980 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4987 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4992 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4993 PyObject
*resultobj
= 0;
4994 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4997 PyObject
*swig_obj
[1] ;
4999 if (!args
) SWIG_fail
;
5001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5002 if (!SWIG_IsOK(res1
)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5005 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 (arg1
)->AdjustScrollbars();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_Py_Void();
5019 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
= 0;
5021 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5022 wxScrollWinEvent
*arg2
= 0 ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5030 char * kwnames
[] = {
5031 (char *) "self",(char *) "event", NULL
5034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5036 if (!SWIG_IsOK(res1
)) {
5037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5039 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5041 if (!SWIG_IsOK(res2
)) {
5042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_From_int(static_cast< int >(result
));
5061 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
= 0;
5063 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5064 wxWindow
*arg2
= (wxWindow
*) 0 ;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5071 char * kwnames
[] = {
5072 (char *) "self",(char *) "target", NULL
5075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5077 if (!SWIG_IsOK(res1
)) {
5078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5080 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5081 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5082 if (!SWIG_IsOK(res2
)) {
5083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5085 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 (arg1
)->SetTargetWindow(arg2
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= SWIG_Py_Void();
5099 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5100 PyObject
*resultobj
= 0;
5101 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5102 wxWindow
*result
= 0 ;
5105 PyObject
*swig_obj
[1] ;
5107 if (!args
) SWIG_fail
;
5109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5110 if (!SWIG_IsOK(res1
)) {
5111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5113 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= wxPyMake_wxObject(result
, 0);
5129 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
= 0;
5131 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5136 PyObject
* obj0
= 0 ;
5137 PyObject
* obj1
= 0 ;
5138 char * kwnames
[] = {
5139 (char *) "self",(char *) "rect", NULL
5142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5144 if (!SWIG_IsOK(res1
)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5147 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5150 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_Py_Void();
5165 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5166 PyObject
*resultobj
= 0;
5167 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5171 PyObject
*swig_obj
[1] ;
5173 if (!args
) SWIG_fail
;
5175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5176 if (!SWIG_IsOK(res1
)) {
5177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5179 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5193 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
= 0;
5195 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5201 PyObject
* obj0
= 0 ;
5202 PyObject
* obj1
= 0 ;
5203 char * kwnames
[] = {
5204 (char *) "self",(char *) "dc", NULL
5207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5209 if (!SWIG_IsOK(res1
)) {
5210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5212 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5214 if (!SWIG_IsOK(res2
)) {
5215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5220 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 (arg1
)->DoPrepareDC(*arg2
);
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5227 resultobj
= SWIG_Py_Void();
5234 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
= 0;
5236 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5237 SwigValueWrapper
<wxVisualAttributes
> result
;
5240 PyObject
* obj0
= 0 ;
5241 char * kwnames
[] = {
5242 (char *) "variant", NULL
5245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5247 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5248 if (!SWIG_IsOK(ecode1
)) {
5249 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5251 arg1
= static_cast< wxWindowVariant
>(val1
);
5254 if (!wxPyCheckForApp()) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5267 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5270 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5271 return SWIG_Py_Void();
5274 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5275 return SWIG_Python_InitShadowInstance(args
);
5278 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5279 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5284 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5285 PyObject
*pyobj
= 0;
5289 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5291 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5298 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5299 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5304 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5305 PyObject
*pyobj
= 0;
5309 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5311 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5318 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5319 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5324 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5325 PyObject
*pyobj
= 0;
5329 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5331 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5338 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5339 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5344 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5345 PyObject
*pyobj
= 0;
5349 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5351 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5358 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
*resultobj
= 0;
5360 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5361 bool arg2
= (bool) true ;
5366 PyObject
* obj0
= 0 ;
5367 PyObject
* obj1
= 0 ;
5368 char * kwnames
[] = {
5369 (char *) "self",(char *) "maximize", NULL
5372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5374 if (!SWIG_IsOK(res1
)) {
5375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5377 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5379 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5380 if (!SWIG_IsOK(ecode2
)) {
5381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5383 arg2
= static_cast< bool >(val2
);
5386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5387 (arg1
)->Maximize(arg2
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= SWIG_Py_Void();
5398 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5399 PyObject
*resultobj
= 0;
5400 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5403 PyObject
*swig_obj
[1] ;
5405 if (!args
) SWIG_fail
;
5407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5408 if (!SWIG_IsOK(res1
)) {
5409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5411 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= SWIG_Py_Void();
5425 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
= 0;
5427 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5428 bool arg2
= (bool) true ;
5433 PyObject
* obj0
= 0 ;
5434 PyObject
* obj1
= 0 ;
5435 char * kwnames
[] = {
5436 (char *) "self",(char *) "iconize", NULL
5439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5441 if (!SWIG_IsOK(res1
)) {
5442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5444 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5446 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5447 if (!SWIG_IsOK(ecode2
)) {
5448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5450 arg2
= static_cast< bool >(val2
);
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 (arg1
)->Iconize(arg2
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5458 resultobj
= SWIG_Py_Void();
5465 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5466 PyObject
*resultobj
= 0;
5467 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5471 PyObject
*swig_obj
[1] ;
5473 if (!args
) SWIG_fail
;
5475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5476 if (!SWIG_IsOK(res1
)) {
5477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5479 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5495 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5496 PyObject
*resultobj
= 0;
5497 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5501 PyObject
*swig_obj
[1] ;
5503 if (!args
) SWIG_fail
;
5505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5506 if (!SWIG_IsOK(res1
)) {
5507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5509 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5525 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5526 PyObject
*resultobj
= 0;
5527 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5531 PyObject
*swig_obj
[1] ;
5533 if (!args
) SWIG_fail
;
5535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5536 if (!SWIG_IsOK(res1
)) {
5537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5539 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5555 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5556 PyObject
*resultobj
= 0;
5557 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5561 PyObject
*swig_obj
[1] ;
5563 if (!args
) SWIG_fail
;
5565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5566 if (!SWIG_IsOK(res1
)) {
5567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5569 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5583 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
= 0;
5585 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5591 PyObject
* obj0
= 0 ;
5592 PyObject
* obj1
= 0 ;
5593 char * kwnames
[] = {
5594 (char *) "self",(char *) "icon", NULL
5597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5599 if (!SWIG_IsOK(res1
)) {
5600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5602 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5604 if (!SWIG_IsOK(res2
)) {
5605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5610 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= SWIG_Py_Void();
5624 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
= 0;
5626 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5627 wxIconBundle
*arg2
= 0 ;
5632 PyObject
* obj0
= 0 ;
5633 PyObject
* obj1
= 0 ;
5634 char * kwnames
[] = {
5635 (char *) "self",(char *) "icons", NULL
5638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5640 if (!SWIG_IsOK(res1
)) {
5641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5643 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5645 if (!SWIG_IsOK(res2
)) {
5646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5651 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5658 resultobj
= SWIG_Py_Void();
5665 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
= 0;
5667 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5669 long arg3
= (long) wxFULLSCREEN_ALL
;
5677 PyObject
* obj0
= 0 ;
5678 PyObject
* obj1
= 0 ;
5679 PyObject
* obj2
= 0 ;
5680 char * kwnames
[] = {
5681 (char *) "self",(char *) "show",(char *) "style", NULL
5684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5686 if (!SWIG_IsOK(res1
)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5689 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5690 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5691 if (!SWIG_IsOK(ecode2
)) {
5692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5694 arg2
= static_cast< bool >(val2
);
5696 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5697 if (!SWIG_IsOK(ecode3
)) {
5698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5700 arg3
= static_cast< long >(val3
);
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5717 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5718 PyObject
*resultobj
= 0;
5719 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5723 PyObject
*swig_obj
[1] ;
5725 if (!args
) SWIG_fail
;
5727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5728 if (!SWIG_IsOK(res1
)) {
5729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5731 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5747 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
= 0;
5749 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5750 wxString
*arg2
= 0 ;
5753 bool temp2
= false ;
5754 PyObject
* obj0
= 0 ;
5755 PyObject
* obj1
= 0 ;
5756 char * kwnames
[] = {
5757 (char *) "self",(char *) "title", NULL
5760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5762 if (!SWIG_IsOK(res1
)) {
5763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5765 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5767 arg2
= wxString_in_helper(obj1
);
5768 if (arg2
== NULL
) SWIG_fail
;
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 (arg1
)->SetTitle((wxString
const &)*arg2
);
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) SWIG_fail
;
5777 resultobj
= SWIG_Py_Void();
5792 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5793 PyObject
*resultobj
= 0;
5794 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5798 PyObject
*swig_obj
[1] ;
5800 if (!args
) SWIG_fail
;
5802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5803 if (!SWIG_IsOK(res1
)) {
5804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5806 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5826 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
*resultobj
= 0;
5828 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5837 char * kwnames
[] = {
5838 (char *) "self",(char *) "enable", NULL
5841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5843 if (!SWIG_IsOK(res1
)) {
5844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5846 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5847 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5848 if (!SWIG_IsOK(ecode2
)) {
5849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5851 arg2
= static_cast< bool >(val2
);
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5867 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
= 0;
5869 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5870 wxRegion
*arg2
= 0 ;
5876 PyObject
* obj0
= 0 ;
5877 PyObject
* obj1
= 0 ;
5878 char * kwnames
[] = {
5879 (char *) "self",(char *) "region", NULL
5882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5884 if (!SWIG_IsOK(res1
)) {
5885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5887 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5888 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5889 if (!SWIG_IsOK(res2
)) {
5890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5895 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5911 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
= 0;
5913 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5914 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5919 PyObject
* obj0
= 0 ;
5920 PyObject
* obj1
= 0 ;
5921 char * kwnames
[] = {
5922 (char *) "self",(char *) "flags", NULL
5925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5927 if (!SWIG_IsOK(res1
)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5930 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5933 if (!SWIG_IsOK(ecode2
)) {
5934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5936 arg2
= static_cast< int >(val2
);
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 (arg1
)->RequestUserAttention(arg2
);
5941 wxPyEndAllowThreads(__tstate
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= SWIG_Py_Void();
5951 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5952 PyObject
*resultobj
= 0;
5953 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5957 PyObject
*swig_obj
[1] ;
5959 if (!args
) SWIG_fail
;
5961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5962 if (!SWIG_IsOK(res1
)) {
5963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5965 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (bool)(arg1
)->IsActive();
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5981 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
= 0;
5983 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5990 PyObject
* obj1
= 0 ;
5991 char * kwnames
[] = {
5992 (char *) "self",(char *) "on", NULL
5995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6000 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6001 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6002 if (!SWIG_IsOK(ecode2
)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6005 arg2
= static_cast< bool >(val2
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_Py_Void();
6019 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6033 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6049 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
= 0;
6051 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6052 int arg2
= (int) wxBOTH
;
6057 PyObject
* obj0
= 0 ;
6058 PyObject
* obj1
= 0 ;
6059 char * kwnames
[] = {
6060 (char *) "self",(char *) "dir", NULL
6063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6065 if (!SWIG_IsOK(res1
)) {
6066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6068 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6071 if (!SWIG_IsOK(ecode2
)) {
6072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6074 arg2
= static_cast< int >(val2
);
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 (arg1
)->CenterOnScreen(arg2
);
6079 wxPyEndAllowThreads(__tstate
);
6080 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= SWIG_Py_Void();
6089 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6090 PyObject
*resultobj
= 0;
6091 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6092 wxWindow
*result
= 0 ;
6095 PyObject
*swig_obj
[1] ;
6097 if (!args
) SWIG_fail
;
6099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6100 if (!SWIG_IsOK(res1
)) {
6101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6103 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= wxPyMake_wxObject(result
, 0);
6119 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
= 0;
6121 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6122 wxWindow
*arg2
= (wxWindow
*) 0 ;
6123 wxWindow
*result
= 0 ;
6128 PyObject
* obj0
= 0 ;
6129 PyObject
* obj1
= 0 ;
6130 char * kwnames
[] = {
6131 (char *) "self",(char *) "child", NULL
6134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6136 if (!SWIG_IsOK(res1
)) {
6137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6139 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6141 if (!SWIG_IsOK(res2
)) {
6142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6144 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6152 resultobj
= wxPyMake_wxObject(result
, 0);
6160 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
= 0;
6162 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6163 wxWindow
*arg2
= (wxWindow
*) 0 ;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6170 char * kwnames
[] = {
6171 (char *) "self",(char *) "win", NULL
6174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6176 if (!SWIG_IsOK(res1
)) {
6177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6179 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6181 if (!SWIG_IsOK(res2
)) {
6182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 (arg1
)->SetTmpDefaultItem(arg2
);
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= SWIG_Py_Void();
6198 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6199 PyObject
*resultobj
= 0;
6200 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6201 wxWindow
*result
= 0 ;
6204 PyObject
*swig_obj
[1] ;
6206 if (!args
) SWIG_fail
;
6208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6209 if (!SWIG_IsOK(res1
)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6212 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= wxPyMake_wxObject(result
, 0);
6228 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6231 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6232 return SWIG_Py_Void();
6235 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
= 0;
6237 wxWindow
*arg1
= (wxWindow
*) 0 ;
6238 int arg2
= (int) (int)-1 ;
6239 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6240 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6241 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6242 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6243 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6244 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6245 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6246 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6247 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6248 wxFrame
*result
= 0 ;
6253 bool temp3
= false ;
6258 bool temp7
= false ;
6259 PyObject
* obj0
= 0 ;
6260 PyObject
* obj1
= 0 ;
6261 PyObject
* obj2
= 0 ;
6262 PyObject
* obj3
= 0 ;
6263 PyObject
* obj4
= 0 ;
6264 PyObject
* obj5
= 0 ;
6265 PyObject
* obj6
= 0 ;
6266 char * kwnames
[] = {
6267 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6272 if (!SWIG_IsOK(res1
)) {
6273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6275 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6278 if (!SWIG_IsOK(ecode2
)) {
6279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6281 arg2
= static_cast< int >(val2
);
6285 arg3
= wxString_in_helper(obj2
);
6286 if (arg3
== NULL
) SWIG_fail
;
6293 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6299 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6303 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6304 if (!SWIG_IsOK(ecode6
)) {
6305 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6307 arg6
= static_cast< long >(val6
);
6311 arg7
= wxString_in_helper(obj6
);
6312 if (arg7
== NULL
) SWIG_fail
;
6317 if (!wxPyCheckForApp()) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6346 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6347 PyObject
*resultobj
= 0;
6348 wxFrame
*result
= 0 ;
6350 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6352 if (!wxPyCheckForApp()) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 result
= (wxFrame
*)new wxFrame();
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6365 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
= 0;
6367 wxFrame
*arg1
= (wxFrame
*) 0 ;
6368 wxWindow
*arg2
= (wxWindow
*) 0 ;
6369 int arg3
= (int) (int)-1 ;
6370 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6371 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6372 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6373 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6374 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6375 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6376 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6377 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6378 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6386 bool temp4
= false ;
6391 bool temp8
= false ;
6392 PyObject
* obj0
= 0 ;
6393 PyObject
* obj1
= 0 ;
6394 PyObject
* obj2
= 0 ;
6395 PyObject
* obj3
= 0 ;
6396 PyObject
* obj4
= 0 ;
6397 PyObject
* obj5
= 0 ;
6398 PyObject
* obj6
= 0 ;
6399 PyObject
* obj7
= 0 ;
6400 char * kwnames
[] = {
6401 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6406 if (!SWIG_IsOK(res1
)) {
6407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6409 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6410 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6411 if (!SWIG_IsOK(res2
)) {
6412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6414 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6416 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6417 if (!SWIG_IsOK(ecode3
)) {
6418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6420 arg3
= static_cast< int >(val3
);
6424 arg4
= wxString_in_helper(obj3
);
6425 if (arg4
== NULL
) SWIG_fail
;
6432 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6438 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6442 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6443 if (!SWIG_IsOK(ecode7
)) {
6444 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6446 arg7
= static_cast< long >(val7
);
6450 arg8
= wxString_in_helper(obj7
);
6451 if (arg8
== NULL
) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6458 wxPyEndAllowThreads(__tstate
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6486 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6487 PyObject
*resultobj
= 0;
6488 wxFrame
*arg1
= (wxFrame
*) 0 ;
6491 PyObject
*swig_obj
[1] ;
6493 if (!args
) SWIG_fail
;
6495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6496 if (!SWIG_IsOK(res1
)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6499 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 (arg1
)->SendSizeEvent();
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_Py_Void();
6513 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
= 0;
6515 wxFrame
*arg1
= (wxFrame
*) 0 ;
6516 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6521 PyObject
* obj0
= 0 ;
6522 PyObject
* obj1
= 0 ;
6523 char * kwnames
[] = {
6524 (char *) "self",(char *) "menubar", NULL
6527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6529 if (!SWIG_IsOK(res1
)) {
6530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6532 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6533 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6534 if (!SWIG_IsOK(res2
)) {
6535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6537 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 (arg1
)->SetMenuBar(arg2
);
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= SWIG_Py_Void();
6551 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6552 PyObject
*resultobj
= 0;
6553 wxFrame
*arg1
= (wxFrame
*) 0 ;
6554 wxMenuBar
*result
= 0 ;
6557 PyObject
*swig_obj
[1] ;
6559 if (!args
) SWIG_fail
;
6561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6562 if (!SWIG_IsOK(res1
)) {
6563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6565 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6573 resultobj
= wxPyMake_wxObject(result
, 0);
6581 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
*resultobj
= 0;
6583 wxFrame
*arg1
= (wxFrame
*) 0 ;
6590 PyObject
* obj0
= 0 ;
6591 PyObject
* obj1
= 0 ;
6592 char * kwnames
[] = {
6593 (char *) "self",(char *) "winid", NULL
6596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6598 if (!SWIG_IsOK(res1
)) {
6599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6601 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6603 if (!SWIG_IsOK(ecode2
)) {
6604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6606 arg2
= static_cast< int >(val2
);
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6622 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
= 0;
6624 wxFrame
*arg1
= (wxFrame
*) 0 ;
6625 int arg2
= (int) 1 ;
6626 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6627 int arg4
= (int) 0 ;
6628 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6629 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6630 wxStatusBar
*result
= 0 ;
6639 bool temp5
= false ;
6640 PyObject
* obj0
= 0 ;
6641 PyObject
* obj1
= 0 ;
6642 PyObject
* obj2
= 0 ;
6643 PyObject
* obj3
= 0 ;
6644 PyObject
* obj4
= 0 ;
6645 char * kwnames
[] = {
6646 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6651 if (!SWIG_IsOK(res1
)) {
6652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6654 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6657 if (!SWIG_IsOK(ecode2
)) {
6658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6660 arg2
= static_cast< int >(val2
);
6663 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6664 if (!SWIG_IsOK(ecode3
)) {
6665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6667 arg3
= static_cast< long >(val3
);
6670 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6671 if (!SWIG_IsOK(ecode4
)) {
6672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6674 arg4
= static_cast< int >(val4
);
6678 arg5
= wxString_in_helper(obj4
);
6679 if (arg5
== NULL
) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6706 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6707 PyObject
*resultobj
= 0;
6708 wxFrame
*arg1
= (wxFrame
*) 0 ;
6709 wxStatusBar
*result
= 0 ;
6712 PyObject
*swig_obj
[1] ;
6714 if (!args
) SWIG_fail
;
6716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6717 if (!SWIG_IsOK(res1
)) {
6718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6720 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6728 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6736 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
= 0;
6738 wxFrame
*arg1
= (wxFrame
*) 0 ;
6739 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6744 PyObject
* obj0
= 0 ;
6745 PyObject
* obj1
= 0 ;
6746 char * kwnames
[] = {
6747 (char *) "self",(char *) "statBar", NULL
6750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6752 if (!SWIG_IsOK(res1
)) {
6753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6755 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6756 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6757 if (!SWIG_IsOK(res2
)) {
6758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6760 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 (arg1
)->SetStatusBar(arg2
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= SWIG_Py_Void();
6774 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
= 0;
6776 wxFrame
*arg1
= (wxFrame
*) 0 ;
6777 wxString
*arg2
= 0 ;
6778 int arg3
= (int) 0 ;
6781 bool temp2
= false ;
6784 PyObject
* obj0
= 0 ;
6785 PyObject
* obj1
= 0 ;
6786 PyObject
* obj2
= 0 ;
6787 char * kwnames
[] = {
6788 (char *) "self",(char *) "text",(char *) "number", NULL
6791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6793 if (!SWIG_IsOK(res1
)) {
6794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6796 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6798 arg2
= wxString_in_helper(obj1
);
6799 if (arg2
== NULL
) SWIG_fail
;
6803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6804 if (!SWIG_IsOK(ecode3
)) {
6805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6807 arg3
= static_cast< int >(val3
);
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= SWIG_Py_Void();
6830 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
= 0;
6832 wxFrame
*arg1
= (wxFrame
*) 0 ;
6834 int *arg3
= (int *) 0 ;
6837 PyObject
* obj0
= 0 ;
6838 PyObject
* obj1
= 0 ;
6839 char * kwnames
[] = {
6840 (char *) "self",(char *) "widths", NULL
6843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6845 if (!SWIG_IsOK(res1
)) {
6846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6848 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6850 arg2
= PyList_Size(obj1
);
6851 arg3
= int_LIST_helper(obj1
);
6852 if (arg3
== NULL
) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= SWIG_Py_Void();
6862 if (arg3
) delete [] arg3
;
6867 if (arg3
) delete [] arg3
;
6873 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
*resultobj
= 0;
6875 wxFrame
*arg1
= (wxFrame
*) 0 ;
6876 wxString
*arg2
= 0 ;
6877 int arg3
= (int) 0 ;
6880 bool temp2
= false ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6885 PyObject
* obj2
= 0 ;
6886 char * kwnames
[] = {
6887 (char *) "self",(char *) "text",(char *) "number", NULL
6890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6892 if (!SWIG_IsOK(res1
)) {
6893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6895 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6897 arg2
= wxString_in_helper(obj1
);
6898 if (arg2
== NULL
) SWIG_fail
;
6902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6903 if (!SWIG_IsOK(ecode3
)) {
6904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6906 arg3
= static_cast< int >(val3
);
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_Py_Void();
6929 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
= 0;
6931 wxFrame
*arg1
= (wxFrame
*) 0 ;
6932 int arg2
= (int) 0 ;
6937 PyObject
* obj0
= 0 ;
6938 PyObject
* obj1
= 0 ;
6939 char * kwnames
[] = {
6940 (char *) "self",(char *) "number", NULL
6943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6945 if (!SWIG_IsOK(res1
)) {
6946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6948 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6951 if (!SWIG_IsOK(ecode2
)) {
6952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6954 arg2
= static_cast< int >(val2
);
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 (arg1
)->PopStatusText(arg2
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= SWIG_Py_Void();
6969 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
= 0;
6971 wxFrame
*arg1
= (wxFrame
*) 0 ;
6977 PyObject
* obj0
= 0 ;
6978 PyObject
* obj1
= 0 ;
6979 char * kwnames
[] = {
6980 (char *) "self",(char *) "n", NULL
6983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6985 if (!SWIG_IsOK(res1
)) {
6986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6988 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6990 if (!SWIG_IsOK(ecode2
)) {
6991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6993 arg2
= static_cast< int >(val2
);
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 (arg1
)->SetStatusBarPane(arg2
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7000 resultobj
= SWIG_Py_Void();
7007 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7008 PyObject
*resultobj
= 0;
7009 wxFrame
*arg1
= (wxFrame
*) 0 ;
7013 PyObject
*swig_obj
[1] ;
7015 if (!args
) SWIG_fail
;
7017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7018 if (!SWIG_IsOK(res1
)) {
7019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7021 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= SWIG_From_int(static_cast< int >(result
));
7035 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
= 0;
7037 wxFrame
*arg1
= (wxFrame
*) 0 ;
7038 long arg2
= (long) -1 ;
7039 int arg3
= (int) -1 ;
7040 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7041 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7042 wxToolBar
*result
= 0 ;
7049 bool temp4
= false ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 PyObject
* obj2
= 0 ;
7053 PyObject
* obj3
= 0 ;
7054 char * kwnames
[] = {
7055 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7060 if (!SWIG_IsOK(res1
)) {
7061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7063 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7065 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7066 if (!SWIG_IsOK(ecode2
)) {
7067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7069 arg2
= static_cast< long >(val2
);
7072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7073 if (!SWIG_IsOK(ecode3
)) {
7074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7076 arg3
= static_cast< int >(val3
);
7080 arg4
= wxString_in_helper(obj3
);
7081 if (arg4
== NULL
) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7108 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7109 PyObject
*resultobj
= 0;
7110 wxFrame
*arg1
= (wxFrame
*) 0 ;
7111 wxToolBar
*result
= 0 ;
7114 PyObject
*swig_obj
[1] ;
7116 if (!args
) SWIG_fail
;
7118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7119 if (!SWIG_IsOK(res1
)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7122 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7138 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
= 0;
7140 wxFrame
*arg1
= (wxFrame
*) 0 ;
7141 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7146 PyObject
* obj0
= 0 ;
7147 PyObject
* obj1
= 0 ;
7148 char * kwnames
[] = {
7149 (char *) "self",(char *) "toolbar", NULL
7152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7154 if (!SWIG_IsOK(res1
)) {
7155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7157 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7158 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7159 if (!SWIG_IsOK(res2
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7162 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 (arg1
)->SetToolBar(arg2
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= SWIG_Py_Void();
7176 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
= 0;
7178 wxFrame
*arg1
= (wxFrame
*) 0 ;
7179 wxString
*arg2
= 0 ;
7183 bool temp2
= false ;
7186 PyObject
* obj0
= 0 ;
7187 PyObject
* obj1
= 0 ;
7188 PyObject
* obj2
= 0 ;
7189 char * kwnames
[] = {
7190 (char *) "self",(char *) "text",(char *) "show", NULL
7193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7195 if (!SWIG_IsOK(res1
)) {
7196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7198 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7200 arg2
= wxString_in_helper(obj1
);
7201 if (arg2
== NULL
) SWIG_fail
;
7204 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7205 if (!SWIG_IsOK(ecode3
)) {
7206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7208 arg3
= static_cast< bool >(val3
);
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_Py_Void();
7230 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
= 0;
7232 wxFrame
*arg1
= (wxFrame
*) 0 ;
7233 wxMenu
*arg2
= (wxMenu
*) NULL
;
7238 PyObject
* obj0
= 0 ;
7239 PyObject
* obj1
= 0 ;
7240 char * kwnames
[] = {
7241 (char *) "self",(char *) "menu", NULL
7244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7246 if (!SWIG_IsOK(res1
)) {
7247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7249 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7251 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7252 if (!SWIG_IsOK(res2
)) {
7253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7255 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 (arg1
)->DoMenuUpdates(arg2
);
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 resultobj
= SWIG_Py_Void();
7270 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
= 0;
7272 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7273 SwigValueWrapper
<wxVisualAttributes
> result
;
7276 PyObject
* obj0
= 0 ;
7277 char * kwnames
[] = {
7278 (char *) "variant", NULL
7281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7283 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7284 if (!SWIG_IsOK(ecode1
)) {
7285 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7287 arg1
= static_cast< wxWindowVariant
>(val1
);
7290 if (!wxPyCheckForApp()) SWIG_fail
;
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7303 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7306 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7307 return SWIG_Py_Void();
7310 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 return SWIG_Python_InitShadowInstance(args
);
7314 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
= 0;
7316 wxWindow
*arg1
= (wxWindow
*) 0 ;
7317 int arg2
= (int) (int)-1 ;
7318 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7319 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7320 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7321 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7322 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7323 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7324 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7325 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7326 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7327 wxDialog
*result
= 0 ;
7332 bool temp3
= false ;
7337 bool temp7
= false ;
7338 PyObject
* obj0
= 0 ;
7339 PyObject
* obj1
= 0 ;
7340 PyObject
* obj2
= 0 ;
7341 PyObject
* obj3
= 0 ;
7342 PyObject
* obj4
= 0 ;
7343 PyObject
* obj5
= 0 ;
7344 PyObject
* obj6
= 0 ;
7345 char * kwnames
[] = {
7346 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7351 if (!SWIG_IsOK(res1
)) {
7352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7354 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7357 if (!SWIG_IsOK(ecode2
)) {
7358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7360 arg2
= static_cast< int >(val2
);
7364 arg3
= wxString_in_helper(obj2
);
7365 if (arg3
== NULL
) SWIG_fail
;
7372 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7378 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7382 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7383 if (!SWIG_IsOK(ecode6
)) {
7384 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7386 arg6
= static_cast< long >(val6
);
7390 arg7
= wxString_in_helper(obj6
);
7391 if (arg7
== NULL
) SWIG_fail
;
7396 if (!wxPyCheckForApp()) SWIG_fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7425 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7426 PyObject
*resultobj
= 0;
7427 wxDialog
*result
= 0 ;
7429 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7431 if (!wxPyCheckForApp()) SWIG_fail
;
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 result
= (wxDialog
*)new wxDialog();
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7444 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
*resultobj
= 0;
7446 wxDialog
*arg1
= (wxDialog
*) 0 ;
7447 wxWindow
*arg2
= (wxWindow
*) 0 ;
7448 int arg3
= (int) (int)-1 ;
7449 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7450 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7451 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7452 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7453 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7454 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7455 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7456 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7457 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7465 bool temp4
= false ;
7470 bool temp8
= false ;
7471 PyObject
* obj0
= 0 ;
7472 PyObject
* obj1
= 0 ;
7473 PyObject
* obj2
= 0 ;
7474 PyObject
* obj3
= 0 ;
7475 PyObject
* obj4
= 0 ;
7476 PyObject
* obj5
= 0 ;
7477 PyObject
* obj6
= 0 ;
7478 PyObject
* obj7
= 0 ;
7479 char * kwnames
[] = {
7480 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7485 if (!SWIG_IsOK(res1
)) {
7486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7488 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7490 if (!SWIG_IsOK(res2
)) {
7491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7493 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7496 if (!SWIG_IsOK(ecode3
)) {
7497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7499 arg3
= static_cast< int >(val3
);
7503 arg4
= wxString_in_helper(obj3
);
7504 if (arg4
== NULL
) SWIG_fail
;
7511 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7517 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7521 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7522 if (!SWIG_IsOK(ecode7
)) {
7523 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7525 arg7
= static_cast< long >(val7
);
7529 arg8
= wxString_in_helper(obj7
);
7530 if (arg8
== NULL
) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7565 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
= 0;
7567 wxDialog
*arg1
= (wxDialog
*) 0 ;
7573 PyObject
* obj0
= 0 ;
7574 PyObject
* obj1
= 0 ;
7575 char * kwnames
[] = {
7576 (char *) "self",(char *) "returnCode", NULL
7579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7581 if (!SWIG_IsOK(res1
)) {
7582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7584 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7586 if (!SWIG_IsOK(ecode2
)) {
7587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7589 arg2
= static_cast< int >(val2
);
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 (arg1
)->SetReturnCode(arg2
);
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= SWIG_Py_Void();
7603 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7604 PyObject
*resultobj
= 0;
7605 wxDialog
*arg1
= (wxDialog
*) 0 ;
7609 PyObject
*swig_obj
[1] ;
7611 if (!args
) SWIG_fail
;
7613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7614 if (!SWIG_IsOK(res1
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7617 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_From_int(static_cast< int >(result
));
7631 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
= 0;
7633 wxDialog
*arg1
= (wxDialog
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7640 PyObject
* obj1
= 0 ;
7641 char * kwnames
[] = {
7642 (char *) "self",(char *) "affirmativeId", NULL
7645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7647 if (!SWIG_IsOK(res1
)) {
7648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7650 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7652 if (!SWIG_IsOK(ecode2
)) {
7653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7655 arg2
= static_cast< int >(val2
);
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 (arg1
)->SetAffirmativeId(arg2
);
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= SWIG_Py_Void();
7669 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7670 PyObject
*resultobj
= 0;
7671 wxDialog
*arg1
= (wxDialog
*) 0 ;
7675 PyObject
*swig_obj
[1] ;
7677 if (!args
) SWIG_fail
;
7679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7680 if (!SWIG_IsOK(res1
)) {
7681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7683 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= SWIG_From_int(static_cast< int >(result
));
7697 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
= 0;
7699 wxDialog
*arg1
= (wxDialog
*) 0 ;
7705 PyObject
* obj0
= 0 ;
7706 PyObject
* obj1
= 0 ;
7707 char * kwnames
[] = {
7708 (char *) "self",(char *) "escapeId", NULL
7711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7713 if (!SWIG_IsOK(res1
)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7716 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7718 if (!SWIG_IsOK(ecode2
)) {
7719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7721 arg2
= static_cast< int >(val2
);
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 (arg1
)->SetEscapeId(arg2
);
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= SWIG_Py_Void();
7735 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7736 PyObject
*resultobj
= 0;
7737 wxDialog
*arg1
= (wxDialog
*) 0 ;
7741 PyObject
*swig_obj
[1] ;
7743 if (!args
) SWIG_fail
;
7745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7746 if (!SWIG_IsOK(res1
)) {
7747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7749 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7753 wxPyEndAllowThreads(__tstate
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= SWIG_From_int(static_cast< int >(result
));
7763 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7764 PyObject
*resultobj
= 0;
7765 wxDialog
*arg1
= (wxDialog
*) 0 ;
7766 wxString
*arg2
= 0 ;
7767 wxSizer
*result
= 0 ;
7770 bool temp2
= false ;
7771 PyObject
* obj0
= 0 ;
7772 PyObject
* obj1
= 0 ;
7773 char * kwnames
[] = {
7774 (char *) "self",(char *) "message", NULL
7777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7779 if (!SWIG_IsOK(res1
)) {
7780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7782 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7784 arg2
= wxString_in_helper(obj1
);
7785 if (arg2
== NULL
) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7811 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
= 0;
7813 wxDialog
*arg1
= (wxDialog
*) 0 ;
7815 wxSizer
*result
= 0 ;
7820 PyObject
* obj0
= 0 ;
7821 PyObject
* obj1
= 0 ;
7822 char * kwnames
[] = {
7823 (char *) "self",(char *) "flags", NULL
7826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7828 if (!SWIG_IsOK(res1
)) {
7829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7831 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7832 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7833 if (!SWIG_IsOK(ecode2
)) {
7834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7836 arg2
= static_cast< long >(val2
);
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7852 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
= 0;
7854 wxDialog
*arg1
= (wxDialog
*) 0 ;
7856 wxSizer
*result
= 0 ;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7863 char * kwnames
[] = {
7864 (char *) "self",(char *) "flags", NULL
7867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7869 if (!SWIG_IsOK(res1
)) {
7870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7872 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7873 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7874 if (!SWIG_IsOK(ecode2
)) {
7875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7877 arg2
= static_cast< long >(val2
);
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7893 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
= 0;
7895 wxDialog
*arg1
= (wxDialog
*) 0 ;
7897 wxStdDialogButtonSizer
*result
= 0 ;
7902 PyObject
* obj0
= 0 ;
7903 PyObject
* obj1
= 0 ;
7904 char * kwnames
[] = {
7905 (char *) "self",(char *) "flags", NULL
7908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7910 if (!SWIG_IsOK(res1
)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7913 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7914 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7915 if (!SWIG_IsOK(ecode2
)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7918 arg2
= static_cast< long >(val2
);
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7932 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7933 PyObject
*resultobj
= 0;
7934 wxDialog
*arg1
= (wxDialog
*) 0 ;
7938 PyObject
*swig_obj
[1] ;
7940 if (!args
) SWIG_fail
;
7942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7943 if (!SWIG_IsOK(res1
)) {
7944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7946 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7962 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7963 PyObject
*resultobj
= 0;
7964 wxDialog
*arg1
= (wxDialog
*) 0 ;
7968 PyObject
*swig_obj
[1] ;
7970 if (!args
) SWIG_fail
;
7972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7973 if (!SWIG_IsOK(res1
)) {
7974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7976 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (int)(arg1
)->ShowModal();
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= SWIG_From_int(static_cast< int >(result
));
7990 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
= 0;
7992 wxDialog
*arg1
= (wxDialog
*) 0 ;
7998 PyObject
* obj0
= 0 ;
7999 PyObject
* obj1
= 0 ;
8000 char * kwnames
[] = {
8001 (char *) "self",(char *) "retCode", NULL
8004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8006 if (!SWIG_IsOK(res1
)) {
8007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8009 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8011 if (!SWIG_IsOK(ecode2
)) {
8012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8014 arg2
= static_cast< int >(val2
);
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 (arg1
)->EndModal(arg2
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= SWIG_Py_Void();
8028 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
= 0;
8030 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8031 SwigValueWrapper
<wxVisualAttributes
> result
;
8034 PyObject
* obj0
= 0 ;
8035 char * kwnames
[] = {
8036 (char *) "variant", NULL
8039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8041 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8042 if (!SWIG_IsOK(ecode1
)) {
8043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8045 arg1
= static_cast< wxWindowVariant
>(val1
);
8048 if (!wxPyCheckForApp()) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8061 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8064 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8065 return SWIG_Py_Void();
8068 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8069 return SWIG_Python_InitShadowInstance(args
);
8072 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
= 0;
8074 wxWindow
*arg1
= (wxWindow
*) 0 ;
8075 int arg2
= (int) (int)-1 ;
8076 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8077 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8078 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8079 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8080 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8081 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8082 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8083 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8084 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8085 wxMiniFrame
*result
= 0 ;
8090 bool temp3
= false ;
8095 bool temp7
= false ;
8096 PyObject
* obj0
= 0 ;
8097 PyObject
* obj1
= 0 ;
8098 PyObject
* obj2
= 0 ;
8099 PyObject
* obj3
= 0 ;
8100 PyObject
* obj4
= 0 ;
8101 PyObject
* obj5
= 0 ;
8102 PyObject
* obj6
= 0 ;
8103 char * kwnames
[] = {
8104 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8109 if (!SWIG_IsOK(res1
)) {
8110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8112 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8115 if (!SWIG_IsOK(ecode2
)) {
8116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8118 arg2
= static_cast< int >(val2
);
8122 arg3
= wxString_in_helper(obj2
);
8123 if (arg3
== NULL
) SWIG_fail
;
8130 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8136 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8140 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8141 if (!SWIG_IsOK(ecode6
)) {
8142 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8144 arg6
= static_cast< long >(val6
);
8148 arg7
= wxString_in_helper(obj6
);
8149 if (arg7
== NULL
) SWIG_fail
;
8154 if (!wxPyCheckForApp()) SWIG_fail
;
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8183 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8184 PyObject
*resultobj
= 0;
8185 wxMiniFrame
*result
= 0 ;
8187 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8189 if (!wxPyCheckForApp()) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (wxMiniFrame
*)new wxMiniFrame();
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8202 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
= 0;
8204 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8205 wxWindow
*arg2
= (wxWindow
*) 0 ;
8206 int arg3
= (int) (int)-1 ;
8207 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8208 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8209 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8210 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8211 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8212 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8213 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8214 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8215 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8223 bool temp4
= false ;
8228 bool temp8
= false ;
8229 PyObject
* obj0
= 0 ;
8230 PyObject
* obj1
= 0 ;
8231 PyObject
* obj2
= 0 ;
8232 PyObject
* obj3
= 0 ;
8233 PyObject
* obj4
= 0 ;
8234 PyObject
* obj5
= 0 ;
8235 PyObject
* obj6
= 0 ;
8236 PyObject
* obj7
= 0 ;
8237 char * kwnames
[] = {
8238 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8243 if (!SWIG_IsOK(res1
)) {
8244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8246 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8247 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8248 if (!SWIG_IsOK(res2
)) {
8249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8251 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8254 if (!SWIG_IsOK(ecode3
)) {
8255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8257 arg3
= static_cast< int >(val3
);
8261 arg4
= wxString_in_helper(obj3
);
8262 if (arg4
== NULL
) SWIG_fail
;
8269 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8275 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8279 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8280 if (!SWIG_IsOK(ecode7
)) {
8281 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8283 arg7
= static_cast< long >(val7
);
8287 arg8
= wxString_in_helper(obj7
);
8288 if (arg8
== NULL
) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8323 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8326 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8327 return SWIG_Py_Void();
8330 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8331 return SWIG_Python_InitShadowInstance(args
);
8334 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
*resultobj
= 0;
8336 wxBitmap
*arg1
= 0 ;
8337 wxWindow
*arg2
= (wxWindow
*) 0 ;
8339 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8340 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8341 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8342 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8343 long arg6
= (long) wxNO_BORDER
;
8344 wxSplashScreenWindow
*result
= 0 ;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8357 PyObject
* obj2
= 0 ;
8358 PyObject
* obj3
= 0 ;
8359 PyObject
* obj4
= 0 ;
8360 PyObject
* obj5
= 0 ;
8361 char * kwnames
[] = {
8362 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8366 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8367 if (!SWIG_IsOK(res1
)) {
8368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8373 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8375 if (!SWIG_IsOK(res2
)) {
8376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8378 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8380 if (!SWIG_IsOK(ecode3
)) {
8381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8383 arg3
= static_cast< int >(val3
);
8387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8393 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8397 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8398 if (!SWIG_IsOK(ecode6
)) {
8399 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8401 arg6
= static_cast< long >(val6
);
8404 if (!wxPyCheckForApp()) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8417 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
= 0;
8419 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8420 wxBitmap
*arg2
= 0 ;
8425 PyObject
* obj0
= 0 ;
8426 PyObject
* obj1
= 0 ;
8427 char * kwnames
[] = {
8428 (char *) "self",(char *) "bitmap", NULL
8431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8433 if (!SWIG_IsOK(res1
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8436 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8437 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8438 if (!SWIG_IsOK(res2
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8444 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_Py_Void();
8458 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8459 PyObject
*resultobj
= 0;
8460 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8461 wxBitmap
*result
= 0 ;
8464 PyObject
*swig_obj
[1] ;
8466 if (!args
) SWIG_fail
;
8468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8469 if (!SWIG_IsOK(res1
)) {
8470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8472 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8477 result
= (wxBitmap
*) &_result_ref
;
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8483 wxBitmap
* resultptr
= new wxBitmap(*result
);
8484 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8492 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8495 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8496 return SWIG_Py_Void();
8499 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8500 return SWIG_Python_InitShadowInstance(args
);
8503 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
= 0;
8505 wxBitmap
*arg1
= 0 ;
8508 wxWindow
*arg4
= (wxWindow
*) 0 ;
8509 int arg5
= (int) -1 ;
8510 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8511 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8512 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8513 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8514 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8515 wxSplashScreen
*result
= 0 ;
8530 PyObject
* obj0
= 0 ;
8531 PyObject
* obj1
= 0 ;
8532 PyObject
* obj2
= 0 ;
8533 PyObject
* obj3
= 0 ;
8534 PyObject
* obj4
= 0 ;
8535 PyObject
* obj5
= 0 ;
8536 PyObject
* obj6
= 0 ;
8537 PyObject
* obj7
= 0 ;
8538 char * kwnames
[] = {
8539 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8543 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8544 if (!SWIG_IsOK(res1
)) {
8545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8550 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8551 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8552 if (!SWIG_IsOK(ecode2
)) {
8553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8555 arg2
= static_cast< long >(val2
);
8556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8557 if (!SWIG_IsOK(ecode3
)) {
8558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8560 arg3
= static_cast< int >(val3
);
8561 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8562 if (!SWIG_IsOK(res4
)) {
8563 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8565 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8567 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8568 if (!SWIG_IsOK(ecode5
)) {
8569 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8571 arg5
= static_cast< int >(val5
);
8576 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8582 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8586 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8587 if (!SWIG_IsOK(ecode8
)) {
8588 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8590 arg8
= static_cast< long >(val8
);
8593 if (!wxPyCheckForApp()) SWIG_fail
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8596 wxPyEndAllowThreads(__tstate
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8606 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8607 PyObject
*resultobj
= 0;
8608 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8612 PyObject
*swig_obj
[1] ;
8614 if (!args
) SWIG_fail
;
8616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8617 if (!SWIG_IsOK(res1
)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8620 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8624 wxPyEndAllowThreads(__tstate
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 resultobj
= SWIG_From_long(static_cast< long >(result
));
8634 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8635 PyObject
*resultobj
= 0;
8636 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8637 wxSplashScreenWindow
*result
= 0 ;
8640 PyObject
*swig_obj
[1] ;
8642 if (!args
) SWIG_fail
;
8644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8645 if (!SWIG_IsOK(res1
)) {
8646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8648 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8662 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8663 PyObject
*resultobj
= 0;
8664 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8668 PyObject
*swig_obj
[1] ;
8670 if (!args
) SWIG_fail
;
8672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8673 if (!SWIG_IsOK(res1
)) {
8674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8676 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 resultobj
= SWIG_From_int(static_cast< int >(result
));
8690 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8692 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8693 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8694 return SWIG_Py_Void();
8697 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8698 return SWIG_Python_InitShadowInstance(args
);
8701 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
= 0;
8703 wxWindow
*arg1
= (wxWindow
*) 0 ;
8704 int arg2
= (int) -1 ;
8705 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8706 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8707 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8708 wxStatusBar
*result
= 0 ;
8715 bool temp4
= false ;
8716 PyObject
* obj0
= 0 ;
8717 PyObject
* obj1
= 0 ;
8718 PyObject
* obj2
= 0 ;
8719 PyObject
* obj3
= 0 ;
8720 char * kwnames
[] = {
8721 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8726 if (!SWIG_IsOK(res1
)) {
8727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8729 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8732 if (!SWIG_IsOK(ecode2
)) {
8733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8735 arg2
= static_cast< int >(val2
);
8738 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8739 if (!SWIG_IsOK(ecode3
)) {
8740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8742 arg3
= static_cast< long >(val3
);
8746 arg4
= wxString_in_helper(obj3
);
8747 if (arg4
== NULL
) SWIG_fail
;
8752 if (!wxPyCheckForApp()) SWIG_fail
;
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8773 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8774 PyObject
*resultobj
= 0;
8775 wxStatusBar
*result
= 0 ;
8777 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8779 if (!wxPyCheckForApp()) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (wxStatusBar
*)new wxStatusBar();
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8792 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
= 0;
8794 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8795 wxWindow
*arg2
= (wxWindow
*) 0 ;
8796 int arg3
= (int) -1 ;
8797 long arg4
= (long) wxST_SIZEGRIP
;
8798 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8799 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8809 bool temp5
= false ;
8810 PyObject
* obj0
= 0 ;
8811 PyObject
* obj1
= 0 ;
8812 PyObject
* obj2
= 0 ;
8813 PyObject
* obj3
= 0 ;
8814 PyObject
* obj4
= 0 ;
8815 char * kwnames
[] = {
8816 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8821 if (!SWIG_IsOK(res1
)) {
8822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8824 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8826 if (!SWIG_IsOK(res2
)) {
8827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8829 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8832 if (!SWIG_IsOK(ecode3
)) {
8833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8835 arg3
= static_cast< int >(val3
);
8838 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8839 if (!SWIG_IsOK(ecode4
)) {
8840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8842 arg4
= static_cast< long >(val4
);
8846 arg5
= wxString_in_helper(obj4
);
8847 if (arg5
== NULL
) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8874 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
= 0;
8876 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8877 int arg2
= (int) 1 ;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8884 char * kwnames
[] = {
8885 (char *) "self",(char *) "number", NULL
8888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8890 if (!SWIG_IsOK(res1
)) {
8891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8893 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8896 if (!SWIG_IsOK(ecode2
)) {
8897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8899 arg2
= static_cast< int >(val2
);
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->SetFieldsCount(arg2
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_Py_Void();
8914 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8915 PyObject
*resultobj
= 0;
8916 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8920 PyObject
*swig_obj
[1] ;
8922 if (!args
) SWIG_fail
;
8924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8925 if (!SWIG_IsOK(res1
)) {
8926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8928 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= SWIG_From_int(static_cast< int >(result
));
8942 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
= 0;
8944 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8945 wxString
*arg2
= 0 ;
8946 int arg3
= (int) 0 ;
8949 bool temp2
= false ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 PyObject
* obj2
= 0 ;
8955 char * kwnames
[] = {
8956 (char *) "self",(char *) "text",(char *) "number", NULL
8959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8961 if (!SWIG_IsOK(res1
)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8964 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8966 arg2
= wxString_in_helper(obj1
);
8967 if (arg2
== NULL
) SWIG_fail
;
8971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8972 if (!SWIG_IsOK(ecode3
)) {
8973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8975 arg3
= static_cast< int >(val3
);
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8980 wxPyEndAllowThreads(__tstate
);
8981 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= SWIG_Py_Void();
8998 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
= 0;
9000 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9001 int arg2
= (int) 0 ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9009 char * kwnames
[] = {
9010 (char *) "self",(char *) "number", NULL
9013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9015 if (!SWIG_IsOK(res1
)) {
9016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9018 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9021 if (!SWIG_IsOK(ecode2
)) {
9022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9024 arg2
= static_cast< int >(val2
);
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9045 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
= 0;
9047 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9048 wxString
*arg2
= 0 ;
9049 int arg3
= (int) 0 ;
9052 bool temp2
= false ;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9057 PyObject
* obj2
= 0 ;
9058 char * kwnames
[] = {
9059 (char *) "self",(char *) "text",(char *) "number", NULL
9062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9064 if (!SWIG_IsOK(res1
)) {
9065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9067 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9069 arg2
= wxString_in_helper(obj1
);
9070 if (arg2
== NULL
) SWIG_fail
;
9074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9075 if (!SWIG_IsOK(ecode3
)) {
9076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9078 arg3
= static_cast< int >(val3
);
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9083 wxPyEndAllowThreads(__tstate
);
9084 if (PyErr_Occurred()) SWIG_fail
;
9086 resultobj
= SWIG_Py_Void();
9101 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
= 0;
9103 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9104 int arg2
= (int) 0 ;
9109 PyObject
* obj0
= 0 ;
9110 PyObject
* obj1
= 0 ;
9111 char * kwnames
[] = {
9112 (char *) "self",(char *) "number", NULL
9115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9117 if (!SWIG_IsOK(res1
)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9120 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9123 if (!SWIG_IsOK(ecode2
)) {
9124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9126 arg2
= static_cast< int >(val2
);
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 (arg1
)->PopStatusText(arg2
);
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_Py_Void();
9141 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
= 0;
9143 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9145 int *arg3
= (int *) 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9150 char * kwnames
[] = {
9151 (char *) "self",(char *) "widths", NULL
9154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9156 if (!SWIG_IsOK(res1
)) {
9157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9159 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9161 arg2
= PyList_Size(obj1
);
9162 arg3
= int_LIST_helper(obj1
);
9163 if (arg3
== NULL
) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 resultobj
= SWIG_Py_Void();
9173 if (arg3
) delete [] arg3
;
9178 if (arg3
) delete [] arg3
;
9184 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
= 0;
9186 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9188 int *arg3
= (int *) 0 ;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9193 char * kwnames
[] = {
9194 (char *) "self",(char *) "styles", NULL
9197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9199 if (!SWIG_IsOK(res1
)) {
9200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9202 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9204 arg2
= PyList_Size(obj1
);
9205 arg3
= int_LIST_helper(obj1
);
9206 if (arg3
== NULL
) SWIG_fail
;
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 resultobj
= SWIG_Py_Void();
9216 if (arg3
) delete [] arg3
;
9221 if (arg3
) delete [] arg3
;
9227 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
*resultobj
= 0;
9229 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9236 PyObject
* obj0
= 0 ;
9237 PyObject
* obj1
= 0 ;
9238 char * kwnames
[] = {
9239 (char *) "self",(char *) "i", NULL
9242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9244 if (!SWIG_IsOK(res1
)) {
9245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9247 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9249 if (!SWIG_IsOK(ecode2
)) {
9250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9252 arg2
= static_cast< int >(val2
);
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9266 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
= 0;
9268 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9275 PyObject
* obj1
= 0 ;
9276 char * kwnames
[] = {
9277 (char *) "self",(char *) "height", NULL
9280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9282 if (!SWIG_IsOK(res1
)) {
9283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9285 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9287 if (!SWIG_IsOK(ecode2
)) {
9288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9290 arg2
= static_cast< int >(val2
);
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 (arg1
)->SetMinHeight(arg2
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= SWIG_Py_Void();
9304 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9305 PyObject
*resultobj
= 0;
9306 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9310 PyObject
*swig_obj
[1] ;
9312 if (!args
) SWIG_fail
;
9314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9315 if (!SWIG_IsOK(res1
)) {
9316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9318 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= SWIG_From_int(static_cast< int >(result
));
9332 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9333 PyObject
*resultobj
= 0;
9334 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9338 PyObject
*swig_obj
[1] ;
9340 if (!args
) SWIG_fail
;
9342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9343 if (!SWIG_IsOK(res1
)) {
9344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9346 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_From_int(static_cast< int >(result
));
9360 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
= 0;
9362 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9363 SwigValueWrapper
<wxVisualAttributes
> result
;
9366 PyObject
* obj0
= 0 ;
9367 char * kwnames
[] = {
9368 (char *) "variant", NULL
9371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9373 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9374 if (!SWIG_IsOK(ecode1
)) {
9375 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9377 arg1
= static_cast< wxWindowVariant
>(val1
);
9380 if (!wxPyCheckForApp()) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9393 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9396 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9397 return SWIG_Py_Void();
9400 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9401 return SWIG_Python_InitShadowInstance(args
);
9404 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9405 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9410 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9411 PyObject
*pyobj
= 0;
9415 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9417 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9424 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
= 0;
9426 wxWindow
*arg1
= (wxWindow
*) 0 ;
9427 int arg2
= (int) -1 ;
9428 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9429 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9430 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9431 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9432 long arg5
= (long) wxSP_3D
;
9433 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9434 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9435 wxSplitterWindow
*result
= 0 ;
9444 bool temp6
= false ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 PyObject
* obj2
= 0 ;
9448 PyObject
* obj3
= 0 ;
9449 PyObject
* obj4
= 0 ;
9450 PyObject
* obj5
= 0 ;
9451 char * kwnames
[] = {
9452 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9457 if (!SWIG_IsOK(res1
)) {
9458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9463 if (!SWIG_IsOK(ecode2
)) {
9464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9466 arg2
= static_cast< int >(val2
);
9471 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9477 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9481 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9482 if (!SWIG_IsOK(ecode5
)) {
9483 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9485 arg5
= static_cast< long >(val5
);
9489 arg6
= wxString_in_helper(obj5
);
9490 if (arg6
== NULL
) SWIG_fail
;
9495 if (!wxPyCheckForApp()) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9516 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9517 PyObject
*resultobj
= 0;
9518 wxSplitterWindow
*result
= 0 ;
9520 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9522 if (!wxPyCheckForApp()) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9535 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
= 0;
9537 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9538 wxWindow
*arg2
= (wxWindow
*) 0 ;
9539 int arg3
= (int) -1 ;
9540 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9541 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9542 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9543 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9544 long arg6
= (long) wxSP_3D
;
9545 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9546 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9558 bool temp7
= false ;
9559 PyObject
* obj0
= 0 ;
9560 PyObject
* obj1
= 0 ;
9561 PyObject
* obj2
= 0 ;
9562 PyObject
* obj3
= 0 ;
9563 PyObject
* obj4
= 0 ;
9564 PyObject
* obj5
= 0 ;
9565 PyObject
* obj6
= 0 ;
9566 char * kwnames
[] = {
9567 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9572 if (!SWIG_IsOK(res1
)) {
9573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9575 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9577 if (!SWIG_IsOK(res2
)) {
9578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9580 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9582 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9583 if (!SWIG_IsOK(ecode3
)) {
9584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9586 arg3
= static_cast< int >(val3
);
9591 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9597 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9601 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9602 if (!SWIG_IsOK(ecode6
)) {
9603 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9605 arg6
= static_cast< long >(val6
);
9609 arg7
= wxString_in_helper(obj6
);
9610 if (arg7
== NULL
) SWIG_fail
;
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9637 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9638 PyObject
*resultobj
= 0;
9639 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9640 wxWindow
*result
= 0 ;
9643 PyObject
*swig_obj
[1] ;
9645 if (!args
) SWIG_fail
;
9647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9648 if (!SWIG_IsOK(res1
)) {
9649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9651 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= wxPyMake_wxObject(result
, 0);
9667 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9668 PyObject
*resultobj
= 0;
9669 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9670 wxWindow
*result
= 0 ;
9673 PyObject
*swig_obj
[1] ;
9675 if (!args
) SWIG_fail
;
9677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9678 if (!SWIG_IsOK(res1
)) {
9679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9681 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= wxPyMake_wxObject(result
, 0);
9697 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
= 0;
9699 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9705 PyObject
* obj0
= 0 ;
9706 PyObject
* obj1
= 0 ;
9707 char * kwnames
[] = {
9708 (char *) "self",(char *) "mode", NULL
9711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9713 if (!SWIG_IsOK(res1
)) {
9714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9716 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9718 if (!SWIG_IsOK(ecode2
)) {
9719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9721 arg2
= static_cast< int >(val2
);
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 (arg1
)->SetSplitMode(arg2
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_Py_Void();
9735 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9736 PyObject
*resultobj
= 0;
9737 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9741 PyObject
*swig_obj
[1] ;
9743 if (!args
) SWIG_fail
;
9745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9746 if (!SWIG_IsOK(res1
)) {
9747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9749 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= SWIG_From_int(static_cast< int >(result
));
9763 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
= 0;
9765 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9766 wxWindow
*arg2
= (wxWindow
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9773 char * kwnames
[] = {
9774 (char *) "self",(char *) "window", NULL
9777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9779 if (!SWIG_IsOK(res1
)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9782 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9784 if (!SWIG_IsOK(res2
)) {
9785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9787 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 (arg1
)->Initialize(arg2
);
9791 wxPyEndAllowThreads(__tstate
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9794 resultobj
= SWIG_Py_Void();
9801 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
*resultobj
= 0;
9803 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9804 wxWindow
*arg2
= (wxWindow
*) 0 ;
9805 wxWindow
*arg3
= (wxWindow
*) 0 ;
9806 int arg4
= (int) 0 ;
9816 PyObject
* obj0
= 0 ;
9817 PyObject
* obj1
= 0 ;
9818 PyObject
* obj2
= 0 ;
9819 PyObject
* obj3
= 0 ;
9820 char * kwnames
[] = {
9821 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9826 if (!SWIG_IsOK(res1
)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9829 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9831 if (!SWIG_IsOK(res2
)) {
9832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9834 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9835 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9836 if (!SWIG_IsOK(res3
)) {
9837 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9839 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9841 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9842 if (!SWIG_IsOK(ecode4
)) {
9843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9845 arg4
= static_cast< int >(val4
);
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9862 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
= 0;
9864 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9865 wxWindow
*arg2
= (wxWindow
*) 0 ;
9866 wxWindow
*arg3
= (wxWindow
*) 0 ;
9867 int arg4
= (int) 0 ;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9879 PyObject
* obj2
= 0 ;
9880 PyObject
* obj3
= 0 ;
9881 char * kwnames
[] = {
9882 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9887 if (!SWIG_IsOK(res1
)) {
9888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9890 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9892 if (!SWIG_IsOK(res2
)) {
9893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9895 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9896 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9897 if (!SWIG_IsOK(res3
)) {
9898 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9900 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9903 if (!SWIG_IsOK(ecode4
)) {
9904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9906 arg4
= static_cast< int >(val4
);
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9923 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
= 0;
9925 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9926 wxWindow
*arg2
= (wxWindow
*) NULL
;
9932 PyObject
* obj0
= 0 ;
9933 PyObject
* obj1
= 0 ;
9934 char * kwnames
[] = {
9935 (char *) "self",(char *) "toRemove", NULL
9938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9940 if (!SWIG_IsOK(res1
)) {
9941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9943 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9946 if (!SWIG_IsOK(res2
)) {
9947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9949 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 result
= (bool)(arg1
)->Unsplit(arg2
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9966 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9967 PyObject
*resultobj
= 0;
9968 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9969 wxWindow
*arg2
= (wxWindow
*) 0 ;
9970 wxWindow
*arg3
= (wxWindow
*) 0 ;
9978 PyObject
* obj0
= 0 ;
9979 PyObject
* obj1
= 0 ;
9980 PyObject
* obj2
= 0 ;
9981 char * kwnames
[] = {
9982 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9987 if (!SWIG_IsOK(res1
)) {
9988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9990 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9991 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9992 if (!SWIG_IsOK(res2
)) {
9993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9995 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9996 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9997 if (!SWIG_IsOK(res3
)) {
9998 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10000 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10016 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10017 PyObject
*resultobj
= 0;
10018 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10021 PyObject
*swig_obj
[1] ;
10023 if (!args
) SWIG_fail
;
10024 swig_obj
[0] = args
;
10025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10026 if (!SWIG_IsOK(res1
)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10029 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 (arg1
)->UpdateSize();
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= SWIG_Py_Void();
10043 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10044 PyObject
*resultobj
= 0;
10045 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10049 PyObject
*swig_obj
[1] ;
10051 if (!args
) SWIG_fail
;
10052 swig_obj
[0] = args
;
10053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10054 if (!SWIG_IsOK(res1
)) {
10055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10057 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10073 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
= 0;
10075 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10081 PyObject
* obj0
= 0 ;
10082 PyObject
* obj1
= 0 ;
10083 char * kwnames
[] = {
10084 (char *) "self",(char *) "width", NULL
10087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10089 if (!SWIG_IsOK(res1
)) {
10090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10092 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10094 if (!SWIG_IsOK(ecode2
)) {
10095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10097 arg2
= static_cast< int >(val2
);
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 (arg1
)->SetSashSize(arg2
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_Py_Void();
10111 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
= 0;
10113 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10119 PyObject
* obj0
= 0 ;
10120 PyObject
* obj1
= 0 ;
10121 char * kwnames
[] = {
10122 (char *) "self",(char *) "width", NULL
10125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10127 if (!SWIG_IsOK(res1
)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10130 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10132 if (!SWIG_IsOK(ecode2
)) {
10133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10135 arg2
= static_cast< int >(val2
);
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 (arg1
)->SetBorderSize(arg2
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= SWIG_Py_Void();
10149 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10150 PyObject
*resultobj
= 0;
10151 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10155 PyObject
*swig_obj
[1] ;
10157 if (!args
) SWIG_fail
;
10158 swig_obj
[0] = args
;
10159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10160 if (!SWIG_IsOK(res1
)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10163 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_From_int(static_cast< int >(result
));
10177 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10178 PyObject
*resultobj
= 0;
10179 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10183 PyObject
*swig_obj
[1] ;
10185 if (!args
) SWIG_fail
;
10186 swig_obj
[0] = args
;
10187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10188 if (!SWIG_IsOK(res1
)) {
10189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10191 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 resultobj
= SWIG_From_int(static_cast< int >(result
));
10205 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
= 0;
10207 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10209 bool arg3
= (bool) true ;
10216 PyObject
* obj0
= 0 ;
10217 PyObject
* obj1
= 0 ;
10218 PyObject
* obj2
= 0 ;
10219 char * kwnames
[] = {
10220 (char *) "self",(char *) "position",(char *) "redraw", NULL
10223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10225 if (!SWIG_IsOK(res1
)) {
10226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10228 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10230 if (!SWIG_IsOK(ecode2
)) {
10231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10233 arg2
= static_cast< int >(val2
);
10235 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10236 if (!SWIG_IsOK(ecode3
)) {
10237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10239 arg3
= static_cast< bool >(val3
);
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 (arg1
)->SetSashPosition(arg2
,arg3
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= SWIG_Py_Void();
10254 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10255 PyObject
*resultobj
= 0;
10256 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10260 PyObject
*swig_obj
[1] ;
10262 if (!args
) SWIG_fail
;
10263 swig_obj
[0] = args
;
10264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10265 if (!SWIG_IsOK(res1
)) {
10266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10268 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= SWIG_From_int(static_cast< int >(result
));
10282 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
= 0;
10284 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10290 PyObject
* obj0
= 0 ;
10291 PyObject
* obj1
= 0 ;
10292 char * kwnames
[] = {
10293 (char *) "self",(char *) "gravity", NULL
10296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10298 if (!SWIG_IsOK(res1
)) {
10299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10301 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10302 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10303 if (!SWIG_IsOK(ecode2
)) {
10304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10306 arg2
= static_cast< double >(val2
);
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 (arg1
)->SetSashGravity(arg2
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= SWIG_Py_Void();
10320 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10321 PyObject
*resultobj
= 0;
10322 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10326 PyObject
*swig_obj
[1] ;
10328 if (!args
) SWIG_fail
;
10329 swig_obj
[0] = args
;
10330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10331 if (!SWIG_IsOK(res1
)) {
10332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10334 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 resultobj
= SWIG_From_double(static_cast< double >(result
));
10348 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
= 0;
10350 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 PyObject
* obj1
= 0 ;
10358 char * kwnames
[] = {
10359 (char *) "self",(char *) "min", NULL
10362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10364 if (!SWIG_IsOK(res1
)) {
10365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10367 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10369 if (!SWIG_IsOK(ecode2
)) {
10370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10372 arg2
= static_cast< int >(val2
);
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 (arg1
)->SetMinimumPaneSize(arg2
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_Py_Void();
10386 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10387 PyObject
*resultobj
= 0;
10388 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10392 PyObject
*swig_obj
[1] ;
10394 if (!args
) SWIG_fail
;
10395 swig_obj
[0] = args
;
10396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10397 if (!SWIG_IsOK(res1
)) {
10398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10400 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10407 resultobj
= SWIG_From_int(static_cast< int >(result
));
10414 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
= 0;
10416 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10419 int arg4
= (int) 5 ;
10429 PyObject
* obj0
= 0 ;
10430 PyObject
* obj1
= 0 ;
10431 PyObject
* obj2
= 0 ;
10432 PyObject
* obj3
= 0 ;
10433 char * kwnames
[] = {
10434 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10439 if (!SWIG_IsOK(res1
)) {
10440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10442 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10444 if (!SWIG_IsOK(ecode2
)) {
10445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10447 arg2
= static_cast< int >(val2
);
10448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10449 if (!SWIG_IsOK(ecode3
)) {
10450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10452 arg3
= static_cast< int >(val3
);
10454 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10455 if (!SWIG_IsOK(ecode4
)) {
10456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10458 arg4
= static_cast< int >(val4
);
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10475 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10476 PyObject
*resultobj
= 0;
10477 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10480 PyObject
*swig_obj
[1] ;
10482 if (!args
) SWIG_fail
;
10483 swig_obj
[0] = args
;
10484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10485 if (!SWIG_IsOK(res1
)) {
10486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10488 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 (arg1
)->SizeWindows();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_Py_Void();
10502 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
= 0;
10504 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10510 PyObject
* obj0
= 0 ;
10511 PyObject
* obj1
= 0 ;
10512 char * kwnames
[] = {
10513 (char *) "self",(char *) "needUpdating", NULL
10516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10518 if (!SWIG_IsOK(res1
)) {
10519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10521 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10522 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10523 if (!SWIG_IsOK(ecode2
)) {
10524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10526 arg2
= static_cast< bool >(val2
);
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 (arg1
)->SetNeedUpdating(arg2
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 resultobj
= SWIG_Py_Void();
10540 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10541 PyObject
*resultobj
= 0;
10542 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10546 PyObject
*swig_obj
[1] ;
10548 if (!args
) SWIG_fail
;
10549 swig_obj
[0] = args
;
10550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10551 if (!SWIG_IsOK(res1
)) {
10552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10554 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10570 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
= 0;
10572 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10573 SwigValueWrapper
<wxVisualAttributes
> result
;
10576 PyObject
* obj0
= 0 ;
10577 char * kwnames
[] = {
10578 (char *) "variant", NULL
10581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10583 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10584 if (!SWIG_IsOK(ecode1
)) {
10585 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10587 arg1
= static_cast< wxWindowVariant
>(val1
);
10590 if (!wxPyCheckForApp()) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10603 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10606 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10607 return SWIG_Py_Void();
10610 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10611 return SWIG_Python_InitShadowInstance(args
);
10614 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= 0;
10616 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10617 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10618 wxSplitterEvent
*result
= 0 ;
10623 PyObject
* obj0
= 0 ;
10624 PyObject
* obj1
= 0 ;
10625 char * kwnames
[] = {
10626 (char *) "type",(char *) "splitter", NULL
10629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10631 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10632 if (!SWIG_IsOK(ecode1
)) {
10633 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10635 arg1
= static_cast< wxEventType
>(val1
);
10638 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10639 if (!SWIG_IsOK(res2
)) {
10640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10642 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10657 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
= 0;
10659 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10665 PyObject
* obj0
= 0 ;
10666 PyObject
* obj1
= 0 ;
10667 char * kwnames
[] = {
10668 (char *) "self",(char *) "pos", NULL
10671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10673 if (!SWIG_IsOK(res1
)) {
10674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10676 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10678 if (!SWIG_IsOK(ecode2
)) {
10679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10681 arg2
= static_cast< int >(val2
);
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 (arg1
)->SetSashPosition(arg2
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10688 resultobj
= SWIG_Py_Void();
10695 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10696 PyObject
*resultobj
= 0;
10697 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10701 PyObject
*swig_obj
[1] ;
10703 if (!args
) SWIG_fail
;
10704 swig_obj
[0] = args
;
10705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10706 if (!SWIG_IsOK(res1
)) {
10707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10709 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= SWIG_From_int(static_cast< int >(result
));
10723 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10724 PyObject
*resultobj
= 0;
10725 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10726 wxWindow
*result
= 0 ;
10729 PyObject
*swig_obj
[1] ;
10731 if (!args
) SWIG_fail
;
10732 swig_obj
[0] = args
;
10733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10734 if (!SWIG_IsOK(res1
)) {
10735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10737 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= wxPyMake_wxObject(result
, 0);
10753 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10754 PyObject
*resultobj
= 0;
10755 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10759 PyObject
*swig_obj
[1] ;
10761 if (!args
) SWIG_fail
;
10762 swig_obj
[0] = args
;
10763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10764 if (!SWIG_IsOK(res1
)) {
10765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10767 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10770 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 resultobj
= SWIG_From_int(static_cast< int >(result
));
10781 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10782 PyObject
*resultobj
= 0;
10783 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10787 PyObject
*swig_obj
[1] ;
10789 if (!args
) SWIG_fail
;
10790 swig_obj
[0] = args
;
10791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10792 if (!SWIG_IsOK(res1
)) {
10793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10795 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= SWIG_From_int(static_cast< int >(result
));
10809 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10812 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10813 return SWIG_Py_Void();
10816 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10817 return SWIG_Python_InitShadowInstance(args
);
10820 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10821 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10826 SWIGINTERN PyObject
*SashNameStr_get(void) {
10827 PyObject
*pyobj
= 0;
10831 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10833 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10840 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10841 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10846 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10847 PyObject
*pyobj
= 0;
10851 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10853 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10860 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
= 0;
10862 wxWindow
*arg1
= (wxWindow
*) 0 ;
10863 int arg2
= (int) -1 ;
10864 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10865 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10866 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10867 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10868 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10869 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10870 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10871 wxSashWindow
*result
= 0 ;
10880 bool temp6
= false ;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 PyObject
* obj2
= 0 ;
10884 PyObject
* obj3
= 0 ;
10885 PyObject
* obj4
= 0 ;
10886 PyObject
* obj5
= 0 ;
10887 char * kwnames
[] = {
10888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10893 if (!SWIG_IsOK(res1
)) {
10894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10896 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10899 if (!SWIG_IsOK(ecode2
)) {
10900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10902 arg2
= static_cast< int >(val2
);
10907 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10913 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10917 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10918 if (!SWIG_IsOK(ecode5
)) {
10919 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10921 arg5
= static_cast< long >(val5
);
10925 arg6
= wxString_in_helper(obj5
);
10926 if (arg6
== NULL
) SWIG_fail
;
10931 if (!wxPyCheckForApp()) SWIG_fail
;
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10952 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10953 PyObject
*resultobj
= 0;
10954 wxSashWindow
*result
= 0 ;
10956 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10958 if (!wxPyCheckForApp()) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (wxSashWindow
*)new wxSashWindow();
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10971 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
= 0;
10973 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10974 wxWindow
*arg2
= (wxWindow
*) 0 ;
10975 int arg3
= (int) -1 ;
10976 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10977 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10978 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10979 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10980 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10981 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10982 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10994 bool temp7
= false ;
10995 PyObject
* obj0
= 0 ;
10996 PyObject
* obj1
= 0 ;
10997 PyObject
* obj2
= 0 ;
10998 PyObject
* obj3
= 0 ;
10999 PyObject
* obj4
= 0 ;
11000 PyObject
* obj5
= 0 ;
11001 PyObject
* obj6
= 0 ;
11002 char * kwnames
[] = {
11003 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11008 if (!SWIG_IsOK(res1
)) {
11009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11011 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11012 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11013 if (!SWIG_IsOK(res2
)) {
11014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11016 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11019 if (!SWIG_IsOK(ecode3
)) {
11020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11022 arg3
= static_cast< int >(val3
);
11027 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11033 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11037 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11038 if (!SWIG_IsOK(ecode6
)) {
11039 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11041 arg6
= static_cast< long >(val6
);
11045 arg7
= wxString_in_helper(obj6
);
11046 if (arg7
== NULL
) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11073 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
= 0;
11075 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11076 wxSashEdgePosition arg2
;
11084 PyObject
* obj0
= 0 ;
11085 PyObject
* obj1
= 0 ;
11086 PyObject
* obj2
= 0 ;
11087 char * kwnames
[] = {
11088 (char *) "self",(char *) "edge",(char *) "sash", NULL
11091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11093 if (!SWIG_IsOK(res1
)) {
11094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11096 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11098 if (!SWIG_IsOK(ecode2
)) {
11099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11101 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11102 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11103 if (!SWIG_IsOK(ecode3
)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11106 arg3
= static_cast< bool >(val3
);
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 (arg1
)->SetSashVisible(arg2
,arg3
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= SWIG_Py_Void();
11120 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
= 0;
11122 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11123 wxSashEdgePosition arg2
;
11129 PyObject
* obj0
= 0 ;
11130 PyObject
* obj1
= 0 ;
11131 char * kwnames
[] = {
11132 (char *) "self",(char *) "edge", NULL
11135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11137 if (!SWIG_IsOK(res1
)) {
11138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11140 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11142 if (!SWIG_IsOK(ecode2
)) {
11143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11145 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11161 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
= 0;
11163 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11164 wxSashEdgePosition arg2
;
11172 PyObject
* obj0
= 0 ;
11173 PyObject
* obj1
= 0 ;
11174 PyObject
* obj2
= 0 ;
11175 char * kwnames
[] = {
11176 (char *) "self",(char *) "edge",(char *) "border", NULL
11179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11181 if (!SWIG_IsOK(res1
)) {
11182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11184 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11186 if (!SWIG_IsOK(ecode2
)) {
11187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11189 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11190 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11191 if (!SWIG_IsOK(ecode3
)) {
11192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11194 arg3
= static_cast< bool >(val3
);
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 (arg1
)->SetSashBorder(arg2
,arg3
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= SWIG_Py_Void();
11208 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
*resultobj
= 0;
11210 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11211 wxSashEdgePosition arg2
;
11217 PyObject
* obj0
= 0 ;
11218 PyObject
* obj1
= 0 ;
11219 char * kwnames
[] = {
11220 (char *) "self",(char *) "edge", NULL
11223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11225 if (!SWIG_IsOK(res1
)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11228 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11230 if (!SWIG_IsOK(ecode2
)) {
11231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11233 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11249 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
= 0;
11251 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11252 wxSashEdgePosition arg2
;
11258 PyObject
* obj0
= 0 ;
11259 PyObject
* obj1
= 0 ;
11260 char * kwnames
[] = {
11261 (char *) "self",(char *) "edge", NULL
11264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11266 if (!SWIG_IsOK(res1
)) {
11267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11269 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11271 if (!SWIG_IsOK(ecode2
)) {
11272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11274 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= SWIG_From_int(static_cast< int >(result
));
11288 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
= 0;
11290 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 char * kwnames
[] = {
11299 (char *) "self",(char *) "width", NULL
11302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11304 if (!SWIG_IsOK(res1
)) {
11305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11307 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11309 if (!SWIG_IsOK(ecode2
)) {
11310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11312 arg2
= static_cast< int >(val2
);
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 (arg1
)->SetDefaultBorderSize(arg2
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= SWIG_Py_Void();
11326 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11327 PyObject
*resultobj
= 0;
11328 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11332 PyObject
*swig_obj
[1] ;
11334 if (!args
) SWIG_fail
;
11335 swig_obj
[0] = args
;
11336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11337 if (!SWIG_IsOK(res1
)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11340 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= SWIG_From_int(static_cast< int >(result
));
11354 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
= 0;
11356 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 char * kwnames
[] = {
11365 (char *) "self",(char *) "width", NULL
11368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11370 if (!SWIG_IsOK(res1
)) {
11371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11373 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11375 if (!SWIG_IsOK(ecode2
)) {
11376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11378 arg2
= static_cast< int >(val2
);
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 (arg1
)->SetExtraBorderSize(arg2
);
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= SWIG_Py_Void();
11392 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11393 PyObject
*resultobj
= 0;
11394 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11398 PyObject
*swig_obj
[1] ;
11400 if (!args
) SWIG_fail
;
11401 swig_obj
[0] = args
;
11402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11403 if (!SWIG_IsOK(res1
)) {
11404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11406 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= SWIG_From_int(static_cast< int >(result
));
11420 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
= 0;
11422 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11428 PyObject
* obj0
= 0 ;
11429 PyObject
* obj1
= 0 ;
11430 char * kwnames
[] = {
11431 (char *) "self",(char *) "min", NULL
11434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11436 if (!SWIG_IsOK(res1
)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11439 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11441 if (!SWIG_IsOK(ecode2
)) {
11442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11444 arg2
= static_cast< int >(val2
);
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 (arg1
)->SetMinimumSizeX(arg2
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= SWIG_Py_Void();
11458 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
= 0;
11460 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11466 PyObject
* obj0
= 0 ;
11467 PyObject
* obj1
= 0 ;
11468 char * kwnames
[] = {
11469 (char *) "self",(char *) "min", NULL
11472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11474 if (!SWIG_IsOK(res1
)) {
11475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11477 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11479 if (!SWIG_IsOK(ecode2
)) {
11480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11482 arg2
= static_cast< int >(val2
);
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 (arg1
)->SetMinimumSizeY(arg2
);
11486 wxPyEndAllowThreads(__tstate
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11489 resultobj
= SWIG_Py_Void();
11496 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11497 PyObject
*resultobj
= 0;
11498 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11502 PyObject
*swig_obj
[1] ;
11504 if (!args
) SWIG_fail
;
11505 swig_obj
[0] = args
;
11506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11507 if (!SWIG_IsOK(res1
)) {
11508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11510 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= SWIG_From_int(static_cast< int >(result
));
11524 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11525 PyObject
*resultobj
= 0;
11526 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11530 PyObject
*swig_obj
[1] ;
11532 if (!args
) SWIG_fail
;
11533 swig_obj
[0] = args
;
11534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11535 if (!SWIG_IsOK(res1
)) {
11536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11538 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= SWIG_From_int(static_cast< int >(result
));
11552 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
= 0;
11554 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 char * kwnames
[] = {
11563 (char *) "self",(char *) "max", NULL
11566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11568 if (!SWIG_IsOK(res1
)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11571 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11573 if (!SWIG_IsOK(ecode2
)) {
11574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11576 arg2
= static_cast< int >(val2
);
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 (arg1
)->SetMaximumSizeX(arg2
);
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= SWIG_Py_Void();
11590 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11591 PyObject
*resultobj
= 0;
11592 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11598 PyObject
* obj0
= 0 ;
11599 PyObject
* obj1
= 0 ;
11600 char * kwnames
[] = {
11601 (char *) "self",(char *) "max", NULL
11604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11606 if (!SWIG_IsOK(res1
)) {
11607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11609 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11611 if (!SWIG_IsOK(ecode2
)) {
11612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11614 arg2
= static_cast< int >(val2
);
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 (arg1
)->SetMaximumSizeY(arg2
);
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11621 resultobj
= SWIG_Py_Void();
11628 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11629 PyObject
*resultobj
= 0;
11630 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11634 PyObject
*swig_obj
[1] ;
11636 if (!args
) SWIG_fail
;
11637 swig_obj
[0] = args
;
11638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11639 if (!SWIG_IsOK(res1
)) {
11640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11642 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11645 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= SWIG_From_int(static_cast< int >(result
));
11656 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11657 PyObject
*resultobj
= 0;
11658 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11662 PyObject
*swig_obj
[1] ;
11664 if (!args
) SWIG_fail
;
11665 swig_obj
[0] = args
;
11666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11667 if (!SWIG_IsOK(res1
)) {
11668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11670 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11677 resultobj
= SWIG_From_int(static_cast< int >(result
));
11684 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
= 0;
11686 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11689 int arg4
= (int) 2 ;
11690 wxSashEdgePosition result
;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 PyObject
* obj2
= 0 ;
11702 PyObject
* obj3
= 0 ;
11703 char * kwnames
[] = {
11704 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11709 if (!SWIG_IsOK(res1
)) {
11710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11712 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11714 if (!SWIG_IsOK(ecode2
)) {
11715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11717 arg2
= static_cast< int >(val2
);
11718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11719 if (!SWIG_IsOK(ecode3
)) {
11720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11722 arg3
= static_cast< int >(val3
);
11724 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11725 if (!SWIG_IsOK(ecode4
)) {
11726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11728 arg4
= static_cast< int >(val4
);
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 resultobj
= SWIG_From_int(static_cast< int >(result
));
11743 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11744 PyObject
*resultobj
= 0;
11745 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11748 PyObject
*swig_obj
[1] ;
11750 if (!args
) SWIG_fail
;
11751 swig_obj
[0] = args
;
11752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11753 if (!SWIG_IsOK(res1
)) {
11754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11756 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 (arg1
)->SizeWindows();
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= SWIG_Py_Void();
11770 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11773 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11774 return SWIG_Py_Void();
11777 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11778 return SWIG_Python_InitShadowInstance(args
);
11781 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
= 0;
11783 int arg1
= (int) 0 ;
11784 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11785 wxSashEvent
*result
= 0 ;
11790 PyObject
* obj0
= 0 ;
11791 PyObject
* obj1
= 0 ;
11792 char * kwnames
[] = {
11793 (char *) "id",(char *) "edge", NULL
11796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11798 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11799 if (!SWIG_IsOK(ecode1
)) {
11800 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11802 arg1
= static_cast< int >(val1
);
11805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11806 if (!SWIG_IsOK(ecode2
)) {
11807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11809 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11824 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
= 0;
11826 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11827 wxSashEdgePosition arg2
;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 char * kwnames
[] = {
11835 (char *) "self",(char *) "edge", NULL
11838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11840 if (!SWIG_IsOK(res1
)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11843 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11845 if (!SWIG_IsOK(ecode2
)) {
11846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11848 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 (arg1
)->SetEdge(arg2
);
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= SWIG_Py_Void();
11862 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11863 PyObject
*resultobj
= 0;
11864 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11865 wxSashEdgePosition result
;
11868 PyObject
*swig_obj
[1] ;
11870 if (!args
) SWIG_fail
;
11871 swig_obj
[0] = args
;
11872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11873 if (!SWIG_IsOK(res1
)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11876 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_From_int(static_cast< int >(result
));
11890 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
= 0;
11892 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11897 PyObject
* obj0
= 0 ;
11898 PyObject
* obj1
= 0 ;
11899 char * kwnames
[] = {
11900 (char *) "self",(char *) "rect", NULL
11903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11905 if (!SWIG_IsOK(res1
)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11908 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11911 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= SWIG_Py_Void();
11926 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11927 PyObject
*resultobj
= 0;
11928 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11932 PyObject
*swig_obj
[1] ;
11934 if (!args
) SWIG_fail
;
11935 swig_obj
[0] = args
;
11936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11937 if (!SWIG_IsOK(res1
)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11940 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11947 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11954 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
= 0;
11956 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11957 wxSashDragStatus arg2
;
11962 PyObject
* obj0
= 0 ;
11963 PyObject
* obj1
= 0 ;
11964 char * kwnames
[] = {
11965 (char *) "self",(char *) "status", NULL
11968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11970 if (!SWIG_IsOK(res1
)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11973 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11975 if (!SWIG_IsOK(ecode2
)) {
11976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11978 arg2
= static_cast< wxSashDragStatus
>(val2
);
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 (arg1
)->SetDragStatus(arg2
);
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_Py_Void();
11992 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11993 PyObject
*resultobj
= 0;
11994 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11995 wxSashDragStatus result
;
11998 PyObject
*swig_obj
[1] ;
12000 if (!args
) SWIG_fail
;
12001 swig_obj
[0] = args
;
12002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12006 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_From_int(static_cast< int >(result
));
12020 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12023 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12024 return SWIG_Py_Void();
12027 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12028 return SWIG_Python_InitShadowInstance(args
);
12031 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
= 0;
12033 int arg1
= (int) 0 ;
12034 wxQueryLayoutInfoEvent
*result
= 0 ;
12037 PyObject
* obj0
= 0 ;
12038 char * kwnames
[] = {
12039 (char *) "id", NULL
12042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12045 if (!SWIG_IsOK(ecode1
)) {
12046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12048 arg1
= static_cast< int >(val1
);
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12063 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
= 0;
12065 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 PyObject
* obj1
= 0 ;
12073 char * kwnames
[] = {
12074 (char *) "self",(char *) "length", NULL
12077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12079 if (!SWIG_IsOK(res1
)) {
12080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12082 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12084 if (!SWIG_IsOK(ecode2
)) {
12085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12087 arg2
= static_cast< int >(val2
);
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12090 (arg1
)->SetRequestedLength(arg2
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= SWIG_Py_Void();
12101 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12102 PyObject
*resultobj
= 0;
12103 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12107 PyObject
*swig_obj
[1] ;
12109 if (!args
) SWIG_fail
;
12110 swig_obj
[0] = args
;
12111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12112 if (!SWIG_IsOK(res1
)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12115 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= SWIG_From_int(static_cast< int >(result
));
12129 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
= 0;
12131 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 PyObject
* obj1
= 0 ;
12139 char * kwnames
[] = {
12140 (char *) "self",(char *) "flags", NULL
12143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12145 if (!SWIG_IsOK(res1
)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12148 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12150 if (!SWIG_IsOK(ecode2
)) {
12151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12153 arg2
= static_cast< int >(val2
);
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 (arg1
)->SetFlags(arg2
);
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 resultobj
= SWIG_Py_Void();
12167 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12168 PyObject
*resultobj
= 0;
12169 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12173 PyObject
*swig_obj
[1] ;
12175 if (!args
) SWIG_fail
;
12176 swig_obj
[0] = args
;
12177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12178 if (!SWIG_IsOK(res1
)) {
12179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12181 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12185 wxPyEndAllowThreads(__tstate
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= SWIG_From_int(static_cast< int >(result
));
12195 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
= 0;
12197 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 char * kwnames
[] = {
12205 (char *) "self",(char *) "size", NULL
12208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12213 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12216 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 (arg1
)->SetSize((wxSize
const &)*arg2
);
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= SWIG_Py_Void();
12231 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12232 PyObject
*resultobj
= 0;
12233 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12237 PyObject
*swig_obj
[1] ;
12239 if (!args
) SWIG_fail
;
12240 swig_obj
[0] = args
;
12241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12242 if (!SWIG_IsOK(res1
)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12245 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12259 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
= 0;
12261 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12262 wxLayoutOrientation arg2
;
12267 PyObject
* obj0
= 0 ;
12268 PyObject
* obj1
= 0 ;
12269 char * kwnames
[] = {
12270 (char *) "self",(char *) "orient", NULL
12273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12275 if (!SWIG_IsOK(res1
)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12278 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12280 if (!SWIG_IsOK(ecode2
)) {
12281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12283 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 (arg1
)->SetOrientation(arg2
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= SWIG_Py_Void();
12297 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12298 PyObject
*resultobj
= 0;
12299 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12300 wxLayoutOrientation result
;
12303 PyObject
*swig_obj
[1] ;
12305 if (!args
) SWIG_fail
;
12306 swig_obj
[0] = args
;
12307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12308 if (!SWIG_IsOK(res1
)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12311 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= SWIG_From_int(static_cast< int >(result
));
12325 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
= 0;
12327 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12328 wxLayoutAlignment arg2
;
12333 PyObject
* obj0
= 0 ;
12334 PyObject
* obj1
= 0 ;
12335 char * kwnames
[] = {
12336 (char *) "self",(char *) "align", NULL
12339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12341 if (!SWIG_IsOK(res1
)) {
12342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12344 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12346 if (!SWIG_IsOK(ecode2
)) {
12347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12349 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 (arg1
)->SetAlignment(arg2
);
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_Py_Void();
12363 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12364 PyObject
*resultobj
= 0;
12365 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12366 wxLayoutAlignment result
;
12369 PyObject
*swig_obj
[1] ;
12371 if (!args
) SWIG_fail
;
12372 swig_obj
[0] = args
;
12373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12374 if (!SWIG_IsOK(res1
)) {
12375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12377 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_From_int(static_cast< int >(result
));
12391 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12394 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12395 return SWIG_Py_Void();
12398 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12399 return SWIG_Python_InitShadowInstance(args
);
12402 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
= 0;
12404 int arg1
= (int) 0 ;
12405 wxCalculateLayoutEvent
*result
= 0 ;
12408 PyObject
* obj0
= 0 ;
12409 char * kwnames
[] = {
12410 (char *) "id", NULL
12413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12415 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12416 if (!SWIG_IsOK(ecode1
)) {
12417 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12419 arg1
= static_cast< int >(val1
);
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12434 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
= 0;
12436 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12442 PyObject
* obj0
= 0 ;
12443 PyObject
* obj1
= 0 ;
12444 char * kwnames
[] = {
12445 (char *) "self",(char *) "flags", NULL
12448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12450 if (!SWIG_IsOK(res1
)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12453 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12455 if (!SWIG_IsOK(ecode2
)) {
12456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12458 arg2
= static_cast< int >(val2
);
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 (arg1
)->SetFlags(arg2
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= SWIG_Py_Void();
12472 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12473 PyObject
*resultobj
= 0;
12474 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12478 PyObject
*swig_obj
[1] ;
12480 if (!args
) SWIG_fail
;
12481 swig_obj
[0] = args
;
12482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12486 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= SWIG_From_int(static_cast< int >(result
));
12500 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
= 0;
12502 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12507 PyObject
* obj0
= 0 ;
12508 PyObject
* obj1
= 0 ;
12509 char * kwnames
[] = {
12510 (char *) "self",(char *) "rect", NULL
12513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12515 if (!SWIG_IsOK(res1
)) {
12516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12518 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12521 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 (arg1
)->SetRect((wxRect
const &)*arg2
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= SWIG_Py_Void();
12536 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12537 PyObject
*resultobj
= 0;
12538 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12542 PyObject
*swig_obj
[1] ;
12544 if (!args
) SWIG_fail
;
12545 swig_obj
[0] = args
;
12546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12547 if (!SWIG_IsOK(res1
)) {
12548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12550 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12564 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12567 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12568 return SWIG_Py_Void();
12571 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12572 return SWIG_Python_InitShadowInstance(args
);
12575 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12576 PyObject
*resultobj
= 0;
12577 wxWindow
*arg1
= (wxWindow
*) 0 ;
12578 int arg2
= (int) -1 ;
12579 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12580 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12581 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12582 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12583 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12584 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12585 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12586 wxSashLayoutWindow
*result
= 0 ;
12595 bool temp6
= false ;
12596 PyObject
* obj0
= 0 ;
12597 PyObject
* obj1
= 0 ;
12598 PyObject
* obj2
= 0 ;
12599 PyObject
* obj3
= 0 ;
12600 PyObject
* obj4
= 0 ;
12601 PyObject
* obj5
= 0 ;
12602 char * kwnames
[] = {
12603 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12608 if (!SWIG_IsOK(res1
)) {
12609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12611 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12614 if (!SWIG_IsOK(ecode2
)) {
12615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12617 arg2
= static_cast< int >(val2
);
12622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12628 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12632 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12633 if (!SWIG_IsOK(ecode5
)) {
12634 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12636 arg5
= static_cast< long >(val5
);
12640 arg6
= wxString_in_helper(obj5
);
12641 if (arg6
== NULL
) SWIG_fail
;
12646 if (!wxPyCheckForApp()) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12667 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12668 PyObject
*resultobj
= 0;
12669 wxSashLayoutWindow
*result
= 0 ;
12671 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12673 if (!wxPyCheckForApp()) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12686 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
= 0;
12688 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12689 wxWindow
*arg2
= (wxWindow
*) 0 ;
12690 int arg3
= (int) -1 ;
12691 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12692 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12693 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12694 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12695 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12696 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12697 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12709 bool temp7
= false ;
12710 PyObject
* obj0
= 0 ;
12711 PyObject
* obj1
= 0 ;
12712 PyObject
* obj2
= 0 ;
12713 PyObject
* obj3
= 0 ;
12714 PyObject
* obj4
= 0 ;
12715 PyObject
* obj5
= 0 ;
12716 PyObject
* obj6
= 0 ;
12717 char * kwnames
[] = {
12718 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12723 if (!SWIG_IsOK(res1
)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12726 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12727 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12728 if (!SWIG_IsOK(res2
)) {
12729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12731 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12733 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12734 if (!SWIG_IsOK(ecode3
)) {
12735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12737 arg3
= static_cast< int >(val3
);
12742 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12748 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12752 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12753 if (!SWIG_IsOK(ecode6
)) {
12754 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12756 arg6
= static_cast< long >(val6
);
12760 arg7
= wxString_in_helper(obj6
);
12761 if (arg7
== NULL
) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12788 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12789 PyObject
*resultobj
= 0;
12790 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12791 wxLayoutAlignment result
;
12794 PyObject
*swig_obj
[1] ;
12796 if (!args
) SWIG_fail
;
12797 swig_obj
[0] = args
;
12798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12799 if (!SWIG_IsOK(res1
)) {
12800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12802 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12809 resultobj
= SWIG_From_int(static_cast< int >(result
));
12816 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12817 PyObject
*resultobj
= 0;
12818 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12819 wxLayoutOrientation result
;
12822 PyObject
*swig_obj
[1] ;
12824 if (!args
) SWIG_fail
;
12825 swig_obj
[0] = args
;
12826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12827 if (!SWIG_IsOK(res1
)) {
12828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12830 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= SWIG_From_int(static_cast< int >(result
));
12844 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12845 PyObject
*resultobj
= 0;
12846 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12847 wxLayoutAlignment arg2
;
12852 PyObject
* obj0
= 0 ;
12853 PyObject
* obj1
= 0 ;
12854 char * kwnames
[] = {
12855 (char *) "self",(char *) "alignment", NULL
12858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12860 if (!SWIG_IsOK(res1
)) {
12861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12863 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12865 if (!SWIG_IsOK(ecode2
)) {
12866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12868 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12871 (arg1
)->SetAlignment(arg2
);
12872 wxPyEndAllowThreads(__tstate
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= SWIG_Py_Void();
12882 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12883 PyObject
*resultobj
= 0;
12884 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12889 PyObject
* obj0
= 0 ;
12890 PyObject
* obj1
= 0 ;
12891 char * kwnames
[] = {
12892 (char *) "self",(char *) "size", NULL
12895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12897 if (!SWIG_IsOK(res1
)) {
12898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12900 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12903 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12907 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= SWIG_Py_Void();
12918 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
= 0;
12920 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12921 wxLayoutOrientation arg2
;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 char * kwnames
[] = {
12929 (char *) "self",(char *) "orientation", NULL
12932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12934 if (!SWIG_IsOK(res1
)) {
12935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12937 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12939 if (!SWIG_IsOK(ecode2
)) {
12940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12942 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 (arg1
)->SetOrientation(arg2
);
12946 wxPyEndAllowThreads(__tstate
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12949 resultobj
= SWIG_Py_Void();
12956 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12959 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12960 return SWIG_Py_Void();
12963 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12964 return SWIG_Python_InitShadowInstance(args
);
12967 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12968 PyObject
*resultobj
= 0;
12969 wxLayoutAlgorithm
*result
= 0 ;
12971 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12985 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12986 PyObject
*resultobj
= 0;
12987 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12990 PyObject
*swig_obj
[1] ;
12992 if (!args
) SWIG_fail
;
12993 swig_obj
[0] = args
;
12994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12995 if (!SWIG_IsOK(res1
)) {
12996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12998 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= SWIG_Py_Void();
13013 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
= 0;
13015 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13016 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13017 wxRect
*arg3
= (wxRect
*) NULL
;
13025 PyObject
* obj0
= 0 ;
13026 PyObject
* obj1
= 0 ;
13027 PyObject
* obj2
= 0 ;
13028 char * kwnames
[] = {
13029 (char *) "self",(char *) "frame",(char *) "rect", NULL
13032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13034 if (!SWIG_IsOK(res1
)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13037 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13038 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13039 if (!SWIG_IsOK(res2
)) {
13040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13042 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13044 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13045 if (!SWIG_IsOK(res3
)) {
13046 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13048 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13065 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
= 0;
13067 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13068 wxFrame
*arg2
= (wxFrame
*) 0 ;
13069 wxWindow
*arg3
= (wxWindow
*) NULL
;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 PyObject
* obj2
= 0 ;
13080 char * kwnames
[] = {
13081 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13086 if (!SWIG_IsOK(res1
)) {
13087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13089 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13091 if (!SWIG_IsOK(res2
)) {
13092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13094 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13096 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13097 if (!SWIG_IsOK(res3
)) {
13098 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13100 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13117 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
= 0;
13119 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13120 wxWindow
*arg2
= (wxWindow
*) 0 ;
13121 wxWindow
*arg3
= (wxWindow
*) NULL
;
13129 PyObject
* obj0
= 0 ;
13130 PyObject
* obj1
= 0 ;
13131 PyObject
* obj2
= 0 ;
13132 char * kwnames
[] = {
13133 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13138 if (!SWIG_IsOK(res1
)) {
13139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13141 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13143 if (!SWIG_IsOK(res2
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13146 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13148 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13149 if (!SWIG_IsOK(res3
)) {
13150 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13152 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13169 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13171 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13172 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13173 return SWIG_Py_Void();
13176 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13177 return SWIG_Python_InitShadowInstance(args
);
13180 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
= 0;
13182 wxWindow
*arg1
= (wxWindow
*) 0 ;
13183 int arg2
= (int) wxBORDER_NONE
;
13184 wxPopupWindow
*result
= 0 ;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 char * kwnames
[] = {
13192 (char *) "parent",(char *) "flags", NULL
13195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13197 if (!SWIG_IsOK(res1
)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13200 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13203 if (!SWIG_IsOK(ecode2
)) {
13204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13206 arg2
= static_cast< int >(val2
);
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13221 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13222 PyObject
*resultobj
= 0;
13223 wxPopupWindow
*result
= 0 ;
13225 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (wxPopupWindow
*)new wxPopupWindow();
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13239 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13242 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13243 return SWIG_Py_Void();
13246 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13247 return SWIG_Python_InitShadowInstance(args
);
13250 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
= 0;
13252 wxWindow
*arg1
= (wxWindow
*) 0 ;
13253 int arg2
= (int) wxBORDER_NONE
;
13254 wxPyPopupTransientWindow
*result
= 0 ;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 char * kwnames
[] = {
13262 (char *) "parent",(char *) "style", NULL
13265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13267 if (!SWIG_IsOK(res1
)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13270 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13273 if (!SWIG_IsOK(ecode2
)) {
13274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13276 arg2
= static_cast< int >(val2
);
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13291 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13292 PyObject
*resultobj
= 0;
13293 wxPyPopupTransientWindow
*result
= 0 ;
13295 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13309 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13312 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13313 return SWIG_Py_Void();
13316 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13317 return SWIG_Python_InitShadowInstance(args
);
13320 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
= 0;
13322 wxWindow
*arg1
= (wxWindow
*) 0 ;
13323 wxString
*arg2
= 0 ;
13324 int arg3
= (int) 100 ;
13325 wxRect
*arg4
= (wxRect
*) NULL
;
13326 wxTipWindow
*result
= 0 ;
13329 bool temp2
= false ;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 PyObject
* obj2
= 0 ;
13337 PyObject
* obj3
= 0 ;
13338 char * kwnames
[] = {
13339 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13344 if (!SWIG_IsOK(res1
)) {
13345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13347 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13349 arg2
= wxString_in_helper(obj1
);
13350 if (arg2
== NULL
) SWIG_fail
;
13354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13355 if (!SWIG_IsOK(ecode3
)) {
13356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13358 arg3
= static_cast< int >(val3
);
13361 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13362 if (!SWIG_IsOK(res4
)) {
13363 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13365 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13368 if (!wxPyCheckForApp()) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13389 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
= 0;
13391 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13396 PyObject
* obj0
= 0 ;
13397 PyObject
* obj1
= 0 ;
13398 char * kwnames
[] = {
13399 (char *) "self",(char *) "rectBound", NULL
13402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13404 if (!SWIG_IsOK(res1
)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13407 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13410 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13418 resultobj
= SWIG_Py_Void();
13425 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13426 PyObject
*resultobj
= 0;
13427 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13430 PyObject
*swig_obj
[1] ;
13432 if (!args
) SWIG_fail
;
13433 swig_obj
[0] = args
;
13434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13435 if (!SWIG_IsOK(res1
)) {
13436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13438 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= SWIG_Py_Void();
13452 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13455 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13456 return SWIG_Py_Void();
13459 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13460 return SWIG_Python_InitShadowInstance(args
);
13463 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13464 PyObject
*resultobj
= 0;
13465 wxWindow
*arg1
= (wxWindow
*) 0 ;
13466 int arg2
= (int) wxID_ANY
;
13467 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13468 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13469 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13470 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13471 long arg5
= (long) 0 ;
13472 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13473 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13474 wxPyVScrolledWindow
*result
= 0 ;
13483 bool temp6
= false ;
13484 PyObject
* obj0
= 0 ;
13485 PyObject
* obj1
= 0 ;
13486 PyObject
* obj2
= 0 ;
13487 PyObject
* obj3
= 0 ;
13488 PyObject
* obj4
= 0 ;
13489 PyObject
* obj5
= 0 ;
13490 char * kwnames
[] = {
13491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13496 if (!SWIG_IsOK(res1
)) {
13497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13499 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13502 if (!SWIG_IsOK(ecode2
)) {
13503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13505 arg2
= static_cast< int >(val2
);
13510 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13516 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13520 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13521 if (!SWIG_IsOK(ecode5
)) {
13522 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13524 arg5
= static_cast< long >(val5
);
13528 arg6
= wxString_in_helper(obj5
);
13529 if (arg6
== NULL
) SWIG_fail
;
13534 if (!wxPyCheckForApp()) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13555 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13556 PyObject
*resultobj
= 0;
13557 wxPyVScrolledWindow
*result
= 0 ;
13559 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13561 if (!wxPyCheckForApp()) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13574 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
= 0;
13576 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13577 PyObject
*arg2
= (PyObject
*) 0 ;
13578 PyObject
*arg3
= (PyObject
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 PyObject
* obj1
= 0 ;
13583 PyObject
* obj2
= 0 ;
13584 char * kwnames
[] = {
13585 (char *) "self",(char *) "self",(char *) "_class", NULL
13588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13590 if (!SWIG_IsOK(res1
)) {
13591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13593 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13599 wxPyEndAllowThreads(__tstate
);
13600 if (PyErr_Occurred()) SWIG_fail
;
13602 resultobj
= SWIG_Py_Void();
13609 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
= 0;
13611 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13612 wxWindow
*arg2
= (wxWindow
*) 0 ;
13613 int arg3
= (int) wxID_ANY
;
13614 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13615 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13616 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13617 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13618 long arg6
= (long) 0 ;
13619 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13620 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13632 bool temp7
= false ;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 PyObject
* obj2
= 0 ;
13636 PyObject
* obj3
= 0 ;
13637 PyObject
* obj4
= 0 ;
13638 PyObject
* obj5
= 0 ;
13639 PyObject
* obj6
= 0 ;
13640 char * kwnames
[] = {
13641 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13646 if (!SWIG_IsOK(res1
)) {
13647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13649 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13651 if (!SWIG_IsOK(res2
)) {
13652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13654 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13657 if (!SWIG_IsOK(ecode3
)) {
13658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13660 arg3
= static_cast< int >(val3
);
13665 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13671 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13675 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13676 if (!SWIG_IsOK(ecode6
)) {
13677 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13679 arg6
= static_cast< long >(val6
);
13683 arg7
= wxString_in_helper(obj6
);
13684 if (arg7
== NULL
) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13711 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
*resultobj
= 0;
13713 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13719 PyObject
* obj0
= 0 ;
13720 PyObject
* obj1
= 0 ;
13721 char * kwnames
[] = {
13722 (char *) "self",(char *) "count", NULL
13725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13727 if (!SWIG_IsOK(res1
)) {
13728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13730 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13731 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13732 if (!SWIG_IsOK(ecode2
)) {
13733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13735 arg2
= static_cast< size_t >(val2
);
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 (arg1
)->SetLineCount(arg2
);
13739 wxPyEndAllowThreads(__tstate
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 resultobj
= SWIG_Py_Void();
13749 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
= 0;
13751 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13758 PyObject
* obj0
= 0 ;
13759 PyObject
* obj1
= 0 ;
13760 char * kwnames
[] = {
13761 (char *) "self",(char *) "line", NULL
13764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13766 if (!SWIG_IsOK(res1
)) {
13767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13769 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13770 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13771 if (!SWIG_IsOK(ecode2
)) {
13772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13774 arg2
= static_cast< size_t >(val2
);
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13778 wxPyEndAllowThreads(__tstate
);
13779 if (PyErr_Occurred()) SWIG_fail
;
13782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13790 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
= 0;
13792 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13798 PyObject
* obj0
= 0 ;
13799 PyObject
* obj1
= 0 ;
13800 char * kwnames
[] = {
13801 (char *) "self",(char *) "line", NULL
13804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13806 if (!SWIG_IsOK(res1
)) {
13807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13809 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13810 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13811 if (!SWIG_IsOK(ecode2
)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13814 arg2
= static_cast< size_t >(val2
);
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 (arg1
)->RefreshLine(arg2
);
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= SWIG_Py_Void();
13828 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
= 0;
13830 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13839 PyObject
* obj0
= 0 ;
13840 PyObject
* obj1
= 0 ;
13841 PyObject
* obj2
= 0 ;
13842 char * kwnames
[] = {
13843 (char *) "self",(char *) "from",(char *) "to", NULL
13846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13848 if (!SWIG_IsOK(res1
)) {
13849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13851 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13852 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13853 if (!SWIG_IsOK(ecode2
)) {
13854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13856 arg2
= static_cast< size_t >(val2
);
13857 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13858 if (!SWIG_IsOK(ecode3
)) {
13859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13861 arg3
= static_cast< size_t >(val3
);
13863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13864 (arg1
)->RefreshLines(arg2
,arg3
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 resultobj
= SWIG_Py_Void();
13875 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
= 0;
13877 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13887 PyObject
* obj0
= 0 ;
13888 PyObject
* obj1
= 0 ;
13889 PyObject
* obj2
= 0 ;
13890 char * kwnames
[] = {
13891 (char *) "self",(char *) "x",(char *) "y", NULL
13894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13896 if (!SWIG_IsOK(res1
)) {
13897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13899 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13901 if (!SWIG_IsOK(ecode2
)) {
13902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13904 arg2
= static_cast< int >(val2
);
13905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13906 if (!SWIG_IsOK(ecode3
)) {
13907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13909 arg3
= static_cast< int >(val3
);
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13913 wxPyEndAllowThreads(__tstate
);
13914 if (PyErr_Occurred()) SWIG_fail
;
13916 resultobj
= SWIG_From_int(static_cast< int >(result
));
13923 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
= 0;
13925 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13926 wxPoint
*arg2
= 0 ;
13931 PyObject
* obj0
= 0 ;
13932 PyObject
* obj1
= 0 ;
13933 char * kwnames
[] = {
13934 (char *) "self",(char *) "pt", NULL
13937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13939 if (!SWIG_IsOK(res1
)) {
13940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13942 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13945 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13949 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= SWIG_From_int(static_cast< int >(result
));
13960 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13961 PyObject
*resultobj
= 0;
13962 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13965 PyObject
*swig_obj
[1] ;
13967 if (!args
) SWIG_fail
;
13968 swig_obj
[0] = args
;
13969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13970 if (!SWIG_IsOK(res1
)) {
13971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13973 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 (arg1
)->RefreshAll();
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= SWIG_Py_Void();
13987 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13988 PyObject
*resultobj
= 0;
13989 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13993 PyObject
*swig_obj
[1] ;
13995 if (!args
) SWIG_fail
;
13996 swig_obj
[0] = args
;
13997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13998 if (!SWIG_IsOK(res1
)) {
13999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14001 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14015 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14016 PyObject
*resultobj
= 0;
14017 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14021 PyObject
*swig_obj
[1] ;
14023 if (!args
) SWIG_fail
;
14024 swig_obj
[0] = args
;
14025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14026 if (!SWIG_IsOK(res1
)) {
14027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14029 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14032 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14036 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14043 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14044 PyObject
*resultobj
= 0;
14045 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14049 PyObject
*swig_obj
[1] ;
14051 if (!args
) SWIG_fail
;
14052 swig_obj
[0] = args
;
14053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14054 if (!SWIG_IsOK(res1
)) {
14055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14057 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14060 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14064 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14071 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
= 0;
14073 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14080 PyObject
* obj0
= 0 ;
14081 PyObject
* obj1
= 0 ;
14082 char * kwnames
[] = {
14083 (char *) "self",(char *) "line", NULL
14086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14088 if (!SWIG_IsOK(res1
)) {
14089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14091 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14092 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14093 if (!SWIG_IsOK(ecode2
)) {
14094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14096 arg2
= static_cast< size_t >(val2
);
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14112 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14113 PyObject
*resultobj
= 0;
14114 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14118 PyObject
*swig_obj
[1] ;
14120 if (!args
) SWIG_fail
;
14121 swig_obj
[0] = args
;
14122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14123 if (!SWIG_IsOK(res1
)) {
14124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14126 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14140 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14141 PyObject
*resultobj
= 0;
14142 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14146 PyObject
*swig_obj
[1] ;
14148 if (!args
) SWIG_fail
;
14149 swig_obj
[0] = args
;
14150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14151 if (!SWIG_IsOK(res1
)) {
14152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14154 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14161 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14168 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
= 0;
14170 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14172 bool arg3
= (bool) false ;
14180 PyObject
* obj0
= 0 ;
14181 PyObject
* obj1
= 0 ;
14182 PyObject
* obj2
= 0 ;
14183 char * kwnames
[] = {
14184 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14189 if (!SWIG_IsOK(res1
)) {
14190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14192 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14193 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14194 if (!SWIG_IsOK(ecode2
)) {
14195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14197 arg2
= static_cast< size_t >(val2
);
14199 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14200 if (!SWIG_IsOK(ecode3
)) {
14201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14203 arg3
= static_cast< bool >(val3
);
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14218 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
= 0;
14220 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14230 PyObject
* obj0
= 0 ;
14231 PyObject
* obj1
= 0 ;
14232 PyObject
* obj2
= 0 ;
14233 char * kwnames
[] = {
14234 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14239 if (!SWIG_IsOK(res1
)) {
14240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14242 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14243 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14244 if (!SWIG_IsOK(ecode2
)) {
14245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14247 arg2
= static_cast< size_t >(val2
);
14248 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14249 if (!SWIG_IsOK(ecode3
)) {
14250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14252 arg3
= static_cast< size_t >(val3
);
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= SWIG_From_int(static_cast< int >(result
));
14266 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14269 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14270 return SWIG_Py_Void();
14273 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14274 return SWIG_Python_InitShadowInstance(args
);
14277 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14278 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14283 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14284 PyObject
*pyobj
= 0;
14288 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14290 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14297 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
= 0;
14299 wxWindow
*arg1
= (wxWindow
*) 0 ;
14300 int arg2
= (int) wxID_ANY
;
14301 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14302 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14303 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14304 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14305 long arg5
= (long) 0 ;
14306 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14307 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14308 wxPyVListBox
*result
= 0 ;
14317 bool temp6
= false ;
14318 PyObject
* obj0
= 0 ;
14319 PyObject
* obj1
= 0 ;
14320 PyObject
* obj2
= 0 ;
14321 PyObject
* obj3
= 0 ;
14322 PyObject
* obj4
= 0 ;
14323 PyObject
* obj5
= 0 ;
14324 char * kwnames
[] = {
14325 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14330 if (!SWIG_IsOK(res1
)) {
14331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14333 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14336 if (!SWIG_IsOK(ecode2
)) {
14337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14339 arg2
= static_cast< int >(val2
);
14344 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14350 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14354 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14355 if (!SWIG_IsOK(ecode5
)) {
14356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14358 arg5
= static_cast< long >(val5
);
14362 arg6
= wxString_in_helper(obj5
);
14363 if (arg6
== NULL
) SWIG_fail
;
14368 if (!wxPyCheckForApp()) SWIG_fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14389 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14390 PyObject
*resultobj
= 0;
14391 wxPyVListBox
*result
= 0 ;
14393 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14395 if (!wxPyCheckForApp()) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= (wxPyVListBox
*)new wxPyVListBox();
14398 wxPyEndAllowThreads(__tstate
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14408 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14409 PyObject
*resultobj
= 0;
14410 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14411 PyObject
*arg2
= (PyObject
*) 0 ;
14412 PyObject
*arg3
= (PyObject
*) 0 ;
14415 PyObject
* obj0
= 0 ;
14416 PyObject
* obj1
= 0 ;
14417 PyObject
* obj2
= 0 ;
14418 char * kwnames
[] = {
14419 (char *) "self",(char *) "self",(char *) "_class", NULL
14422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14424 if (!SWIG_IsOK(res1
)) {
14425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14427 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14436 resultobj
= SWIG_Py_Void();
14443 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
= 0;
14445 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14446 wxWindow
*arg2
= (wxWindow
*) 0 ;
14447 int arg3
= (int) wxID_ANY
;
14448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14452 long arg6
= (long) 0 ;
14453 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14454 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14466 bool temp7
= false ;
14467 PyObject
* obj0
= 0 ;
14468 PyObject
* obj1
= 0 ;
14469 PyObject
* obj2
= 0 ;
14470 PyObject
* obj3
= 0 ;
14471 PyObject
* obj4
= 0 ;
14472 PyObject
* obj5
= 0 ;
14473 PyObject
* obj6
= 0 ;
14474 char * kwnames
[] = {
14475 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14480 if (!SWIG_IsOK(res1
)) {
14481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14483 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14484 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14485 if (!SWIG_IsOK(res2
)) {
14486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14488 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14490 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14491 if (!SWIG_IsOK(ecode3
)) {
14492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14494 arg3
= static_cast< int >(val3
);
14499 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14505 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14509 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14510 if (!SWIG_IsOK(ecode6
)) {
14511 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14513 arg6
= static_cast< long >(val6
);
14517 arg7
= wxString_in_helper(obj6
);
14518 if (arg7
== NULL
) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14545 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14546 PyObject
*resultobj
= 0;
14547 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14551 PyObject
*swig_obj
[1] ;
14553 if (!args
) SWIG_fail
;
14554 swig_obj
[0] = args
;
14555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14556 if (!SWIG_IsOK(res1
)) {
14557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14559 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14573 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14574 PyObject
*resultobj
= 0;
14575 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14579 PyObject
*swig_obj
[1] ;
14581 if (!args
) SWIG_fail
;
14582 swig_obj
[0] = args
;
14583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14584 if (!SWIG_IsOK(res1
)) {
14585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14587 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14603 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14604 PyObject
*resultobj
= 0;
14605 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14609 PyObject
*swig_obj
[1] ;
14611 if (!args
) SWIG_fail
;
14612 swig_obj
[0] = args
;
14613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14614 if (!SWIG_IsOK(res1
)) {
14615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14617 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 resultobj
= SWIG_From_int(static_cast< int >(result
));
14631 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
= 0;
14633 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 PyObject
* obj1
= 0 ;
14642 char * kwnames
[] = {
14643 (char *) "self",(char *) "item", NULL
14646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14648 if (!SWIG_IsOK(res1
)) {
14649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14651 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14652 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14653 if (!SWIG_IsOK(ecode2
)) {
14654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14656 arg2
= static_cast< size_t >(val2
);
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14672 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
= 0;
14674 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 char * kwnames
[] = {
14684 (char *) "self",(char *) "item", NULL
14687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14689 if (!SWIG_IsOK(res1
)) {
14690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14692 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14693 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14694 if (!SWIG_IsOK(ecode2
)) {
14695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14697 arg2
= static_cast< size_t >(val2
);
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14713 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14714 PyObject
*resultobj
= 0;
14715 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14719 PyObject
*swig_obj
[1] ;
14721 if (!args
) SWIG_fail
;
14722 swig_obj
[0] = args
;
14723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14724 if (!SWIG_IsOK(res1
)) {
14725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14727 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14741 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14742 PyObject
*resultobj
= 0;
14743 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14744 PyObject
*result
= 0 ;
14747 PyObject
*swig_obj
[1] ;
14749 if (!args
) SWIG_fail
;
14750 swig_obj
[0] = args
;
14751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14752 if (!SWIG_IsOK(res1
)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14755 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14759 wxPyEndAllowThreads(__tstate
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= result
;
14769 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14770 PyObject
*resultobj
= 0;
14771 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14772 unsigned long arg2
;
14773 PyObject
*result
= 0 ;
14776 unsigned long val2
;
14778 PyObject
* obj0
= 0 ;
14779 PyObject
* obj1
= 0 ;
14780 char * kwnames
[] = {
14781 (char *) "self",(char *) "cookie", NULL
14784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14786 if (!SWIG_IsOK(res1
)) {
14787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14789 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14790 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14791 if (!SWIG_IsOK(ecode2
)) {
14792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14794 arg2
= static_cast< unsigned long >(val2
);
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= result
;
14808 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14809 PyObject
*resultobj
= 0;
14810 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14814 PyObject
*swig_obj
[1] ;
14816 if (!args
) SWIG_fail
;
14817 swig_obj
[0] = args
;
14818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14819 if (!SWIG_IsOK(res1
)) {
14820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14822 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14836 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14837 PyObject
*resultobj
= 0;
14838 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14839 wxColour
*result
= 0 ;
14842 PyObject
*swig_obj
[1] ;
14844 if (!args
) SWIG_fail
;
14845 swig_obj
[0] = args
;
14846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14847 if (!SWIG_IsOK(res1
)) {
14848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14850 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14855 result
= (wxColour
*) &_result_ref
;
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14867 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
= 0;
14869 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14875 PyObject
* obj0
= 0 ;
14876 PyObject
* obj1
= 0 ;
14877 char * kwnames
[] = {
14878 (char *) "self",(char *) "count", NULL
14881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14883 if (!SWIG_IsOK(res1
)) {
14884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14886 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14887 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14888 if (!SWIG_IsOK(ecode2
)) {
14889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14891 arg2
= static_cast< size_t >(val2
);
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 (arg1
)->SetItemCount(arg2
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= SWIG_Py_Void();
14905 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14906 PyObject
*resultobj
= 0;
14907 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14910 PyObject
*swig_obj
[1] ;
14912 if (!args
) SWIG_fail
;
14913 swig_obj
[0] = args
;
14914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14915 if (!SWIG_IsOK(res1
)) {
14916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14918 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_Py_Void();
14932 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
= 0;
14934 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14940 PyObject
* obj0
= 0 ;
14941 PyObject
* obj1
= 0 ;
14942 char * kwnames
[] = {
14943 (char *) "self",(char *) "selection", NULL
14946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14948 if (!SWIG_IsOK(res1
)) {
14949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14951 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14953 if (!SWIG_IsOK(ecode2
)) {
14954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14956 arg2
= static_cast< int >(val2
);
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 (arg1
)->SetSelection(arg2
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= SWIG_Py_Void();
14970 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
= 0;
14972 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14974 bool arg3
= (bool) true ;
14982 PyObject
* obj0
= 0 ;
14983 PyObject
* obj1
= 0 ;
14984 PyObject
* obj2
= 0 ;
14985 char * kwnames
[] = {
14986 (char *) "self",(char *) "item",(char *) "select", NULL
14989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14991 if (!SWIG_IsOK(res1
)) {
14992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14994 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14995 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14996 if (!SWIG_IsOK(ecode2
)) {
14997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14999 arg2
= static_cast< size_t >(val2
);
15001 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15002 if (!SWIG_IsOK(ecode3
)) {
15003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15005 arg3
= static_cast< bool >(val3
);
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15022 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15023 PyObject
*resultobj
= 0;
15024 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15034 PyObject
* obj0
= 0 ;
15035 PyObject
* obj1
= 0 ;
15036 PyObject
* obj2
= 0 ;
15037 char * kwnames
[] = {
15038 (char *) "self",(char *) "from",(char *) "to", NULL
15041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15043 if (!SWIG_IsOK(res1
)) {
15044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15046 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15047 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15048 if (!SWIG_IsOK(ecode2
)) {
15049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15051 arg2
= static_cast< size_t >(val2
);
15052 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15053 if (!SWIG_IsOK(ecode3
)) {
15054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15056 arg3
= static_cast< size_t >(val3
);
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15072 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
= 0;
15074 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 PyObject
* obj1
= 0 ;
15082 char * kwnames
[] = {
15083 (char *) "self",(char *) "item", NULL
15086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15088 if (!SWIG_IsOK(res1
)) {
15089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15091 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15092 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15093 if (!SWIG_IsOK(ecode2
)) {
15094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15096 arg2
= static_cast< size_t >(val2
);
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 (arg1
)->Toggle(arg2
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= SWIG_Py_Void();
15110 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15111 PyObject
*resultobj
= 0;
15112 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15116 PyObject
*swig_obj
[1] ;
15118 if (!args
) SWIG_fail
;
15119 swig_obj
[0] = args
;
15120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15121 if (!SWIG_IsOK(res1
)) {
15122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15124 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 result
= (bool)(arg1
)->SelectAll();
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15140 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15141 PyObject
*resultobj
= 0;
15142 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15146 PyObject
*swig_obj
[1] ;
15148 if (!args
) SWIG_fail
;
15149 swig_obj
[0] = args
;
15150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15151 if (!SWIG_IsOK(res1
)) {
15152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15154 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (bool)(arg1
)->DeselectAll();
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15170 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
= 0;
15172 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15173 wxPoint
*arg2
= 0 ;
15177 PyObject
* obj0
= 0 ;
15178 PyObject
* obj1
= 0 ;
15179 char * kwnames
[] = {
15180 (char *) "self",(char *) "pt", NULL
15183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15185 if (!SWIG_IsOK(res1
)) {
15186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15188 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15191 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= SWIG_Py_Void();
15206 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
= 0;
15208 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15217 PyObject
* obj0
= 0 ;
15218 PyObject
* obj1
= 0 ;
15219 PyObject
* obj2
= 0 ;
15220 char * kwnames
[] = {
15221 (char *) "self",(char *) "x",(char *) "y", NULL
15224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15226 if (!SWIG_IsOK(res1
)) {
15227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15229 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15231 if (!SWIG_IsOK(ecode2
)) {
15232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15234 arg2
= static_cast< int >(val2
);
15235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15236 if (!SWIG_IsOK(ecode3
)) {
15237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15239 arg3
= static_cast< int >(val3
);
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 (arg1
)->SetMargins(arg2
,arg3
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15246 resultobj
= SWIG_Py_Void();
15253 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
= 0;
15255 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15256 wxColour
*arg2
= 0 ;
15260 PyObject
* obj0
= 0 ;
15261 PyObject
* obj1
= 0 ;
15262 char * kwnames
[] = {
15263 (char *) "self",(char *) "col", NULL
15266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15268 if (!SWIG_IsOK(res1
)) {
15269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15271 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15274 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 resultobj
= SWIG_Py_Void();
15289 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
= 0;
15291 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15302 PyObject
* obj0
= 0 ;
15303 PyObject
* obj1
= 0 ;
15304 PyObject
* obj2
= 0 ;
15305 PyObject
* obj3
= 0 ;
15306 char * kwnames
[] = {
15307 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15312 if (!SWIG_IsOK(res1
)) {
15313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15315 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15317 if (!SWIG_IsOK(res2
)) {
15318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15323 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15326 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15328 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15329 if (!SWIG_IsOK(ecode4
)) {
15330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15332 arg4
= static_cast< size_t >(val4
);
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= SWIG_Py_Void();
15346 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
= 0;
15348 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15359 PyObject
* obj0
= 0 ;
15360 PyObject
* obj1
= 0 ;
15361 PyObject
* obj2
= 0 ;
15362 PyObject
* obj3
= 0 ;
15363 char * kwnames
[] = {
15364 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15369 if (!SWIG_IsOK(res1
)) {
15370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15372 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15373 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15374 if (!SWIG_IsOK(res2
)) {
15375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15380 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15383 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15385 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15386 if (!SWIG_IsOK(ecode4
)) {
15387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15389 arg4
= static_cast< size_t >(val4
);
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_Py_Void();
15403 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15406 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15407 return SWIG_Py_Void();
15410 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15411 return SWIG_Python_InitShadowInstance(args
);
15414 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
= 0;
15416 wxWindow
*arg1
= (wxWindow
*) 0 ;
15417 int arg2
= (int) wxID_ANY
;
15418 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15419 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15420 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15421 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15422 long arg5
= (long) 0 ;
15423 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15424 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15425 wxPyHtmlListBox
*result
= 0 ;
15434 bool temp6
= false ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 PyObject
* obj2
= 0 ;
15438 PyObject
* obj3
= 0 ;
15439 PyObject
* obj4
= 0 ;
15440 PyObject
* obj5
= 0 ;
15441 char * kwnames
[] = {
15442 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15447 if (!SWIG_IsOK(res1
)) {
15448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15450 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15453 if (!SWIG_IsOK(ecode2
)) {
15454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15456 arg2
= static_cast< int >(val2
);
15461 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15467 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15471 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15472 if (!SWIG_IsOK(ecode5
)) {
15473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15475 arg5
= static_cast< long >(val5
);
15479 arg6
= wxString_in_helper(obj5
);
15480 if (arg6
== NULL
) SWIG_fail
;
15485 if (!wxPyCheckForApp()) SWIG_fail
;
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15506 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15507 PyObject
*resultobj
= 0;
15508 wxPyHtmlListBox
*result
= 0 ;
15510 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15512 if (!wxPyCheckForApp()) SWIG_fail
;
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15515 wxPyEndAllowThreads(__tstate
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15525 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
= 0;
15527 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15528 PyObject
*arg2
= (PyObject
*) 0 ;
15529 PyObject
*arg3
= (PyObject
*) 0 ;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 PyObject
* obj2
= 0 ;
15535 char * kwnames
[] = {
15536 (char *) "self",(char *) "self",(char *) "_class", NULL
15539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15541 if (!SWIG_IsOK(res1
)) {
15542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15544 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= SWIG_Py_Void();
15560 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
= 0;
15562 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15563 wxWindow
*arg2
= (wxWindow
*) 0 ;
15564 int arg3
= (int) wxID_ANY
;
15565 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15566 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15567 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15568 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15569 long arg6
= (long) 0 ;
15570 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15571 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15583 bool temp7
= false ;
15584 PyObject
* obj0
= 0 ;
15585 PyObject
* obj1
= 0 ;
15586 PyObject
* obj2
= 0 ;
15587 PyObject
* obj3
= 0 ;
15588 PyObject
* obj4
= 0 ;
15589 PyObject
* obj5
= 0 ;
15590 PyObject
* obj6
= 0 ;
15591 char * kwnames
[] = {
15592 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15597 if (!SWIG_IsOK(res1
)) {
15598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15600 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15601 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15602 if (!SWIG_IsOK(res2
)) {
15603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15605 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15608 if (!SWIG_IsOK(ecode3
)) {
15609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15611 arg3
= static_cast< int >(val3
);
15616 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15622 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15626 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15627 if (!SWIG_IsOK(ecode6
)) {
15628 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15630 arg6
= static_cast< long >(val6
);
15634 arg7
= wxString_in_helper(obj6
);
15635 if (arg7
== NULL
) SWIG_fail
;
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15662 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
= 0;
15664 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15670 PyObject
* obj0
= 0 ;
15671 PyObject
* obj1
= 0 ;
15672 char * kwnames
[] = {
15673 (char *) "self",(char *) "count", NULL
15676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15678 if (!SWIG_IsOK(res1
)) {
15679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15681 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15682 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15683 if (!SWIG_IsOK(ecode2
)) {
15684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15686 arg2
= static_cast< size_t >(val2
);
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 (arg1
)->SetItemCount(arg2
);
15690 wxPyEndAllowThreads(__tstate
);
15691 if (PyErr_Occurred()) SWIG_fail
;
15693 resultobj
= SWIG_Py_Void();
15700 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15701 PyObject
*resultobj
= 0;
15702 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15703 wxFileSystem
*result
= 0 ;
15706 PyObject
*swig_obj
[1] ;
15708 if (!args
) SWIG_fail
;
15709 swig_obj
[0] = args
;
15710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15711 if (!SWIG_IsOK(res1
)) {
15712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15714 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15719 result
= (wxFileSystem
*) &_result_ref
;
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15731 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
= 0;
15733 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15735 wxHtmlLinkInfo
*arg3
= 0 ;
15742 PyObject
* obj0
= 0 ;
15743 PyObject
* obj1
= 0 ;
15744 PyObject
* obj2
= 0 ;
15745 char * kwnames
[] = {
15746 (char *) "self",(char *) "n",(char *) "link", NULL
15749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15751 if (!SWIG_IsOK(res1
)) {
15752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15754 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15755 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15756 if (!SWIG_IsOK(ecode2
)) {
15757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15759 arg2
= static_cast< size_t >(val2
);
15760 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15761 if (!SWIG_IsOK(res3
)) {
15762 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15767 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 resultobj
= SWIG_Py_Void();
15781 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15784 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15785 return SWIG_Py_Void();
15788 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15789 return SWIG_Python_InitShadowInstance(args
);
15792 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15793 PyObject
*resultobj
= 0;
15794 wxPyTaskBarIcon
*result
= 0 ;
15796 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15798 if (!wxPyCheckForApp()) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15811 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15812 PyObject
*resultobj
= 0;
15813 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15816 PyObject
*swig_obj
[1] ;
15818 if (!args
) SWIG_fail
;
15819 swig_obj
[0] = args
;
15820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15821 if (!SWIG_IsOK(res1
)) {
15822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15824 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= SWIG_Py_Void();
15839 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
= 0;
15841 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15842 PyObject
*arg2
= (PyObject
*) 0 ;
15843 PyObject
*arg3
= (PyObject
*) 0 ;
15849 PyObject
* obj0
= 0 ;
15850 PyObject
* obj1
= 0 ;
15851 PyObject
* obj2
= 0 ;
15852 PyObject
* obj3
= 0 ;
15853 char * kwnames
[] = {
15854 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15859 if (!SWIG_IsOK(res1
)) {
15860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15862 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15865 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15866 if (!SWIG_IsOK(ecode4
)) {
15867 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15869 arg4
= static_cast< int >(val4
);
15871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15872 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15876 resultobj
= SWIG_Py_Void();
15883 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15884 PyObject
*resultobj
= 0;
15885 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15888 PyObject
*swig_obj
[1] ;
15890 if (!args
) SWIG_fail
;
15891 swig_obj
[0] = args
;
15892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15893 if (!SWIG_IsOK(res1
)) {
15894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15896 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 wxPyTaskBarIcon_Destroy(arg1
);
15900 wxPyEndAllowThreads(__tstate
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15903 resultobj
= SWIG_Py_Void();
15910 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15911 PyObject
*resultobj
= 0;
15912 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15916 PyObject
*swig_obj
[1] ;
15918 if (!args
) SWIG_fail
;
15919 swig_obj
[0] = args
;
15920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15921 if (!SWIG_IsOK(res1
)) {
15922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15924 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15940 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15941 PyObject
*resultobj
= 0;
15942 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15946 PyObject
*swig_obj
[1] ;
15948 if (!args
) SWIG_fail
;
15949 swig_obj
[0] = args
;
15950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15951 if (!SWIG_IsOK(res1
)) {
15952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15954 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15970 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
= 0;
15972 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15974 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15975 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15981 bool temp3
= false ;
15982 PyObject
* obj0
= 0 ;
15983 PyObject
* obj1
= 0 ;
15984 PyObject
* obj2
= 0 ;
15985 char * kwnames
[] = {
15986 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15991 if (!SWIG_IsOK(res1
)) {
15992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15994 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15996 if (!SWIG_IsOK(res2
)) {
15997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16002 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16005 arg3
= wxString_in_helper(obj2
);
16006 if (arg3
== NULL
) SWIG_fail
;
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16012 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16033 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16034 PyObject
*resultobj
= 0;
16035 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16039 PyObject
*swig_obj
[1] ;
16041 if (!args
) SWIG_fail
;
16042 swig_obj
[0] = args
;
16043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16044 if (!SWIG_IsOK(res1
)) {
16045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16047 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (bool)(arg1
)->RemoveIcon();
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16063 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
= 0;
16065 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16066 wxMenu
*arg2
= (wxMenu
*) 0 ;
16072 PyObject
* obj0
= 0 ;
16073 PyObject
* obj1
= 0 ;
16074 char * kwnames
[] = {
16075 (char *) "self",(char *) "menu", NULL
16078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16080 if (!SWIG_IsOK(res1
)) {
16081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16083 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16085 if (!SWIG_IsOK(res2
)) {
16086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16088 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (bool)(arg1
)->PopupMenu(arg2
);
16092 wxPyEndAllowThreads(__tstate
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16104 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16107 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16108 return SWIG_Py_Void();
16111 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16112 return SWIG_Python_InitShadowInstance(args
);
16115 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
= 0;
16118 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16119 wxTaskBarIconEvent
*result
= 0 ;
16124 PyObject
* obj0
= 0 ;
16125 PyObject
* obj1
= 0 ;
16126 char * kwnames
[] = {
16127 (char *) "evtType",(char *) "tbIcon", NULL
16130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16131 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16132 if (!SWIG_IsOK(ecode1
)) {
16133 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16135 arg1
= static_cast< wxEventType
>(val1
);
16136 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16137 if (!SWIG_IsOK(res2
)) {
16138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16140 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16154 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16156 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16157 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16158 return SWIG_Py_Void();
16161 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16162 return SWIG_Python_InitShadowInstance(args
);
16165 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16166 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16171 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16172 PyObject
*pyobj
= 0;
16176 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16178 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16185 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16186 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16191 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16192 PyObject
*pyobj
= 0;
16196 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16198 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16205 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16206 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16211 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16212 PyObject
*pyobj
= 0;
16216 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16218 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16225 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16226 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16231 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16232 PyObject
*pyobj
= 0;
16236 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16238 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16245 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16246 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16251 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16252 PyObject
*pyobj
= 0;
16256 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16258 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16265 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16266 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16271 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16272 PyObject
*pyobj
= 0;
16276 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16278 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16285 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16286 PyObject
*resultobj
= 0;
16287 wxColourData
*result
= 0 ;
16289 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= (wxColourData
*)new wxColourData();
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16303 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16304 PyObject
*resultobj
= 0;
16305 wxColourData
*arg1
= (wxColourData
*) 0 ;
16308 PyObject
*swig_obj
[1] ;
16310 if (!args
) SWIG_fail
;
16311 swig_obj
[0] = args
;
16312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16313 if (!SWIG_IsOK(res1
)) {
16314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16316 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= SWIG_Py_Void();
16331 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16332 PyObject
*resultobj
= 0;
16333 wxColourData
*arg1
= (wxColourData
*) 0 ;
16337 PyObject
*swig_obj
[1] ;
16339 if (!args
) SWIG_fail
;
16340 swig_obj
[0] = args
;
16341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16342 if (!SWIG_IsOK(res1
)) {
16343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16345 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 result
= (bool)(arg1
)->GetChooseFull();
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16361 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16362 PyObject
*resultobj
= 0;
16363 wxColourData
*arg1
= (wxColourData
*) 0 ;
16367 PyObject
*swig_obj
[1] ;
16369 if (!args
) SWIG_fail
;
16370 swig_obj
[0] = args
;
16371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16372 if (!SWIG_IsOK(res1
)) {
16373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16375 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 result
= (arg1
)->GetColour();
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16382 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16389 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
= 0;
16391 wxColourData
*arg1
= (wxColourData
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 PyObject
* obj1
= 0 ;
16400 char * kwnames
[] = {
16401 (char *) "self",(char *) "i", NULL
16404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16406 if (!SWIG_IsOK(res1
)) {
16407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16409 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16411 if (!SWIG_IsOK(ecode2
)) {
16412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16414 arg2
= static_cast< int >(val2
);
16416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 result
= (arg1
)->GetCustomColour(arg2
);
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16428 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
= 0;
16430 wxColourData
*arg1
= (wxColourData
*) 0 ;
16436 PyObject
* obj0
= 0 ;
16437 PyObject
* obj1
= 0 ;
16438 char * kwnames
[] = {
16439 (char *) "self",(char *) "flag", NULL
16442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16444 if (!SWIG_IsOK(res1
)) {
16445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16447 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16449 if (!SWIG_IsOK(ecode2
)) {
16450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16452 arg2
= static_cast< int >(val2
);
16454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16455 (arg1
)->SetChooseFull(arg2
);
16456 wxPyEndAllowThreads(__tstate
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16459 resultobj
= SWIG_Py_Void();
16466 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
= 0;
16468 wxColourData
*arg1
= (wxColourData
*) 0 ;
16469 wxColour
*arg2
= 0 ;
16473 PyObject
* obj0
= 0 ;
16474 PyObject
* obj1
= 0 ;
16475 char * kwnames
[] = {
16476 (char *) "self",(char *) "colour", NULL
16479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16481 if (!SWIG_IsOK(res1
)) {
16482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16484 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16487 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 (arg1
)->SetColour((wxColour
const &)*arg2
);
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16495 resultobj
= SWIG_Py_Void();
16502 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16503 PyObject
*resultobj
= 0;
16504 wxColourData
*arg1
= (wxColourData
*) 0 ;
16506 wxColour
*arg3
= 0 ;
16512 PyObject
* obj0
= 0 ;
16513 PyObject
* obj1
= 0 ;
16514 PyObject
* obj2
= 0 ;
16515 char * kwnames
[] = {
16516 (char *) "self",(char *) "i",(char *) "colour", NULL
16519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16521 if (!SWIG_IsOK(res1
)) {
16522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16524 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16526 if (!SWIG_IsOK(ecode2
)) {
16527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16529 arg2
= static_cast< int >(val2
);
16532 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= SWIG_Py_Void();
16547 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16550 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16551 return SWIG_Py_Void();
16554 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16555 return SWIG_Python_InitShadowInstance(args
);
16558 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
= 0;
16560 wxWindow
*arg1
= (wxWindow
*) 0 ;
16561 wxColourData
*arg2
= (wxColourData
*) NULL
;
16562 wxColourDialog
*result
= 0 ;
16567 PyObject
* obj0
= 0 ;
16568 PyObject
* obj1
= 0 ;
16569 char * kwnames
[] = {
16570 (char *) "parent",(char *) "data", NULL
16573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16575 if (!SWIG_IsOK(res1
)) {
16576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16578 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16580 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16581 if (!SWIG_IsOK(res2
)) {
16582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16584 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16587 if (!wxPyCheckForApp()) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16600 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16601 PyObject
*resultobj
= 0;
16602 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16603 wxColourData
*result
= 0 ;
16606 PyObject
*swig_obj
[1] ;
16608 if (!args
) SWIG_fail
;
16609 swig_obj
[0] = args
;
16610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16611 if (!SWIG_IsOK(res1
)) {
16612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16614 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16619 result
= (wxColourData
*) &_result_ref
;
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16631 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16634 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16635 return SWIG_Py_Void();
16638 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16639 return SWIG_Python_InitShadowInstance(args
);
16642 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
= 0;
16644 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16645 wxColour
const &arg2_defvalue
= wxNullColour
;
16646 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16647 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16648 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16653 bool temp3
= false ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 PyObject
* obj2
= 0 ;
16657 char * kwnames
[] = {
16658 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16664 if (!SWIG_IsOK(res1
)) {
16665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16667 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16672 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16677 arg3
= wxString_in_helper(obj2
);
16678 if (arg3
== NULL
) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16703 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
= 0;
16705 wxWindow
*arg1
= (wxWindow
*) 0 ;
16706 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16707 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16708 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16709 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16710 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16711 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16712 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16713 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16714 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16715 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16716 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16717 wxDirDialog
*result
= 0 ;
16720 bool temp2
= false ;
16721 bool temp3
= false ;
16726 bool temp7
= false ;
16727 PyObject
* obj0
= 0 ;
16728 PyObject
* obj1
= 0 ;
16729 PyObject
* obj2
= 0 ;
16730 PyObject
* obj3
= 0 ;
16731 PyObject
* obj4
= 0 ;
16732 PyObject
* obj5
= 0 ;
16733 PyObject
* obj6
= 0 ;
16734 char * kwnames
[] = {
16735 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16740 if (!SWIG_IsOK(res1
)) {
16741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16743 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16746 arg2
= wxString_in_helper(obj1
);
16747 if (arg2
== NULL
) SWIG_fail
;
16753 arg3
= wxString_in_helper(obj2
);
16754 if (arg3
== NULL
) SWIG_fail
;
16759 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16760 if (!SWIG_IsOK(ecode4
)) {
16761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16763 arg4
= static_cast< long >(val4
);
16768 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16774 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16779 arg7
= wxString_in_helper(obj6
);
16780 if (arg7
== NULL
) SWIG_fail
;
16785 if (!wxPyCheckForApp()) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16788 wxPyEndAllowThreads(__tstate
);
16789 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16822 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16823 PyObject
*resultobj
= 0;
16824 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16828 PyObject
*swig_obj
[1] ;
16830 if (!args
) SWIG_fail
;
16831 swig_obj
[0] = args
;
16832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16833 if (!SWIG_IsOK(res1
)) {
16834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16836 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 result
= (arg1
)->GetPath();
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16856 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16857 PyObject
*resultobj
= 0;
16858 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16862 PyObject
*swig_obj
[1] ;
16864 if (!args
) SWIG_fail
;
16865 swig_obj
[0] = args
;
16866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16867 if (!SWIG_IsOK(res1
)) {
16868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16870 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (arg1
)->GetMessage();
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16890 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
= 0;
16892 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16893 wxString
*arg2
= 0 ;
16896 bool temp2
= false ;
16897 PyObject
* obj0
= 0 ;
16898 PyObject
* obj1
= 0 ;
16899 char * kwnames
[] = {
16900 (char *) "self",(char *) "message", NULL
16903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16905 if (!SWIG_IsOK(res1
)) {
16906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16908 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16910 arg2
= wxString_in_helper(obj1
);
16911 if (arg2
== NULL
) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 (arg1
)->SetMessage((wxString
const &)*arg2
);
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= SWIG_Py_Void();
16935 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
= 0;
16937 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16938 wxString
*arg2
= 0 ;
16941 bool temp2
= false ;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 char * kwnames
[] = {
16945 (char *) "self",(char *) "path", NULL
16948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16950 if (!SWIG_IsOK(res1
)) {
16951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16953 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16955 arg2
= wxString_in_helper(obj1
);
16956 if (arg2
== NULL
) SWIG_fail
;
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 (arg1
)->SetPath((wxString
const &)*arg2
);
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= SWIG_Py_Void();
16980 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16983 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16984 return SWIG_Py_Void();
16987 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16988 return SWIG_Python_InitShadowInstance(args
);
16991 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
= 0;
16993 wxWindow
*arg1
= (wxWindow
*) 0 ;
16994 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16995 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16996 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16997 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16998 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16999 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17000 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17001 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17002 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17003 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17004 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17005 wxFileDialog
*result
= 0 ;
17008 bool temp2
= false ;
17009 bool temp3
= false ;
17010 bool temp4
= false ;
17011 bool temp5
= false ;
17015 PyObject
* obj0
= 0 ;
17016 PyObject
* obj1
= 0 ;
17017 PyObject
* obj2
= 0 ;
17018 PyObject
* obj3
= 0 ;
17019 PyObject
* obj4
= 0 ;
17020 PyObject
* obj5
= 0 ;
17021 PyObject
* obj6
= 0 ;
17022 char * kwnames
[] = {
17023 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17028 if (!SWIG_IsOK(res1
)) {
17029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17031 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17034 arg2
= wxString_in_helper(obj1
);
17035 if (arg2
== NULL
) SWIG_fail
;
17041 arg3
= wxString_in_helper(obj2
);
17042 if (arg3
== NULL
) SWIG_fail
;
17048 arg4
= wxString_in_helper(obj3
);
17049 if (arg4
== NULL
) SWIG_fail
;
17055 arg5
= wxString_in_helper(obj4
);
17056 if (arg5
== NULL
) SWIG_fail
;
17061 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17062 if (!SWIG_IsOK(ecode6
)) {
17063 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17065 arg6
= static_cast< long >(val6
);
17070 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17074 if (!wxPyCheckForApp()) SWIG_fail
;
17075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17076 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17077 wxPyEndAllowThreads(__tstate
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17119 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
= 0;
17121 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17122 wxString
*arg2
= 0 ;
17125 bool temp2
= false ;
17126 PyObject
* obj0
= 0 ;
17127 PyObject
* obj1
= 0 ;
17128 char * kwnames
[] = {
17129 (char *) "self",(char *) "message", NULL
17132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17134 if (!SWIG_IsOK(res1
)) {
17135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17137 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17139 arg2
= wxString_in_helper(obj1
);
17140 if (arg2
== NULL
) SWIG_fail
;
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 (arg1
)->SetMessage((wxString
const &)*arg2
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17149 resultobj
= SWIG_Py_Void();
17164 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
= 0;
17166 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17167 wxString
*arg2
= 0 ;
17170 bool temp2
= false ;
17171 PyObject
* obj0
= 0 ;
17172 PyObject
* obj1
= 0 ;
17173 char * kwnames
[] = {
17174 (char *) "self",(char *) "path", NULL
17177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17179 if (!SWIG_IsOK(res1
)) {
17180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17182 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17184 arg2
= wxString_in_helper(obj1
);
17185 if (arg2
== NULL
) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 (arg1
)->SetPath((wxString
const &)*arg2
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= SWIG_Py_Void();
17209 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
= 0;
17211 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17212 wxString
*arg2
= 0 ;
17215 bool temp2
= false ;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 char * kwnames
[] = {
17219 (char *) "self",(char *) "dir", NULL
17222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17224 if (!SWIG_IsOK(res1
)) {
17225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17227 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17229 arg2
= wxString_in_helper(obj1
);
17230 if (arg2
== NULL
) SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17239 resultobj
= SWIG_Py_Void();
17254 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
= 0;
17256 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17257 wxString
*arg2
= 0 ;
17260 bool temp2
= false ;
17261 PyObject
* obj0
= 0 ;
17262 PyObject
* obj1
= 0 ;
17263 char * kwnames
[] = {
17264 (char *) "self",(char *) "name", NULL
17267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17269 if (!SWIG_IsOK(res1
)) {
17270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17272 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17274 arg2
= wxString_in_helper(obj1
);
17275 if (arg2
== NULL
) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 (arg1
)->SetFilename((wxString
const &)*arg2
);
17281 wxPyEndAllowThreads(__tstate
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17284 resultobj
= SWIG_Py_Void();
17299 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
= 0;
17301 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17302 wxString
*arg2
= 0 ;
17305 bool temp2
= false ;
17306 PyObject
* obj0
= 0 ;
17307 PyObject
* obj1
= 0 ;
17308 char * kwnames
[] = {
17309 (char *) "self",(char *) "wildCard", NULL
17312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17314 if (!SWIG_IsOK(res1
)) {
17315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17317 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17319 arg2
= wxString_in_helper(obj1
);
17320 if (arg2
== NULL
) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= SWIG_Py_Void();
17344 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
= 0;
17346 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char * kwnames
[] = {
17355 (char *) "self",(char *) "filterIndex", NULL
17358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17360 if (!SWIG_IsOK(res1
)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17363 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17365 if (!SWIG_IsOK(ecode2
)) {
17366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17368 arg2
= static_cast< int >(val2
);
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 (arg1
)->SetFilterIndex(arg2
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= SWIG_Py_Void();
17382 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17383 PyObject
*resultobj
= 0;
17384 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17388 PyObject
*swig_obj
[1] ;
17390 if (!args
) SWIG_fail
;
17391 swig_obj
[0] = args
;
17392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17393 if (!SWIG_IsOK(res1
)) {
17394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17396 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17416 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17417 PyObject
*resultobj
= 0;
17418 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17422 PyObject
*swig_obj
[1] ;
17424 if (!args
) SWIG_fail
;
17425 swig_obj
[0] = args
;
17426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17427 if (!SWIG_IsOK(res1
)) {
17428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17430 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17450 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17451 PyObject
*resultobj
= 0;
17452 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17456 PyObject
*swig_obj
[1] ;
17458 if (!args
) SWIG_fail
;
17459 swig_obj
[0] = args
;
17460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17461 if (!SWIG_IsOK(res1
)) {
17462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17464 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17484 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17485 PyObject
*resultobj
= 0;
17486 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17490 PyObject
*swig_obj
[1] ;
17492 if (!args
) SWIG_fail
;
17493 swig_obj
[0] = args
;
17494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17495 if (!SWIG_IsOK(res1
)) {
17496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17498 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17518 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17519 PyObject
*resultobj
= 0;
17520 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17524 PyObject
*swig_obj
[1] ;
17526 if (!args
) SWIG_fail
;
17527 swig_obj
[0] = args
;
17528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17529 if (!SWIG_IsOK(res1
)) {
17530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17532 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17552 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17553 PyObject
*resultobj
= 0;
17554 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17558 PyObject
*swig_obj
[1] ;
17560 if (!args
) SWIG_fail
;
17561 swig_obj
[0] = args
;
17562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17563 if (!SWIG_IsOK(res1
)) {
17564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17566 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 resultobj
= SWIG_From_int(static_cast< int >(result
));
17580 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17581 PyObject
*resultobj
= 0;
17582 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17583 PyObject
*result
= 0 ;
17586 PyObject
*swig_obj
[1] ;
17588 if (!args
) SWIG_fail
;
17589 swig_obj
[0] = args
;
17590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17591 if (!SWIG_IsOK(res1
)) {
17592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17594 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 resultobj
= result
;
17608 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17609 PyObject
*resultobj
= 0;
17610 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17611 PyObject
*result
= 0 ;
17614 PyObject
*swig_obj
[1] ;
17616 if (!args
) SWIG_fail
;
17617 swig_obj
[0] = args
;
17618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17619 if (!SWIG_IsOK(res1
)) {
17620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17622 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= result
;
17636 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17639 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17640 return SWIG_Py_Void();
17643 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17644 return SWIG_Python_InitShadowInstance(args
);
17647 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
= 0;
17649 wxWindow
*arg1
= (wxWindow
*) 0 ;
17650 wxString
*arg2
= 0 ;
17651 wxString
*arg3
= 0 ;
17652 int arg4
= (int) 0 ;
17653 wxString
*arg5
= (wxString
*) NULL
;
17654 long arg6
= (long) wxCHOICEDLG_STYLE
;
17655 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17656 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17657 wxMultiChoiceDialog
*result
= 0 ;
17660 bool temp2
= false ;
17661 bool temp3
= false ;
17665 PyObject
* obj0
= 0 ;
17666 PyObject
* obj1
= 0 ;
17667 PyObject
* obj2
= 0 ;
17668 PyObject
* obj3
= 0 ;
17669 PyObject
* obj4
= 0 ;
17670 PyObject
* obj5
= 0 ;
17671 char * kwnames
[] = {
17672 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17677 if (!SWIG_IsOK(res1
)) {
17678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17680 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17682 arg2
= wxString_in_helper(obj1
);
17683 if (arg2
== NULL
) SWIG_fail
;
17687 arg3
= wxString_in_helper(obj2
);
17688 if (arg3
== NULL
) SWIG_fail
;
17693 arg4
= PyList_Size(obj3
);
17694 arg5
= wxString_LIST_helper(obj3
);
17695 if (arg5
== NULL
) SWIG_fail
;
17699 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17700 if (!SWIG_IsOK(ecode6
)) {
17701 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17703 arg6
= static_cast< long >(val6
);
17708 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17712 if (!wxPyCheckForApp()) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17728 if (arg5
) delete [] arg5
;
17741 if (arg5
) delete [] arg5
;
17747 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17748 PyObject
*resultobj
= 0;
17749 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17750 wxArrayInt
*arg2
= 0 ;
17753 bool temp2
= false ;
17754 PyObject
* obj0
= 0 ;
17755 PyObject
* obj1
= 0 ;
17756 char * kwnames
[] = {
17757 (char *) "self",(char *) "selections", NULL
17760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17762 if (!SWIG_IsOK(res1
)) {
17763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17765 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17767 if (! PySequence_Check(obj1
)) {
17768 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17771 arg2
= new wxArrayInt
;
17773 int i
, len
=PySequence_Length(obj1
);
17774 for (i
=0; i
<len
; i
++) {
17775 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17776 PyObject
* number
= PyNumber_Int(item
);
17777 arg2
->Add(PyInt_AS_LONG(number
));
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= SWIG_Py_Void();
17790 if (temp2
) delete arg2
;
17795 if (temp2
) delete arg2
;
17801 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17802 PyObject
*resultobj
= 0;
17803 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17804 PyObject
*result
= 0 ;
17807 PyObject
*swig_obj
[1] ;
17809 if (!args
) SWIG_fail
;
17810 swig_obj
[0] = args
;
17811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17812 if (!SWIG_IsOK(res1
)) {
17813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17815 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= result
;
17829 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17832 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17833 return SWIG_Py_Void();
17836 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17837 return SWIG_Python_InitShadowInstance(args
);
17840 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17841 PyObject
*resultobj
= 0;
17842 wxWindow
*arg1
= (wxWindow
*) 0 ;
17843 wxString
*arg2
= 0 ;
17844 wxString
*arg3
= 0 ;
17846 wxString
*arg5
= (wxString
*) 0 ;
17847 long arg6
= (long) wxCHOICEDLG_STYLE
;
17848 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17849 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17850 wxSingleChoiceDialog
*result
= 0 ;
17853 bool temp2
= false ;
17854 bool temp3
= false ;
17858 PyObject
* obj0
= 0 ;
17859 PyObject
* obj1
= 0 ;
17860 PyObject
* obj2
= 0 ;
17861 PyObject
* obj3
= 0 ;
17862 PyObject
* obj4
= 0 ;
17863 PyObject
* obj5
= 0 ;
17864 char * kwnames
[] = {
17865 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17870 if (!SWIG_IsOK(res1
)) {
17871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17873 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17875 arg2
= wxString_in_helper(obj1
);
17876 if (arg2
== NULL
) SWIG_fail
;
17880 arg3
= wxString_in_helper(obj2
);
17881 if (arg3
== NULL
) SWIG_fail
;
17885 arg4
= PyList_Size(obj3
);
17886 arg5
= wxString_LIST_helper(obj3
);
17887 if (arg5
== NULL
) SWIG_fail
;
17890 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17891 if (!SWIG_IsOK(ecode6
)) {
17892 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17894 arg6
= static_cast< long >(val6
);
17899 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17903 if (!wxPyCheckForApp()) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17919 if (arg5
) delete [] arg5
;
17932 if (arg5
) delete [] arg5
;
17938 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17939 PyObject
*resultobj
= 0;
17940 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17944 PyObject
*swig_obj
[1] ;
17946 if (!args
) SWIG_fail
;
17947 swig_obj
[0] = args
;
17948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17952 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 result
= (int)(arg1
)->GetSelection();
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= SWIG_From_int(static_cast< int >(result
));
17966 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17967 PyObject
*resultobj
= 0;
17968 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17972 PyObject
*swig_obj
[1] ;
17974 if (!args
) SWIG_fail
;
17975 swig_obj
[0] = args
;
17976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17977 if (!SWIG_IsOK(res1
)) {
17978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17980 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= (arg1
)->GetStringSelection();
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18000 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18001 PyObject
*resultobj
= 0;
18002 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18008 PyObject
* obj0
= 0 ;
18009 PyObject
* obj1
= 0 ;
18010 char * kwnames
[] = {
18011 (char *) "self",(char *) "sel", NULL
18014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18016 if (!SWIG_IsOK(res1
)) {
18017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18019 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18021 if (!SWIG_IsOK(ecode2
)) {
18022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18024 arg2
= static_cast< int >(val2
);
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 (arg1
)->SetSelection(arg2
);
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 resultobj
= SWIG_Py_Void();
18038 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18041 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18042 return SWIG_Py_Void();
18045 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18046 return SWIG_Python_InitShadowInstance(args
);
18049 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
= 0;
18051 wxWindow
*arg1
= (wxWindow
*) 0 ;
18052 wxString
*arg2
= 0 ;
18053 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18054 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18055 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18056 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18057 long arg5
= (long) wxTextEntryDialogStyle
;
18058 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18059 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18060 wxTextEntryDialog
*result
= 0 ;
18063 bool temp2
= false ;
18064 bool temp3
= false ;
18065 bool temp4
= false ;
18069 PyObject
* obj0
= 0 ;
18070 PyObject
* obj1
= 0 ;
18071 PyObject
* obj2
= 0 ;
18072 PyObject
* obj3
= 0 ;
18073 PyObject
* obj4
= 0 ;
18074 PyObject
* obj5
= 0 ;
18075 char * kwnames
[] = {
18076 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18081 if (!SWIG_IsOK(res1
)) {
18082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18084 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18086 arg2
= wxString_in_helper(obj1
);
18087 if (arg2
== NULL
) SWIG_fail
;
18092 arg3
= wxString_in_helper(obj2
);
18093 if (arg3
== NULL
) SWIG_fail
;
18099 arg4
= wxString_in_helper(obj3
);
18100 if (arg4
== NULL
) SWIG_fail
;
18105 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18106 if (!SWIG_IsOK(ecode5
)) {
18107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18109 arg5
= static_cast< long >(val5
);
18114 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18118 if (!wxPyCheckForApp()) SWIG_fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18155 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18156 PyObject
*resultobj
= 0;
18157 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18161 PyObject
*swig_obj
[1] ;
18163 if (!args
) SWIG_fail
;
18164 swig_obj
[0] = args
;
18165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18166 if (!SWIG_IsOK(res1
)) {
18167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18169 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 result
= (arg1
)->GetValue();
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18189 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
= 0;
18191 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18192 wxString
*arg2
= 0 ;
18195 bool temp2
= false ;
18196 PyObject
* obj0
= 0 ;
18197 PyObject
* obj1
= 0 ;
18198 char * kwnames
[] = {
18199 (char *) "self",(char *) "value", NULL
18202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18204 if (!SWIG_IsOK(res1
)) {
18205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18207 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18209 arg2
= wxString_in_helper(obj1
);
18210 if (arg2
== NULL
) SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 (arg1
)->SetValue((wxString
const &)*arg2
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= SWIG_Py_Void();
18234 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18237 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18238 return SWIG_Py_Void();
18241 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18242 return SWIG_Python_InitShadowInstance(args
);
18245 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18246 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18251 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18252 PyObject
*pyobj
= 0;
18256 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18258 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18265 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
= 0;
18267 wxWindow
*arg1
= (wxWindow
*) 0 ;
18268 wxString
*arg2
= 0 ;
18269 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18270 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18271 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18272 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18273 long arg5
= (long) wxTextEntryDialogStyle
;
18274 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18275 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18276 wxPasswordEntryDialog
*result
= 0 ;
18279 bool temp2
= false ;
18280 bool temp3
= false ;
18281 bool temp4
= false ;
18285 PyObject
* obj0
= 0 ;
18286 PyObject
* obj1
= 0 ;
18287 PyObject
* obj2
= 0 ;
18288 PyObject
* obj3
= 0 ;
18289 PyObject
* obj4
= 0 ;
18290 PyObject
* obj5
= 0 ;
18291 char * kwnames
[] = {
18292 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18297 if (!SWIG_IsOK(res1
)) {
18298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18300 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18302 arg2
= wxString_in_helper(obj1
);
18303 if (arg2
== NULL
) SWIG_fail
;
18308 arg3
= wxString_in_helper(obj2
);
18309 if (arg3
== NULL
) SWIG_fail
;
18315 arg4
= wxString_in_helper(obj3
);
18316 if (arg4
== NULL
) SWIG_fail
;
18321 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18322 if (!SWIG_IsOK(ecode5
)) {
18323 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18325 arg5
= static_cast< long >(val5
);
18330 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18370 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18373 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18374 return SWIG_Py_Void();
18377 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18378 return SWIG_Python_InitShadowInstance(args
);
18381 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
= 0;
18383 wxWindow
*arg1
= (wxWindow
*) 0 ;
18384 wxString
*arg2
= 0 ;
18385 wxString
*arg3
= 0 ;
18386 wxString
*arg4
= 0 ;
18390 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18391 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18392 wxNumberEntryDialog
*result
= 0 ;
18395 bool temp2
= false ;
18396 bool temp3
= false ;
18397 bool temp4
= false ;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 PyObject
* obj2
= 0 ;
18408 PyObject
* obj3
= 0 ;
18409 PyObject
* obj4
= 0 ;
18410 PyObject
* obj5
= 0 ;
18411 PyObject
* obj6
= 0 ;
18412 PyObject
* obj7
= 0 ;
18413 char * kwnames
[] = {
18414 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18419 if (!SWIG_IsOK(res1
)) {
18420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18422 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18424 arg2
= wxString_in_helper(obj1
);
18425 if (arg2
== NULL
) SWIG_fail
;
18429 arg3
= wxString_in_helper(obj2
);
18430 if (arg3
== NULL
) SWIG_fail
;
18434 arg4
= wxString_in_helper(obj3
);
18435 if (arg4
== NULL
) SWIG_fail
;
18438 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18439 if (!SWIG_IsOK(ecode5
)) {
18440 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18442 arg5
= static_cast< long >(val5
);
18443 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18444 if (!SWIG_IsOK(ecode6
)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18447 arg6
= static_cast< long >(val6
);
18448 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18449 if (!SWIG_IsOK(ecode7
)) {
18450 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18452 arg7
= static_cast< long >(val7
);
18456 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18460 if (!wxPyCheckForApp()) SWIG_fail
;
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18497 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18498 PyObject
*resultobj
= 0;
18499 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18503 PyObject
*swig_obj
[1] ;
18505 if (!args
) SWIG_fail
;
18506 swig_obj
[0] = args
;
18507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18508 if (!SWIG_IsOK(res1
)) {
18509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18511 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 result
= (long)(arg1
)->GetValue();
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= SWIG_From_long(static_cast< long >(result
));
18525 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18528 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18529 return SWIG_Py_Void();
18532 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18533 return SWIG_Python_InitShadowInstance(args
);
18536 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18537 PyObject
*resultobj
= 0;
18538 wxFontData
*result
= 0 ;
18540 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= (wxFontData
*)new wxFontData();
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18554 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18555 PyObject
*resultobj
= 0;
18556 wxFontData
*arg1
= (wxFontData
*) 0 ;
18559 PyObject
*swig_obj
[1] ;
18561 if (!args
) SWIG_fail
;
18562 swig_obj
[0] = args
;
18563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18564 if (!SWIG_IsOK(res1
)) {
18565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18567 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= SWIG_Py_Void();
18582 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
= 0;
18584 wxFontData
*arg1
= (wxFontData
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 char * kwnames
[] = {
18593 (char *) "self",(char *) "enable", NULL
18596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18598 if (!SWIG_IsOK(res1
)) {
18599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18601 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18602 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18603 if (!SWIG_IsOK(ecode2
)) {
18604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18606 arg2
= static_cast< bool >(val2
);
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 (arg1
)->EnableEffects(arg2
);
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_Py_Void();
18620 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18621 PyObject
*resultobj
= 0;
18622 wxFontData
*arg1
= (wxFontData
*) 0 ;
18626 PyObject
*swig_obj
[1] ;
18628 if (!args
) SWIG_fail
;
18629 swig_obj
[0] = args
;
18630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18631 if (!SWIG_IsOK(res1
)) {
18632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18634 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (bool)(arg1
)->GetAllowSymbols();
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18650 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18651 PyObject
*resultobj
= 0;
18652 wxFontData
*arg1
= (wxFontData
*) 0 ;
18656 PyObject
*swig_obj
[1] ;
18658 if (!args
) SWIG_fail
;
18659 swig_obj
[0] = args
;
18660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18661 if (!SWIG_IsOK(res1
)) {
18662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18664 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= (arg1
)->GetColour();
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18678 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18679 PyObject
*resultobj
= 0;
18680 wxFontData
*arg1
= (wxFontData
*) 0 ;
18684 PyObject
*swig_obj
[1] ;
18686 if (!args
) SWIG_fail
;
18687 swig_obj
[0] = args
;
18688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18689 if (!SWIG_IsOK(res1
)) {
18690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18692 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (arg1
)->GetChosenFont();
18696 wxPyEndAllowThreads(__tstate
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18699 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18706 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18707 PyObject
*resultobj
= 0;
18708 wxFontData
*arg1
= (wxFontData
*) 0 ;
18712 PyObject
*swig_obj
[1] ;
18714 if (!args
) SWIG_fail
;
18715 swig_obj
[0] = args
;
18716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18717 if (!SWIG_IsOK(res1
)) {
18718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18720 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 result
= (bool)(arg1
)->GetEnableEffects();
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18736 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18737 PyObject
*resultobj
= 0;
18738 wxFontData
*arg1
= (wxFontData
*) 0 ;
18742 PyObject
*swig_obj
[1] ;
18744 if (!args
) SWIG_fail
;
18745 swig_obj
[0] = args
;
18746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18747 if (!SWIG_IsOK(res1
)) {
18748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18750 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 result
= (arg1
)->GetInitialFont();
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18764 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18765 PyObject
*resultobj
= 0;
18766 wxFontData
*arg1
= (wxFontData
*) 0 ;
18770 PyObject
*swig_obj
[1] ;
18772 if (!args
) SWIG_fail
;
18773 swig_obj
[0] = args
;
18774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18775 if (!SWIG_IsOK(res1
)) {
18776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18778 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 result
= (bool)(arg1
)->GetShowHelp();
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18794 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
= 0;
18796 wxFontData
*arg1
= (wxFontData
*) 0 ;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 char * kwnames
[] = {
18805 (char *) "self",(char *) "allowSymbols", NULL
18808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18810 if (!SWIG_IsOK(res1
)) {
18811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18813 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18814 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18815 if (!SWIG_IsOK(ecode2
)) {
18816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18818 arg2
= static_cast< bool >(val2
);
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 (arg1
)->SetAllowSymbols(arg2
);
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18825 resultobj
= SWIG_Py_Void();
18832 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
= 0;
18834 wxFontData
*arg1
= (wxFontData
*) 0 ;
18840 PyObject
* obj0
= 0 ;
18841 PyObject
* obj1
= 0 ;
18842 char * kwnames
[] = {
18843 (char *) "self",(char *) "font", NULL
18846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18848 if (!SWIG_IsOK(res1
)) {
18849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18851 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18853 if (!SWIG_IsOK(res2
)) {
18854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18859 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= SWIG_Py_Void();
18873 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
= 0;
18875 wxFontData
*arg1
= (wxFontData
*) 0 ;
18876 wxColour
*arg2
= 0 ;
18880 PyObject
* obj0
= 0 ;
18881 PyObject
* obj1
= 0 ;
18882 char * kwnames
[] = {
18883 (char *) "self",(char *) "colour", NULL
18886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18888 if (!SWIG_IsOK(res1
)) {
18889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18891 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18898 (arg1
)->SetColour((wxColour
const &)*arg2
);
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18902 resultobj
= SWIG_Py_Void();
18909 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
= 0;
18911 wxFontData
*arg1
= (wxFontData
*) 0 ;
18917 PyObject
* obj0
= 0 ;
18918 PyObject
* obj1
= 0 ;
18919 char * kwnames
[] = {
18920 (char *) "self",(char *) "font", NULL
18923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18925 if (!SWIG_IsOK(res1
)) {
18926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18928 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18929 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18930 if (!SWIG_IsOK(res2
)) {
18931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18936 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 resultobj
= SWIG_Py_Void();
18950 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
= 0;
18952 wxFontData
*arg1
= (wxFontData
*) 0 ;
18961 PyObject
* obj0
= 0 ;
18962 PyObject
* obj1
= 0 ;
18963 PyObject
* obj2
= 0 ;
18964 char * kwnames
[] = {
18965 (char *) "self",(char *) "min",(char *) "max", NULL
18968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18970 if (!SWIG_IsOK(res1
)) {
18971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18973 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18975 if (!SWIG_IsOK(ecode2
)) {
18976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18978 arg2
= static_cast< int >(val2
);
18979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18980 if (!SWIG_IsOK(ecode3
)) {
18981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18983 arg3
= static_cast< int >(val3
);
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 (arg1
)->SetRange(arg2
,arg3
);
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 resultobj
= SWIG_Py_Void();
18997 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18998 PyObject
*resultobj
= 0;
18999 wxFontData
*arg1
= (wxFontData
*) 0 ;
19005 PyObject
* obj0
= 0 ;
19006 PyObject
* obj1
= 0 ;
19007 char * kwnames
[] = {
19008 (char *) "self",(char *) "showHelp", NULL
19011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19013 if (!SWIG_IsOK(res1
)) {
19014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19016 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19017 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19018 if (!SWIG_IsOK(ecode2
)) {
19019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19021 arg2
= static_cast< bool >(val2
);
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 (arg1
)->SetShowHelp(arg2
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= SWIG_Py_Void();
19035 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19038 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19039 return SWIG_Py_Void();
19042 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19043 return SWIG_Python_InitShadowInstance(args
);
19046 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
= 0;
19048 wxWindow
*arg1
= (wxWindow
*) 0 ;
19049 wxFontData
*arg2
= 0 ;
19050 wxFontDialog
*result
= 0 ;
19055 PyObject
* obj0
= 0 ;
19056 PyObject
* obj1
= 0 ;
19057 char * kwnames
[] = {
19058 (char *) "parent",(char *) "data", NULL
19061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19063 if (!SWIG_IsOK(res1
)) {
19064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19066 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19068 if (!SWIG_IsOK(res2
)) {
19069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19074 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19076 if (!wxPyCheckForApp()) SWIG_fail
;
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19089 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19090 PyObject
*resultobj
= 0;
19091 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19092 wxFontData
*result
= 0 ;
19095 PyObject
*swig_obj
[1] ;
19097 if (!args
) SWIG_fail
;
19098 swig_obj
[0] = args
;
19099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19100 if (!SWIG_IsOK(res1
)) {
19101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19103 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19107 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19108 result
= (wxFontData
*) &_result_ref
;
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19120 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19123 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19124 return SWIG_Py_Void();
19127 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19128 return SWIG_Python_InitShadowInstance(args
);
19131 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
= 0;
19133 wxWindow
*arg1
= (wxWindow
*) NULL
;
19134 wxFont
const &arg2_defvalue
= wxNullFont
;
19135 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19136 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19137 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19143 bool temp3
= false ;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 PyObject
* obj2
= 0 ;
19147 char * kwnames
[] = {
19148 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19154 if (!SWIG_IsOK(res1
)) {
19155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19157 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19161 if (!SWIG_IsOK(res2
)) {
19162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19167 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19171 arg3
= wxString_in_helper(obj2
);
19172 if (arg3
== NULL
) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19197 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
= 0;
19199 wxWindow
*arg1
= (wxWindow
*) 0 ;
19200 wxString
*arg2
= 0 ;
19201 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19202 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19203 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19204 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19205 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19206 wxMessageDialog
*result
= 0 ;
19209 bool temp2
= false ;
19210 bool temp3
= false ;
19214 PyObject
* obj0
= 0 ;
19215 PyObject
* obj1
= 0 ;
19216 PyObject
* obj2
= 0 ;
19217 PyObject
* obj3
= 0 ;
19218 PyObject
* obj4
= 0 ;
19219 char * kwnames
[] = {
19220 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19225 if (!SWIG_IsOK(res1
)) {
19226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19228 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19230 arg2
= wxString_in_helper(obj1
);
19231 if (arg2
== NULL
) SWIG_fail
;
19236 arg3
= wxString_in_helper(obj2
);
19237 if (arg3
== NULL
) SWIG_fail
;
19242 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19243 if (!SWIG_IsOK(ecode4
)) {
19244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19246 arg4
= static_cast< long >(val4
);
19251 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19255 if (!wxPyCheckForApp()) SWIG_fail
;
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19284 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19287 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19288 return SWIG_Py_Void();
19291 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19292 return SWIG_Python_InitShadowInstance(args
);
19295 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
= 0;
19297 wxString
*arg1
= 0 ;
19298 wxString
*arg2
= 0 ;
19299 int arg3
= (int) 100 ;
19300 wxWindow
*arg4
= (wxWindow
*) NULL
;
19301 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19302 wxProgressDialog
*result
= 0 ;
19303 bool temp1
= false ;
19304 bool temp2
= false ;
19311 PyObject
* obj0
= 0 ;
19312 PyObject
* obj1
= 0 ;
19313 PyObject
* obj2
= 0 ;
19314 PyObject
* obj3
= 0 ;
19315 PyObject
* obj4
= 0 ;
19316 char * kwnames
[] = {
19317 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19322 arg1
= wxString_in_helper(obj0
);
19323 if (arg1
== NULL
) SWIG_fail
;
19327 arg2
= wxString_in_helper(obj1
);
19328 if (arg2
== NULL
) SWIG_fail
;
19332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19333 if (!SWIG_IsOK(ecode3
)) {
19334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19336 arg3
= static_cast< int >(val3
);
19339 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19340 if (!SWIG_IsOK(res4
)) {
19341 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19343 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19346 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19347 if (!SWIG_IsOK(ecode5
)) {
19348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19350 arg5
= static_cast< int >(val5
);
19353 if (!wxPyCheckForApp()) SWIG_fail
;
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19382 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
= 0;
19384 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19386 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19387 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19388 bool *arg4
= (bool *) 0 ;
19394 bool temp3
= false ;
19396 int res4
= SWIG_TMPOBJ
;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 PyObject
* obj2
= 0 ;
19400 char * kwnames
[] = {
19401 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19407 if (!SWIG_IsOK(res1
)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19410 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19412 if (!SWIG_IsOK(ecode2
)) {
19413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19415 arg2
= static_cast< int >(val2
);
19418 arg3
= wxString_in_helper(obj2
);
19419 if (arg3
== NULL
) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19432 if (SWIG_IsTmpObj(res4
)) {
19433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19435 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19436 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19452 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
= 0;
19454 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19455 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19456 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19457 bool *arg3
= (bool *) 0 ;
19461 bool temp2
= false ;
19463 int res3
= SWIG_TMPOBJ
;
19464 PyObject
* obj0
= 0 ;
19465 PyObject
* obj1
= 0 ;
19466 char * kwnames
[] = {
19467 (char *) "self",(char *) "newmsg", NULL
19471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19473 if (!SWIG_IsOK(res1
)) {
19474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19476 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19479 arg2
= wxString_in_helper(obj1
);
19480 if (arg2
== NULL
) SWIG_fail
;
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19493 if (SWIG_IsTmpObj(res3
)) {
19494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19496 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19513 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19514 PyObject
*resultobj
= 0;
19515 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19518 PyObject
*swig_obj
[1] ;
19520 if (!args
) SWIG_fail
;
19521 swig_obj
[0] = args
;
19522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19523 if (!SWIG_IsOK(res1
)) {
19524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19526 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 wxPyEndAllowThreads(__tstate
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19533 resultobj
= SWIG_Py_Void();
19540 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19543 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19544 return SWIG_Py_Void();
19547 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19548 return SWIG_Python_InitShadowInstance(args
);
19551 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19552 PyObject
*resultobj
= 0;
19553 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19554 int arg2
= (int) 0 ;
19555 wxFindDialogEvent
*result
= 0 ;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 char * kwnames
[] = {
19563 (char *) "commandType",(char *) "id", NULL
19566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19568 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19569 if (!SWIG_IsOK(ecode1
)) {
19570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19572 arg1
= static_cast< wxEventType
>(val1
);
19575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19576 if (!SWIG_IsOK(ecode2
)) {
19577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19579 arg2
= static_cast< int >(val2
);
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19594 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19595 PyObject
*resultobj
= 0;
19596 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19600 PyObject
*swig_obj
[1] ;
19602 if (!args
) SWIG_fail
;
19603 swig_obj
[0] = args
;
19604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19605 if (!SWIG_IsOK(res1
)) {
19606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19608 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 result
= (int)(arg1
)->GetFlags();
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= SWIG_From_int(static_cast< int >(result
));
19622 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19623 PyObject
*resultobj
= 0;
19624 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19625 wxString
*result
= 0 ;
19628 PyObject
*swig_obj
[1] ;
19630 if (!args
) SWIG_fail
;
19631 swig_obj
[0] = args
;
19632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19633 if (!SWIG_IsOK(res1
)) {
19634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19636 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 wxString
const &_result_ref
= (arg1
)->GetFindString();
19641 result
= (wxString
*) &_result_ref
;
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19648 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19650 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19659 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19660 PyObject
*resultobj
= 0;
19661 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19662 wxString
*result
= 0 ;
19665 PyObject
*swig_obj
[1] ;
19667 if (!args
) SWIG_fail
;
19668 swig_obj
[0] = args
;
19669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19670 if (!SWIG_IsOK(res1
)) {
19671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19673 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19678 result
= (wxString
*) &_result_ref
;
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19685 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19687 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19696 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19697 PyObject
*resultobj
= 0;
19698 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19699 wxFindReplaceDialog
*result
= 0 ;
19702 PyObject
*swig_obj
[1] ;
19704 if (!args
) SWIG_fail
;
19705 swig_obj
[0] = args
;
19706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19707 if (!SWIG_IsOK(res1
)) {
19708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19710 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19724 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
= 0;
19726 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19732 PyObject
* obj0
= 0 ;
19733 PyObject
* obj1
= 0 ;
19734 char * kwnames
[] = {
19735 (char *) "self",(char *) "flags", NULL
19738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19740 if (!SWIG_IsOK(res1
)) {
19741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19743 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19745 if (!SWIG_IsOK(ecode2
)) {
19746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19748 arg2
= static_cast< int >(val2
);
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19751 (arg1
)->SetFlags(arg2
);
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19755 resultobj
= SWIG_Py_Void();
19762 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
= 0;
19764 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19765 wxString
*arg2
= 0 ;
19768 bool temp2
= false ;
19769 PyObject
* obj0
= 0 ;
19770 PyObject
* obj1
= 0 ;
19771 char * kwnames
[] = {
19772 (char *) "self",(char *) "str", NULL
19775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19777 if (!SWIG_IsOK(res1
)) {
19778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19780 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19782 arg2
= wxString_in_helper(obj1
);
19783 if (arg2
== NULL
) SWIG_fail
;
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 (arg1
)->SetFindString((wxString
const &)*arg2
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= SWIG_Py_Void();
19807 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
= 0;
19809 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19810 wxString
*arg2
= 0 ;
19813 bool temp2
= false ;
19814 PyObject
* obj0
= 0 ;
19815 PyObject
* obj1
= 0 ;
19816 char * kwnames
[] = {
19817 (char *) "self",(char *) "str", NULL
19820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19822 if (!SWIG_IsOK(res1
)) {
19823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19825 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19827 arg2
= wxString_in_helper(obj1
);
19828 if (arg2
== NULL
) SWIG_fail
;
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= SWIG_Py_Void();
19852 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19855 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19856 return SWIG_Py_Void();
19859 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19860 return SWIG_Python_InitShadowInstance(args
);
19863 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
= 0;
19865 int arg1
= (int) 0 ;
19866 wxFindReplaceData
*result
= 0 ;
19869 PyObject
* obj0
= 0 ;
19870 char * kwnames
[] = {
19871 (char *) "flags", NULL
19874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19876 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19877 if (!SWIG_IsOK(ecode1
)) {
19878 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19880 arg1
= static_cast< int >(val1
);
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19895 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19896 PyObject
*resultobj
= 0;
19897 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19900 PyObject
*swig_obj
[1] ;
19902 if (!args
) SWIG_fail
;
19903 swig_obj
[0] = args
;
19904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19905 if (!SWIG_IsOK(res1
)) {
19906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19908 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= SWIG_Py_Void();
19923 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19924 PyObject
*resultobj
= 0;
19925 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19926 wxString
*result
= 0 ;
19929 PyObject
*swig_obj
[1] ;
19931 if (!args
) SWIG_fail
;
19932 swig_obj
[0] = args
;
19933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19934 if (!SWIG_IsOK(res1
)) {
19935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19937 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 wxString
const &_result_ref
= (arg1
)->GetFindString();
19942 result
= (wxString
*) &_result_ref
;
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19949 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19951 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19960 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19961 PyObject
*resultobj
= 0;
19962 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19963 wxString
*result
= 0 ;
19966 PyObject
*swig_obj
[1] ;
19968 if (!args
) SWIG_fail
;
19969 swig_obj
[0] = args
;
19970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19971 if (!SWIG_IsOK(res1
)) {
19972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19974 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19979 result
= (wxString
*) &_result_ref
;
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19988 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19997 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19998 PyObject
*resultobj
= 0;
19999 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20003 PyObject
*swig_obj
[1] ;
20005 if (!args
) SWIG_fail
;
20006 swig_obj
[0] = args
;
20007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20008 if (!SWIG_IsOK(res1
)) {
20009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20011 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 result
= (int)(arg1
)->GetFlags();
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20018 resultobj
= SWIG_From_int(static_cast< int >(result
));
20025 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20026 PyObject
*resultobj
= 0;
20027 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 char * kwnames
[] = {
20036 (char *) "self",(char *) "flags", NULL
20039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20041 if (!SWIG_IsOK(res1
)) {
20042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20044 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20046 if (!SWIG_IsOK(ecode2
)) {
20047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20049 arg2
= static_cast< int >(val2
);
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 (arg1
)->SetFlags(arg2
);
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20056 resultobj
= SWIG_Py_Void();
20063 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
= 0;
20065 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20066 wxString
*arg2
= 0 ;
20069 bool temp2
= false ;
20070 PyObject
* obj0
= 0 ;
20071 PyObject
* obj1
= 0 ;
20072 char * kwnames
[] = {
20073 (char *) "self",(char *) "str", NULL
20076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20078 if (!SWIG_IsOK(res1
)) {
20079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20081 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20083 arg2
= wxString_in_helper(obj1
);
20084 if (arg2
== NULL
) SWIG_fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 (arg1
)->SetFindString((wxString
const &)*arg2
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 resultobj
= SWIG_Py_Void();
20108 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
= 0;
20110 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20111 wxString
*arg2
= 0 ;
20114 bool temp2
= false ;
20115 PyObject
* obj0
= 0 ;
20116 PyObject
* obj1
= 0 ;
20117 char * kwnames
[] = {
20118 (char *) "self",(char *) "str", NULL
20121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20123 if (!SWIG_IsOK(res1
)) {
20124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20126 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20128 arg2
= wxString_in_helper(obj1
);
20129 if (arg2
== NULL
) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 resultobj
= SWIG_Py_Void();
20153 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20156 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20157 return SWIG_Py_Void();
20160 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20161 return SWIG_Python_InitShadowInstance(args
);
20164 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
= 0;
20166 wxWindow
*arg1
= (wxWindow
*) 0 ;
20167 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20168 wxString
*arg3
= 0 ;
20169 int arg4
= (int) 0 ;
20170 wxFindReplaceDialog
*result
= 0 ;
20175 bool temp3
= false ;
20178 PyObject
* obj0
= 0 ;
20179 PyObject
* obj1
= 0 ;
20180 PyObject
* obj2
= 0 ;
20181 PyObject
* obj3
= 0 ;
20182 char * kwnames
[] = {
20183 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20188 if (!SWIG_IsOK(res1
)) {
20189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20191 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20193 if (!SWIG_IsOK(res2
)) {
20194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20196 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20198 arg3
= wxString_in_helper(obj2
);
20199 if (arg3
== NULL
) SWIG_fail
;
20203 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20204 if (!SWIG_IsOK(ecode4
)) {
20205 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20207 arg4
= static_cast< int >(val4
);
20210 if (!wxPyCheckForApp()) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20231 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20232 PyObject
*resultobj
= 0;
20233 wxFindReplaceDialog
*result
= 0 ;
20235 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20237 if (!wxPyCheckForApp()) SWIG_fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20250 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
= 0;
20252 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20253 wxWindow
*arg2
= (wxWindow
*) 0 ;
20254 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20255 wxString
*arg4
= 0 ;
20256 int arg5
= (int) 0 ;
20264 bool temp4
= false ;
20267 PyObject
* obj0
= 0 ;
20268 PyObject
* obj1
= 0 ;
20269 PyObject
* obj2
= 0 ;
20270 PyObject
* obj3
= 0 ;
20271 PyObject
* obj4
= 0 ;
20272 char * kwnames
[] = {
20273 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20278 if (!SWIG_IsOK(res1
)) {
20279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20281 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20283 if (!SWIG_IsOK(res2
)) {
20284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20286 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20287 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20288 if (!SWIG_IsOK(res3
)) {
20289 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20291 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20293 arg4
= wxString_in_helper(obj3
);
20294 if (arg4
== NULL
) SWIG_fail
;
20298 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20299 if (!SWIG_IsOK(ecode5
)) {
20300 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20302 arg5
= static_cast< int >(val5
);
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20327 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20328 PyObject
*resultobj
= 0;
20329 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20330 wxFindReplaceData
*result
= 0 ;
20333 PyObject
*swig_obj
[1] ;
20335 if (!args
) SWIG_fail
;
20336 swig_obj
[0] = args
;
20337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20338 if (!SWIG_IsOK(res1
)) {
20339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20341 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20355 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20356 PyObject
*resultobj
= 0;
20357 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20358 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 char * kwnames
[] = {
20366 (char *) "self",(char *) "data", NULL
20369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20371 if (!SWIG_IsOK(res1
)) {
20372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20374 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20376 if (!SWIG_IsOK(res2
)) {
20377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20379 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 (arg1
)->SetData(arg2
);
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20386 resultobj
= SWIG_Py_Void();
20393 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20396 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20397 return SWIG_Py_Void();
20400 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20401 return SWIG_Python_InitShadowInstance(args
);
20404 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
= 0;
20406 wxWindow
*arg1
= (wxWindow
*) 0 ;
20407 int arg2
= (int) (int)-1 ;
20408 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20409 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20410 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20411 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20412 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20413 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20414 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20415 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20416 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20417 wxMDIParentFrame
*result
= 0 ;
20422 bool temp3
= false ;
20427 bool temp7
= false ;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 PyObject
* obj2
= 0 ;
20431 PyObject
* obj3
= 0 ;
20432 PyObject
* obj4
= 0 ;
20433 PyObject
* obj5
= 0 ;
20434 PyObject
* obj6
= 0 ;
20435 char * kwnames
[] = {
20436 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20441 if (!SWIG_IsOK(res1
)) {
20442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20444 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20447 if (!SWIG_IsOK(ecode2
)) {
20448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20450 arg2
= static_cast< int >(val2
);
20454 arg3
= wxString_in_helper(obj2
);
20455 if (arg3
== NULL
) SWIG_fail
;
20462 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20468 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20472 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20473 if (!SWIG_IsOK(ecode6
)) {
20474 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20476 arg6
= static_cast< long >(val6
);
20480 arg7
= wxString_in_helper(obj6
);
20481 if (arg7
== NULL
) SWIG_fail
;
20486 if (!wxPyCheckForApp()) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20489 wxPyEndAllowThreads(__tstate
);
20490 if (PyErr_Occurred()) SWIG_fail
;
20492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20515 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20516 PyObject
*resultobj
= 0;
20517 wxMDIParentFrame
*result
= 0 ;
20519 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20521 if (!wxPyCheckForApp()) SWIG_fail
;
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20534 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20535 PyObject
*resultobj
= 0;
20536 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20537 wxWindow
*arg2
= (wxWindow
*) 0 ;
20538 int arg3
= (int) (int)-1 ;
20539 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20540 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20541 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20542 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20543 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20544 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20545 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20546 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20547 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20555 bool temp4
= false ;
20560 bool temp8
= false ;
20561 PyObject
* obj0
= 0 ;
20562 PyObject
* obj1
= 0 ;
20563 PyObject
* obj2
= 0 ;
20564 PyObject
* obj3
= 0 ;
20565 PyObject
* obj4
= 0 ;
20566 PyObject
* obj5
= 0 ;
20567 PyObject
* obj6
= 0 ;
20568 PyObject
* obj7
= 0 ;
20569 char * kwnames
[] = {
20570 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20575 if (!SWIG_IsOK(res1
)) {
20576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20578 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20580 if (!SWIG_IsOK(res2
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20586 if (!SWIG_IsOK(ecode3
)) {
20587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20589 arg3
= static_cast< int >(val3
);
20593 arg4
= wxString_in_helper(obj3
);
20594 if (arg4
== NULL
) SWIG_fail
;
20601 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20607 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20611 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20612 if (!SWIG_IsOK(ecode7
)) {
20613 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20615 arg7
= static_cast< long >(val7
);
20619 arg8
= wxString_in_helper(obj7
);
20620 if (arg8
== NULL
) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20655 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20656 PyObject
*resultobj
= 0;
20657 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20660 PyObject
*swig_obj
[1] ;
20662 if (!args
) SWIG_fail
;
20663 swig_obj
[0] = args
;
20664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20665 if (!SWIG_IsOK(res1
)) {
20666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20668 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 (arg1
)->ActivateNext();
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20675 resultobj
= SWIG_Py_Void();
20682 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20683 PyObject
*resultobj
= 0;
20684 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20687 PyObject
*swig_obj
[1] ;
20689 if (!args
) SWIG_fail
;
20690 swig_obj
[0] = args
;
20691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20692 if (!SWIG_IsOK(res1
)) {
20693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20695 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20698 (arg1
)->ActivatePrevious();
20699 wxPyEndAllowThreads(__tstate
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20702 resultobj
= SWIG_Py_Void();
20709 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20710 PyObject
*resultobj
= 0;
20711 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20714 PyObject
*swig_obj
[1] ;
20716 if (!args
) SWIG_fail
;
20717 swig_obj
[0] = args
;
20718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20719 if (!SWIG_IsOK(res1
)) {
20720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20722 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 (arg1
)->ArrangeIcons();
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20729 resultobj
= SWIG_Py_Void();
20736 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20737 PyObject
*resultobj
= 0;
20738 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20741 PyObject
*swig_obj
[1] ;
20743 if (!args
) SWIG_fail
;
20744 swig_obj
[0] = args
;
20745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20746 if (!SWIG_IsOK(res1
)) {
20747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20749 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_Py_Void();
20763 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20764 PyObject
*resultobj
= 0;
20765 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20766 wxMDIChildFrame
*result
= 0 ;
20769 PyObject
*swig_obj
[1] ;
20771 if (!args
) SWIG_fail
;
20772 swig_obj
[0] = args
;
20773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20774 if (!SWIG_IsOK(res1
)) {
20775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20777 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20780 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20785 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20793 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20794 PyObject
*resultobj
= 0;
20795 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20796 wxMDIClientWindow
*result
= 0 ;
20799 PyObject
*swig_obj
[1] ;
20801 if (!args
) SWIG_fail
;
20802 swig_obj
[0] = args
;
20803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20804 if (!SWIG_IsOK(res1
)) {
20805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20807 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20815 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20823 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20824 PyObject
*resultobj
= 0;
20825 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20826 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20831 PyObject
* obj0
= 0 ;
20832 PyObject
* obj1
= 0 ;
20833 char * kwnames
[] = {
20834 (char *) "self",(char *) "orient", NULL
20837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20839 if (!SWIG_IsOK(res1
)) {
20840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20842 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20845 if (!SWIG_IsOK(ecode2
)) {
20846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20848 arg2
= static_cast< wxOrientation
>(val2
);
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 (arg1
)->Tile(arg2
);
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= SWIG_Py_Void();
20863 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20866 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20867 return SWIG_Py_Void();
20870 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20871 return SWIG_Python_InitShadowInstance(args
);
20874 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
= 0;
20876 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20877 int arg2
= (int) (int)-1 ;
20878 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20879 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20880 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20881 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20882 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20883 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20884 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20885 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20886 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20887 wxMDIChildFrame
*result
= 0 ;
20892 bool temp3
= false ;
20897 bool temp7
= false ;
20898 PyObject
* obj0
= 0 ;
20899 PyObject
* obj1
= 0 ;
20900 PyObject
* obj2
= 0 ;
20901 PyObject
* obj3
= 0 ;
20902 PyObject
* obj4
= 0 ;
20903 PyObject
* obj5
= 0 ;
20904 PyObject
* obj6
= 0 ;
20905 char * kwnames
[] = {
20906 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20911 if (!SWIG_IsOK(res1
)) {
20912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20914 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20917 if (!SWIG_IsOK(ecode2
)) {
20918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20920 arg2
= static_cast< int >(val2
);
20924 arg3
= wxString_in_helper(obj2
);
20925 if (arg3
== NULL
) SWIG_fail
;
20932 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20938 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20942 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20943 if (!SWIG_IsOK(ecode6
)) {
20944 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20946 arg6
= static_cast< long >(val6
);
20950 arg7
= wxString_in_helper(obj6
);
20951 if (arg7
== NULL
) SWIG_fail
;
20956 if (!wxPyCheckForApp()) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20959 wxPyEndAllowThreads(__tstate
);
20960 if (PyErr_Occurred()) SWIG_fail
;
20962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20985 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20986 PyObject
*resultobj
= 0;
20987 wxMDIChildFrame
*result
= 0 ;
20989 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20991 if (!wxPyCheckForApp()) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21004 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21005 PyObject
*resultobj
= 0;
21006 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21007 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21008 int arg3
= (int) (int)-1 ;
21009 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21010 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21011 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21012 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21013 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21014 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21015 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21016 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21017 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21025 bool temp4
= false ;
21030 bool temp8
= false ;
21031 PyObject
* obj0
= 0 ;
21032 PyObject
* obj1
= 0 ;
21033 PyObject
* obj2
= 0 ;
21034 PyObject
* obj3
= 0 ;
21035 PyObject
* obj4
= 0 ;
21036 PyObject
* obj5
= 0 ;
21037 PyObject
* obj6
= 0 ;
21038 PyObject
* obj7
= 0 ;
21039 char * kwnames
[] = {
21040 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21045 if (!SWIG_IsOK(res1
)) {
21046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21048 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21050 if (!SWIG_IsOK(res2
)) {
21051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21053 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21056 if (!SWIG_IsOK(ecode3
)) {
21057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21059 arg3
= static_cast< int >(val3
);
21063 arg4
= wxString_in_helper(obj3
);
21064 if (arg4
== NULL
) SWIG_fail
;
21071 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21077 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21081 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21082 if (!SWIG_IsOK(ecode7
)) {
21083 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21085 arg7
= static_cast< long >(val7
);
21089 arg8
= wxString_in_helper(obj7
);
21090 if (arg8
== NULL
) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21125 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21126 PyObject
*resultobj
= 0;
21127 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21130 PyObject
*swig_obj
[1] ;
21132 if (!args
) SWIG_fail
;
21133 swig_obj
[0] = args
;
21134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21135 if (!SWIG_IsOK(res1
)) {
21136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21138 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 (arg1
)->Activate();
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 resultobj
= SWIG_Py_Void();
21152 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21154 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21155 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21156 return SWIG_Py_Void();
21159 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21160 return SWIG_Python_InitShadowInstance(args
);
21163 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
= 0;
21165 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21166 long arg2
= (long) 0 ;
21167 wxMDIClientWindow
*result
= 0 ;
21172 PyObject
* obj0
= 0 ;
21173 PyObject
* obj1
= 0 ;
21174 char * kwnames
[] = {
21175 (char *) "parent",(char *) "style", NULL
21178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21180 if (!SWIG_IsOK(res1
)) {
21181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21183 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21185 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21186 if (!SWIG_IsOK(ecode2
)) {
21187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21189 arg2
= static_cast< long >(val2
);
21192 if (!wxPyCheckForApp()) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21205 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21206 PyObject
*resultobj
= 0;
21207 wxMDIClientWindow
*result
= 0 ;
21209 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21211 if (!wxPyCheckForApp()) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21224 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
= 0;
21226 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21227 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21228 long arg3
= (long) 0 ;
21236 PyObject
* obj0
= 0 ;
21237 PyObject
* obj1
= 0 ;
21238 PyObject
* obj2
= 0 ;
21239 char * kwnames
[] = {
21240 (char *) "self",(char *) "parent",(char *) "style", NULL
21243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21245 if (!SWIG_IsOK(res1
)) {
21246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21248 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21249 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21250 if (!SWIG_IsOK(res2
)) {
21251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21253 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21255 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21256 if (!SWIG_IsOK(ecode3
)) {
21257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21259 arg3
= static_cast< long >(val3
);
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21276 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21279 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21280 return SWIG_Py_Void();
21283 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21284 return SWIG_Python_InitShadowInstance(args
);
21287 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21288 PyObject
*resultobj
= 0;
21289 wxWindow
*arg1
= (wxWindow
*) 0 ;
21290 int arg2
= (int) (int)-1 ;
21291 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21292 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21293 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21294 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21295 long arg5
= (long) 0 ;
21296 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21297 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21298 wxPyWindow
*result
= 0 ;
21307 bool temp6
= false ;
21308 PyObject
* obj0
= 0 ;
21309 PyObject
* obj1
= 0 ;
21310 PyObject
* obj2
= 0 ;
21311 PyObject
* obj3
= 0 ;
21312 PyObject
* obj4
= 0 ;
21313 PyObject
* obj5
= 0 ;
21314 char * kwnames
[] = {
21315 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21320 if (!SWIG_IsOK(res1
)) {
21321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21323 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21326 if (!SWIG_IsOK(ecode2
)) {
21327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21329 arg2
= static_cast< int >(val2
);
21334 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21340 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21344 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21345 if (!SWIG_IsOK(ecode5
)) {
21346 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21348 arg5
= static_cast< long >(val5
);
21352 arg6
= wxString_in_helper(obj5
);
21353 if (arg6
== NULL
) SWIG_fail
;
21358 if (!wxPyCheckForApp()) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21379 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21380 PyObject
*resultobj
= 0;
21381 wxPyWindow
*result
= 0 ;
21383 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21385 if (!wxPyCheckForApp()) SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 result
= (wxPyWindow
*)new wxPyWindow();
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21398 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
= 0;
21400 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21401 PyObject
*arg2
= (PyObject
*) 0 ;
21402 PyObject
*arg3
= (PyObject
*) 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 PyObject
* obj2
= 0 ;
21408 char * kwnames
[] = {
21409 (char *) "self",(char *) "self",(char *) "_class", NULL
21412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21414 if (!SWIG_IsOK(res1
)) {
21415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21417 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21423 wxPyEndAllowThreads(__tstate
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= SWIG_Py_Void();
21433 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
= 0;
21435 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21436 wxDC
*arg2
= (wxDC
*) 0 ;
21442 PyObject
* obj0
= 0 ;
21443 PyObject
* obj1
= 0 ;
21444 char * kwnames
[] = {
21445 (char *) "self",(char *) "dc", NULL
21448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21450 if (!SWIG_IsOK(res1
)) {
21451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21453 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21454 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21455 if (!SWIG_IsOK(res2
)) {
21456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21458 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21474 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
= 0;
21476 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21491 PyObject
* obj0
= 0 ;
21492 PyObject
* obj1
= 0 ;
21493 PyObject
* obj2
= 0 ;
21494 PyObject
* obj3
= 0 ;
21495 PyObject
* obj4
= 0 ;
21496 char * kwnames
[] = {
21497 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21505 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21507 if (!SWIG_IsOK(ecode2
)) {
21508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21510 arg2
= static_cast< int >(val2
);
21511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21512 if (!SWIG_IsOK(ecode3
)) {
21513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21515 arg3
= static_cast< int >(val3
);
21516 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21517 if (!SWIG_IsOK(ecode4
)) {
21518 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21520 arg4
= static_cast< int >(val4
);
21521 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21522 if (!SWIG_IsOK(ecode5
)) {
21523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21525 arg5
= static_cast< int >(val5
);
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= SWIG_Py_Void();
21539 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
= 0;
21541 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21546 int arg6
= (int) wxSIZE_AUTO
;
21559 PyObject
* obj0
= 0 ;
21560 PyObject
* obj1
= 0 ;
21561 PyObject
* obj2
= 0 ;
21562 PyObject
* obj3
= 0 ;
21563 PyObject
* obj4
= 0 ;
21564 PyObject
* obj5
= 0 ;
21565 char * kwnames
[] = {
21566 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21571 if (!SWIG_IsOK(res1
)) {
21572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21574 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21576 if (!SWIG_IsOK(ecode2
)) {
21577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21579 arg2
= static_cast< int >(val2
);
21580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21581 if (!SWIG_IsOK(ecode3
)) {
21582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21584 arg3
= static_cast< int >(val3
);
21585 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21586 if (!SWIG_IsOK(ecode4
)) {
21587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21589 arg4
= static_cast< int >(val4
);
21590 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21591 if (!SWIG_IsOK(ecode5
)) {
21592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21594 arg5
= static_cast< int >(val5
);
21596 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21597 if (!SWIG_IsOK(ecode6
)) {
21598 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21600 arg6
= static_cast< int >(val6
);
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 resultobj
= SWIG_Py_Void();
21615 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
= 0;
21617 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21626 PyObject
* obj0
= 0 ;
21627 PyObject
* obj1
= 0 ;
21628 PyObject
* obj2
= 0 ;
21629 char * kwnames
[] = {
21630 (char *) "self",(char *) "width",(char *) "height", NULL
21633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21635 if (!SWIG_IsOK(res1
)) {
21636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21638 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21640 if (!SWIG_IsOK(ecode2
)) {
21641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21643 arg2
= static_cast< int >(val2
);
21644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21645 if (!SWIG_IsOK(ecode3
)) {
21646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21648 arg3
= static_cast< int >(val3
);
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 (arg1
)->DoSetClientSize(arg2
,arg3
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_Py_Void();
21662 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
= 0;
21664 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21673 PyObject
* obj0
= 0 ;
21674 PyObject
* obj1
= 0 ;
21675 PyObject
* obj2
= 0 ;
21676 char * kwnames
[] = {
21677 (char *) "self",(char *) "x",(char *) "y", NULL
21680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21682 if (!SWIG_IsOK(res1
)) {
21683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21685 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21687 if (!SWIG_IsOK(ecode2
)) {
21688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21690 arg2
= static_cast< int >(val2
);
21691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21692 if (!SWIG_IsOK(ecode3
)) {
21693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21695 arg3
= static_cast< int >(val3
);
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= SWIG_Py_Void();
21709 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21710 PyObject
*resultobj
= 0;
21711 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21712 int *arg2
= (int *) 0 ;
21713 int *arg3
= (int *) 0 ;
21717 int res2
= SWIG_TMPOBJ
;
21719 int res3
= SWIG_TMPOBJ
;
21720 PyObject
*swig_obj
[1] ;
21724 if (!args
) SWIG_fail
;
21725 swig_obj
[0] = args
;
21726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21727 if (!SWIG_IsOK(res1
)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21730 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_Py_Void();
21738 if (SWIG_IsTmpObj(res2
)) {
21739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21741 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21744 if (SWIG_IsTmpObj(res3
)) {
21745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21747 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21756 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21757 PyObject
*resultobj
= 0;
21758 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21759 int *arg2
= (int *) 0 ;
21760 int *arg3
= (int *) 0 ;
21764 int res2
= SWIG_TMPOBJ
;
21766 int res3
= SWIG_TMPOBJ
;
21767 PyObject
*swig_obj
[1] ;
21771 if (!args
) SWIG_fail
;
21772 swig_obj
[0] = args
;
21773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21774 if (!SWIG_IsOK(res1
)) {
21775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21777 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21780 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21784 resultobj
= SWIG_Py_Void();
21785 if (SWIG_IsTmpObj(res2
)) {
21786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21788 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21791 if (SWIG_IsTmpObj(res3
)) {
21792 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21794 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21803 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21804 PyObject
*resultobj
= 0;
21805 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21806 int *arg2
= (int *) 0 ;
21807 int *arg3
= (int *) 0 ;
21811 int res2
= SWIG_TMPOBJ
;
21813 int res3
= SWIG_TMPOBJ
;
21814 PyObject
*swig_obj
[1] ;
21818 if (!args
) SWIG_fail
;
21819 swig_obj
[0] = args
;
21820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21821 if (!SWIG_IsOK(res1
)) {
21822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21824 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= SWIG_Py_Void();
21832 if (SWIG_IsTmpObj(res2
)) {
21833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21835 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21838 if (SWIG_IsTmpObj(res3
)) {
21839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21841 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21850 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21851 PyObject
*resultobj
= 0;
21852 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21856 PyObject
*swig_obj
[1] ;
21858 if (!args
) SWIG_fail
;
21859 swig_obj
[0] = args
;
21860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21861 if (!SWIG_IsOK(res1
)) {
21862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21864 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21878 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21879 PyObject
*resultobj
= 0;
21880 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21884 PyObject
*swig_obj
[1] ;
21886 if (!args
) SWIG_fail
;
21887 swig_obj
[0] = args
;
21888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21889 if (!SWIG_IsOK(res1
)) {
21890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21892 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21895 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21899 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21906 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21907 PyObject
*resultobj
= 0;
21908 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21909 SwigValueWrapper
<wxVisualAttributes
> result
;
21912 PyObject
*swig_obj
[1] ;
21914 if (!args
) SWIG_fail
;
21915 swig_obj
[0] = args
;
21916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21917 if (!SWIG_IsOK(res1
)) {
21918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21920 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 result
= (arg1
)->GetDefaultAttributes();
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21934 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21935 PyObject
*resultobj
= 0;
21936 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21939 PyObject
*swig_obj
[1] ;
21941 if (!args
) SWIG_fail
;
21942 swig_obj
[0] = args
;
21943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21944 if (!SWIG_IsOK(res1
)) {
21945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21947 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 (arg1
)->OnInternalIdle();
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21954 resultobj
= SWIG_Py_Void();
21961 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21964 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21965 return SWIG_Py_Void();
21968 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21969 return SWIG_Python_InitShadowInstance(args
);
21972 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
= 0;
21974 wxWindow
*arg1
= (wxWindow
*) 0 ;
21975 int arg2
= (int) (int)-1 ;
21976 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21977 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21978 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21979 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21980 long arg5
= (long) 0 ;
21981 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21982 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21983 wxPyPanel
*result
= 0 ;
21992 bool temp6
= false ;
21993 PyObject
* obj0
= 0 ;
21994 PyObject
* obj1
= 0 ;
21995 PyObject
* obj2
= 0 ;
21996 PyObject
* obj3
= 0 ;
21997 PyObject
* obj4
= 0 ;
21998 PyObject
* obj5
= 0 ;
21999 char * kwnames
[] = {
22000 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22005 if (!SWIG_IsOK(res1
)) {
22006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22008 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22011 if (!SWIG_IsOK(ecode2
)) {
22012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22014 arg2
= static_cast< int >(val2
);
22019 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22025 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22029 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22030 if (!SWIG_IsOK(ecode5
)) {
22031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22033 arg5
= static_cast< long >(val5
);
22037 arg6
= wxString_in_helper(obj5
);
22038 if (arg6
== NULL
) SWIG_fail
;
22043 if (!wxPyCheckForApp()) SWIG_fail
;
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22064 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22065 PyObject
*resultobj
= 0;
22066 wxPyPanel
*result
= 0 ;
22068 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22070 if (!wxPyCheckForApp()) SWIG_fail
;
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 result
= (wxPyPanel
*)new wxPyPanel();
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22083 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
= 0;
22085 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22086 PyObject
*arg2
= (PyObject
*) 0 ;
22087 PyObject
*arg3
= (PyObject
*) 0 ;
22090 PyObject
* obj0
= 0 ;
22091 PyObject
* obj1
= 0 ;
22092 PyObject
* obj2
= 0 ;
22093 char * kwnames
[] = {
22094 (char *) "self",(char *) "self",(char *) "_class", NULL
22097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22099 if (!SWIG_IsOK(res1
)) {
22100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22102 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 resultobj
= SWIG_Py_Void();
22118 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22119 PyObject
*resultobj
= 0;
22120 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22121 wxDC
*arg2
= (wxDC
*) 0 ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 char * kwnames
[] = {
22130 (char *) "self",(char *) "dc", NULL
22133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22135 if (!SWIG_IsOK(res1
)) {
22136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22138 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22139 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22140 if (!SWIG_IsOK(res2
)) {
22141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22143 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22159 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
= 0;
22161 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22176 PyObject
* obj0
= 0 ;
22177 PyObject
* obj1
= 0 ;
22178 PyObject
* obj2
= 0 ;
22179 PyObject
* obj3
= 0 ;
22180 PyObject
* obj4
= 0 ;
22181 char * kwnames
[] = {
22182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22187 if (!SWIG_IsOK(res1
)) {
22188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22190 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22192 if (!SWIG_IsOK(ecode2
)) {
22193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22195 arg2
= static_cast< int >(val2
);
22196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22197 if (!SWIG_IsOK(ecode3
)) {
22198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22200 arg3
= static_cast< int >(val3
);
22201 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22202 if (!SWIG_IsOK(ecode4
)) {
22203 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22205 arg4
= static_cast< int >(val4
);
22206 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22207 if (!SWIG_IsOK(ecode5
)) {
22208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22210 arg5
= static_cast< int >(val5
);
22212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22213 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= SWIG_Py_Void();
22224 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
= 0;
22226 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22231 int arg6
= (int) wxSIZE_AUTO
;
22244 PyObject
* obj0
= 0 ;
22245 PyObject
* obj1
= 0 ;
22246 PyObject
* obj2
= 0 ;
22247 PyObject
* obj3
= 0 ;
22248 PyObject
* obj4
= 0 ;
22249 PyObject
* obj5
= 0 ;
22250 char * kwnames
[] = {
22251 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22256 if (!SWIG_IsOK(res1
)) {
22257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22259 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22261 if (!SWIG_IsOK(ecode2
)) {
22262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22264 arg2
= static_cast< int >(val2
);
22265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22266 if (!SWIG_IsOK(ecode3
)) {
22267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22269 arg3
= static_cast< int >(val3
);
22270 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22271 if (!SWIG_IsOK(ecode4
)) {
22272 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22274 arg4
= static_cast< int >(val4
);
22275 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22276 if (!SWIG_IsOK(ecode5
)) {
22277 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22279 arg5
= static_cast< int >(val5
);
22281 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22282 if (!SWIG_IsOK(ecode6
)) {
22283 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22285 arg6
= static_cast< int >(val6
);
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 resultobj
= SWIG_Py_Void();
22300 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
= 0;
22302 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 PyObject
* obj2
= 0 ;
22314 char * kwnames
[] = {
22315 (char *) "self",(char *) "width",(char *) "height", NULL
22318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22320 if (!SWIG_IsOK(res1
)) {
22321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22323 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22325 if (!SWIG_IsOK(ecode2
)) {
22326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22328 arg2
= static_cast< int >(val2
);
22329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22330 if (!SWIG_IsOK(ecode3
)) {
22331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22333 arg3
= static_cast< int >(val3
);
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 (arg1
)->DoSetClientSize(arg2
,arg3
);
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22340 resultobj
= SWIG_Py_Void();
22347 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
= 0;
22349 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22358 PyObject
* obj0
= 0 ;
22359 PyObject
* obj1
= 0 ;
22360 PyObject
* obj2
= 0 ;
22361 char * kwnames
[] = {
22362 (char *) "self",(char *) "x",(char *) "y", NULL
22365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22367 if (!SWIG_IsOK(res1
)) {
22368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22370 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22372 if (!SWIG_IsOK(ecode2
)) {
22373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22375 arg2
= static_cast< int >(val2
);
22376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22377 if (!SWIG_IsOK(ecode3
)) {
22378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22380 arg3
= static_cast< int >(val3
);
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= SWIG_Py_Void();
22394 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22395 PyObject
*resultobj
= 0;
22396 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22397 int *arg2
= (int *) 0 ;
22398 int *arg3
= (int *) 0 ;
22402 int res2
= SWIG_TMPOBJ
;
22404 int res3
= SWIG_TMPOBJ
;
22405 PyObject
*swig_obj
[1] ;
22409 if (!args
) SWIG_fail
;
22410 swig_obj
[0] = args
;
22411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22412 if (!SWIG_IsOK(res1
)) {
22413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22415 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 resultobj
= SWIG_Py_Void();
22423 if (SWIG_IsTmpObj(res2
)) {
22424 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22426 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22429 if (SWIG_IsTmpObj(res3
)) {
22430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22432 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22441 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22442 PyObject
*resultobj
= 0;
22443 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22444 int *arg2
= (int *) 0 ;
22445 int *arg3
= (int *) 0 ;
22449 int res2
= SWIG_TMPOBJ
;
22451 int res3
= SWIG_TMPOBJ
;
22452 PyObject
*swig_obj
[1] ;
22456 if (!args
) SWIG_fail
;
22457 swig_obj
[0] = args
;
22458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22459 if (!SWIG_IsOK(res1
)) {
22460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22462 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 resultobj
= SWIG_Py_Void();
22470 if (SWIG_IsTmpObj(res2
)) {
22471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22473 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22476 if (SWIG_IsTmpObj(res3
)) {
22477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22479 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22488 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22489 PyObject
*resultobj
= 0;
22490 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22491 int *arg2
= (int *) 0 ;
22492 int *arg3
= (int *) 0 ;
22496 int res2
= SWIG_TMPOBJ
;
22498 int res3
= SWIG_TMPOBJ
;
22499 PyObject
*swig_obj
[1] ;
22503 if (!args
) SWIG_fail
;
22504 swig_obj
[0] = args
;
22505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22506 if (!SWIG_IsOK(res1
)) {
22507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22509 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 resultobj
= SWIG_Py_Void();
22517 if (SWIG_IsTmpObj(res2
)) {
22518 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22520 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22521 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22523 if (SWIG_IsTmpObj(res3
)) {
22524 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22526 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22527 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22535 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22536 PyObject
*resultobj
= 0;
22537 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22541 PyObject
*swig_obj
[1] ;
22543 if (!args
) SWIG_fail
;
22544 swig_obj
[0] = args
;
22545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22546 if (!SWIG_IsOK(res1
)) {
22547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22549 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22556 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22563 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22564 PyObject
*resultobj
= 0;
22565 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22569 PyObject
*swig_obj
[1] ;
22571 if (!args
) SWIG_fail
;
22572 swig_obj
[0] = args
;
22573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22574 if (!SWIG_IsOK(res1
)) {
22575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22577 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22591 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22592 PyObject
*resultobj
= 0;
22593 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22594 SwigValueWrapper
<wxVisualAttributes
> result
;
22597 PyObject
*swig_obj
[1] ;
22599 if (!args
) SWIG_fail
;
22600 swig_obj
[0] = args
;
22601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22602 if (!SWIG_IsOK(res1
)) {
22603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22605 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= (arg1
)->GetDefaultAttributes();
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22619 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22620 PyObject
*resultobj
= 0;
22621 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22624 PyObject
*swig_obj
[1] ;
22626 if (!args
) SWIG_fail
;
22627 swig_obj
[0] = args
;
22628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22629 if (!SWIG_IsOK(res1
)) {
22630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22632 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 (arg1
)->OnInternalIdle();
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 resultobj
= SWIG_Py_Void();
22646 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22649 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22650 return SWIG_Py_Void();
22653 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22654 return SWIG_Python_InitShadowInstance(args
);
22657 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22658 PyObject
*resultobj
= 0;
22659 wxWindow
*arg1
= (wxWindow
*) 0 ;
22660 int arg2
= (int) (int)-1 ;
22661 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22662 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22663 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22664 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22665 long arg5
= (long) 0 ;
22666 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22667 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22668 wxPyScrolledWindow
*result
= 0 ;
22677 bool temp6
= false ;
22678 PyObject
* obj0
= 0 ;
22679 PyObject
* obj1
= 0 ;
22680 PyObject
* obj2
= 0 ;
22681 PyObject
* obj3
= 0 ;
22682 PyObject
* obj4
= 0 ;
22683 PyObject
* obj5
= 0 ;
22684 char * kwnames
[] = {
22685 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22690 if (!SWIG_IsOK(res1
)) {
22691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22693 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22696 if (!SWIG_IsOK(ecode2
)) {
22697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22699 arg2
= static_cast< int >(val2
);
22704 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22710 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22714 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22715 if (!SWIG_IsOK(ecode5
)) {
22716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22718 arg5
= static_cast< long >(val5
);
22722 arg6
= wxString_in_helper(obj5
);
22723 if (arg6
== NULL
) SWIG_fail
;
22728 if (!wxPyCheckForApp()) SWIG_fail
;
22729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22730 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22749 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22750 PyObject
*resultobj
= 0;
22751 wxPyScrolledWindow
*result
= 0 ;
22753 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22755 if (!wxPyCheckForApp()) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22768 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
= 0;
22770 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22771 PyObject
*arg2
= (PyObject
*) 0 ;
22772 PyObject
*arg3
= (PyObject
*) 0 ;
22775 PyObject
* obj0
= 0 ;
22776 PyObject
* obj1
= 0 ;
22777 PyObject
* obj2
= 0 ;
22778 char * kwnames
[] = {
22779 (char *) "self",(char *) "self",(char *) "_class", NULL
22782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22784 if (!SWIG_IsOK(res1
)) {
22785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22787 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22792 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22793 wxPyEndAllowThreads(__tstate
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22796 resultobj
= SWIG_Py_Void();
22803 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22804 PyObject
*resultobj
= 0;
22805 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22806 wxDC
*arg2
= (wxDC
*) 0 ;
22812 PyObject
* obj0
= 0 ;
22813 PyObject
* obj1
= 0 ;
22814 char * kwnames
[] = {
22815 (char *) "self",(char *) "dc", NULL
22818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22820 if (!SWIG_IsOK(res1
)) {
22821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22823 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22824 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22825 if (!SWIG_IsOK(res2
)) {
22826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22828 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22844 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
= 0;
22846 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22861 PyObject
* obj0
= 0 ;
22862 PyObject
* obj1
= 0 ;
22863 PyObject
* obj2
= 0 ;
22864 PyObject
* obj3
= 0 ;
22865 PyObject
* obj4
= 0 ;
22866 char * kwnames
[] = {
22867 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22875 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22877 if (!SWIG_IsOK(ecode2
)) {
22878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22880 arg2
= static_cast< int >(val2
);
22881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22882 if (!SWIG_IsOK(ecode3
)) {
22883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22885 arg3
= static_cast< int >(val3
);
22886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22887 if (!SWIG_IsOK(ecode4
)) {
22888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22890 arg4
= static_cast< int >(val4
);
22891 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22892 if (!SWIG_IsOK(ecode5
)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22895 arg5
= static_cast< int >(val5
);
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= SWIG_Py_Void();
22909 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
= 0;
22911 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22916 int arg6
= (int) wxSIZE_AUTO
;
22929 PyObject
* obj0
= 0 ;
22930 PyObject
* obj1
= 0 ;
22931 PyObject
* obj2
= 0 ;
22932 PyObject
* obj3
= 0 ;
22933 PyObject
* obj4
= 0 ;
22934 PyObject
* obj5
= 0 ;
22935 char * kwnames
[] = {
22936 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22941 if (!SWIG_IsOK(res1
)) {
22942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22944 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22946 if (!SWIG_IsOK(ecode2
)) {
22947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22949 arg2
= static_cast< int >(val2
);
22950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22951 if (!SWIG_IsOK(ecode3
)) {
22952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22954 arg3
= static_cast< int >(val3
);
22955 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22956 if (!SWIG_IsOK(ecode4
)) {
22957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22959 arg4
= static_cast< int >(val4
);
22960 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22961 if (!SWIG_IsOK(ecode5
)) {
22962 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22964 arg5
= static_cast< int >(val5
);
22966 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22967 if (!SWIG_IsOK(ecode6
)) {
22968 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22970 arg6
= static_cast< int >(val6
);
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 resultobj
= SWIG_Py_Void();
22985 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
= 0;
22987 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22996 PyObject
* obj0
= 0 ;
22997 PyObject
* obj1
= 0 ;
22998 PyObject
* obj2
= 0 ;
22999 char * kwnames
[] = {
23000 (char *) "self",(char *) "width",(char *) "height", NULL
23003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23005 if (!SWIG_IsOK(res1
)) {
23006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23008 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23010 if (!SWIG_IsOK(ecode2
)) {
23011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23013 arg2
= static_cast< int >(val2
);
23014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23015 if (!SWIG_IsOK(ecode3
)) {
23016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23018 arg3
= static_cast< int >(val3
);
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 (arg1
)->DoSetClientSize(arg2
,arg3
);
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= SWIG_Py_Void();
23032 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
= 0;
23034 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23043 PyObject
* obj0
= 0 ;
23044 PyObject
* obj1
= 0 ;
23045 PyObject
* obj2
= 0 ;
23046 char * kwnames
[] = {
23047 (char *) "self",(char *) "x",(char *) "y", NULL
23050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23052 if (!SWIG_IsOK(res1
)) {
23053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23055 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23057 if (!SWIG_IsOK(ecode2
)) {
23058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23060 arg2
= static_cast< int >(val2
);
23061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23062 if (!SWIG_IsOK(ecode3
)) {
23063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23065 arg3
= static_cast< int >(val3
);
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23072 resultobj
= SWIG_Py_Void();
23079 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23080 PyObject
*resultobj
= 0;
23081 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23082 int *arg2
= (int *) 0 ;
23083 int *arg3
= (int *) 0 ;
23087 int res2
= SWIG_TMPOBJ
;
23089 int res3
= SWIG_TMPOBJ
;
23090 PyObject
*swig_obj
[1] ;
23094 if (!args
) SWIG_fail
;
23095 swig_obj
[0] = args
;
23096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23097 if (!SWIG_IsOK(res1
)) {
23098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23100 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= SWIG_Py_Void();
23108 if (SWIG_IsTmpObj(res2
)) {
23109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23111 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23112 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23114 if (SWIG_IsTmpObj(res3
)) {
23115 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23117 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23126 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23127 PyObject
*resultobj
= 0;
23128 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23129 int *arg2
= (int *) 0 ;
23130 int *arg3
= (int *) 0 ;
23134 int res2
= SWIG_TMPOBJ
;
23136 int res3
= SWIG_TMPOBJ
;
23137 PyObject
*swig_obj
[1] ;
23141 if (!args
) SWIG_fail
;
23142 swig_obj
[0] = args
;
23143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23144 if (!SWIG_IsOK(res1
)) {
23145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23147 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23151 wxPyEndAllowThreads(__tstate
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23154 resultobj
= SWIG_Py_Void();
23155 if (SWIG_IsTmpObj(res2
)) {
23156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23158 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23161 if (SWIG_IsTmpObj(res3
)) {
23162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23164 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23173 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23174 PyObject
*resultobj
= 0;
23175 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23176 int *arg2
= (int *) 0 ;
23177 int *arg3
= (int *) 0 ;
23181 int res2
= SWIG_TMPOBJ
;
23183 int res3
= SWIG_TMPOBJ
;
23184 PyObject
*swig_obj
[1] ;
23188 if (!args
) SWIG_fail
;
23189 swig_obj
[0] = args
;
23190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23191 if (!SWIG_IsOK(res1
)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23194 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= SWIG_Py_Void();
23202 if (SWIG_IsTmpObj(res2
)) {
23203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23205 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23208 if (SWIG_IsTmpObj(res3
)) {
23209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23211 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23220 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23221 PyObject
*resultobj
= 0;
23222 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23226 PyObject
*swig_obj
[1] ;
23228 if (!args
) SWIG_fail
;
23229 swig_obj
[0] = args
;
23230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23231 if (!SWIG_IsOK(res1
)) {
23232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23234 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23248 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23249 PyObject
*resultobj
= 0;
23250 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23254 PyObject
*swig_obj
[1] ;
23256 if (!args
) SWIG_fail
;
23257 swig_obj
[0] = args
;
23258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23259 if (!SWIG_IsOK(res1
)) {
23260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23262 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23276 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23277 PyObject
*resultobj
= 0;
23278 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23279 SwigValueWrapper
<wxVisualAttributes
> result
;
23282 PyObject
*swig_obj
[1] ;
23284 if (!args
) SWIG_fail
;
23285 swig_obj
[0] = args
;
23286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23287 if (!SWIG_IsOK(res1
)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23290 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= (arg1
)->GetDefaultAttributes();
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23304 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23305 PyObject
*resultobj
= 0;
23306 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23309 PyObject
*swig_obj
[1] ;
23311 if (!args
) SWIG_fail
;
23312 swig_obj
[0] = args
;
23313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23314 if (!SWIG_IsOK(res1
)) {
23315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23317 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 (arg1
)->OnInternalIdle();
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= SWIG_Py_Void();
23331 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23333 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23334 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23335 return SWIG_Py_Void();
23338 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23339 return SWIG_Python_InitShadowInstance(args
);
23342 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23343 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23348 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23349 PyObject
*pyobj
= 0;
23353 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23355 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23362 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23363 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23368 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23369 PyObject
*pyobj
= 0;
23373 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23375 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23382 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23383 PyObject
*resultobj
= 0;
23384 wxPrintData
*result
= 0 ;
23386 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 result
= (wxPrintData
*)new wxPrintData();
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23400 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23401 PyObject
*resultobj
= 0;
23402 wxPrintData
*arg1
= 0 ;
23403 wxPrintData
*result
= 0 ;
23407 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23409 if (!SWIG_IsOK(res1
)) {
23410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23415 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23429 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23433 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23436 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23439 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23443 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23448 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23449 PyObject
*resultobj
= 0;
23450 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23453 PyObject
*swig_obj
[1] ;
23455 if (!args
) SWIG_fail
;
23456 swig_obj
[0] = args
;
23457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23458 if (!SWIG_IsOK(res1
)) {
23459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23461 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 resultobj
= SWIG_Py_Void();
23476 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23477 PyObject
*resultobj
= 0;
23478 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23482 PyObject
*swig_obj
[1] ;
23484 if (!args
) SWIG_fail
;
23485 swig_obj
[0] = args
;
23486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23487 if (!SWIG_IsOK(res1
)) {
23488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23490 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23493 result
= (int)(arg1
)->GetNoCopies();
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= SWIG_From_int(static_cast< int >(result
));
23504 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23505 PyObject
*resultobj
= 0;
23506 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23510 PyObject
*swig_obj
[1] ;
23512 if (!args
) SWIG_fail
;
23513 swig_obj
[0] = args
;
23514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23515 if (!SWIG_IsOK(res1
)) {
23516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23518 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (bool)(arg1
)->GetCollate();
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23534 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23535 PyObject
*resultobj
= 0;
23536 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23540 PyObject
*swig_obj
[1] ;
23542 if (!args
) SWIG_fail
;
23543 swig_obj
[0] = args
;
23544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23545 if (!SWIG_IsOK(res1
)) {
23546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23548 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 result
= (int)(arg1
)->GetOrientation();
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23555 resultobj
= SWIG_From_int(static_cast< int >(result
));
23562 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23563 PyObject
*resultobj
= 0;
23564 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23568 PyObject
*swig_obj
[1] ;
23570 if (!args
) SWIG_fail
;
23571 swig_obj
[0] = args
;
23572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23573 if (!SWIG_IsOK(res1
)) {
23574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23576 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 result
= (bool)(arg1
)->IsOk();
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23592 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23593 PyObject
*resultobj
= 0;
23594 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23595 wxString
*result
= 0 ;
23598 PyObject
*swig_obj
[1] ;
23600 if (!args
) SWIG_fail
;
23601 swig_obj
[0] = args
;
23602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23603 if (!SWIG_IsOK(res1
)) {
23604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23606 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23611 result
= (wxString
*) &_result_ref
;
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23620 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23629 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23630 PyObject
*resultobj
= 0;
23631 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23635 PyObject
*swig_obj
[1] ;
23637 if (!args
) SWIG_fail
;
23638 swig_obj
[0] = args
;
23639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23640 if (!SWIG_IsOK(res1
)) {
23641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23643 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 result
= (bool)(arg1
)->GetColour();
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23659 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23660 PyObject
*resultobj
= 0;
23661 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23662 wxDuplexMode result
;
23665 PyObject
*swig_obj
[1] ;
23667 if (!args
) SWIG_fail
;
23668 swig_obj
[0] = args
;
23669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23670 if (!SWIG_IsOK(res1
)) {
23671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23673 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= SWIG_From_int(static_cast< int >(result
));
23687 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23688 PyObject
*resultobj
= 0;
23689 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23690 wxPaperSize result
;
23693 PyObject
*swig_obj
[1] ;
23695 if (!args
) SWIG_fail
;
23696 swig_obj
[0] = args
;
23697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23698 if (!SWIG_IsOK(res1
)) {
23699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23701 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= SWIG_From_int(static_cast< int >(result
));
23715 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23716 PyObject
*resultobj
= 0;
23717 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23718 wxSize
*result
= 0 ;
23721 PyObject
*swig_obj
[1] ;
23723 if (!args
) SWIG_fail
;
23724 swig_obj
[0] = args
;
23725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23726 if (!SWIG_IsOK(res1
)) {
23727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23729 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23734 result
= (wxSize
*) &_result_ref
;
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23746 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23747 PyObject
*resultobj
= 0;
23748 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23752 PyObject
*swig_obj
[1] ;
23754 if (!args
) SWIG_fail
;
23755 swig_obj
[0] = args
;
23756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23757 if (!SWIG_IsOK(res1
)) {
23758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23760 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (int)(arg1
)->GetQuality();
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= SWIG_From_int(static_cast< int >(result
));
23774 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23775 PyObject
*resultobj
= 0;
23776 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23780 PyObject
*swig_obj
[1] ;
23782 if (!args
) SWIG_fail
;
23783 swig_obj
[0] = args
;
23784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23785 if (!SWIG_IsOK(res1
)) {
23786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23788 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 result
= (wxPrintBin
)(arg1
)->GetBin();
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= SWIG_From_int(static_cast< int >(result
));
23802 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23803 PyObject
*resultobj
= 0;
23804 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23805 wxPrintMode result
;
23808 PyObject
*swig_obj
[1] ;
23810 if (!args
) SWIG_fail
;
23811 swig_obj
[0] = args
;
23812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23813 if (!SWIG_IsOK(res1
)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23816 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= SWIG_From_int(static_cast< int >(result
));
23830 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23831 PyObject
*resultobj
= 0;
23832 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23836 PyObject
*swig_obj
[1] ;
23838 if (!args
) SWIG_fail
;
23839 swig_obj
[0] = args
;
23840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23841 if (!SWIG_IsOK(res1
)) {
23842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23844 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23847 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= SWIG_From_int(static_cast< int >(result
));
23858 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
= 0;
23860 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23866 PyObject
* obj0
= 0 ;
23867 PyObject
* obj1
= 0 ;
23868 char * kwnames
[] = {
23869 (char *) "self",(char *) "v", NULL
23872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23874 if (!SWIG_IsOK(res1
)) {
23875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23877 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23879 if (!SWIG_IsOK(ecode2
)) {
23880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23882 arg2
= static_cast< int >(val2
);
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 (arg1
)->SetNoCopies(arg2
);
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= SWIG_Py_Void();
23896 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23897 PyObject
*resultobj
= 0;
23898 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23904 PyObject
* obj0
= 0 ;
23905 PyObject
* obj1
= 0 ;
23906 char * kwnames
[] = {
23907 (char *) "self",(char *) "flag", NULL
23910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23912 if (!SWIG_IsOK(res1
)) {
23913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23915 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23916 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23917 if (!SWIG_IsOK(ecode2
)) {
23918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23920 arg2
= static_cast< bool >(val2
);
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23923 (arg1
)->SetCollate(arg2
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_Py_Void();
23934 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
= 0;
23936 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23942 PyObject
* obj0
= 0 ;
23943 PyObject
* obj1
= 0 ;
23944 char * kwnames
[] = {
23945 (char *) "self",(char *) "orient", NULL
23948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23950 if (!SWIG_IsOK(res1
)) {
23951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23953 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23955 if (!SWIG_IsOK(ecode2
)) {
23956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23958 arg2
= static_cast< int >(val2
);
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 (arg1
)->SetOrientation(arg2
);
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= SWIG_Py_Void();
23972 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
= 0;
23974 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23975 wxString
*arg2
= 0 ;
23978 bool temp2
= false ;
23979 PyObject
* obj0
= 0 ;
23980 PyObject
* obj1
= 0 ;
23981 char * kwnames
[] = {
23982 (char *) "self",(char *) "name", NULL
23985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23987 if (!SWIG_IsOK(res1
)) {
23988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23990 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23992 arg2
= wxString_in_helper(obj1
);
23993 if (arg2
== NULL
) SWIG_fail
;
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24002 resultobj
= SWIG_Py_Void();
24017 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
= 0;
24019 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24027 char * kwnames
[] = {
24028 (char *) "self",(char *) "colour", NULL
24031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24033 if (!SWIG_IsOK(res1
)) {
24034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24036 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24037 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24038 if (!SWIG_IsOK(ecode2
)) {
24039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24041 arg2
= static_cast< bool >(val2
);
24043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24044 (arg1
)->SetColour(arg2
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24048 resultobj
= SWIG_Py_Void();
24055 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
= 0;
24057 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24058 wxDuplexMode arg2
;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 char * kwnames
[] = {
24066 (char *) "self",(char *) "duplex", NULL
24069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24071 if (!SWIG_IsOK(res1
)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24074 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24076 if (!SWIG_IsOK(ecode2
)) {
24077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24079 arg2
= static_cast< wxDuplexMode
>(val2
);
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 (arg1
)->SetDuplex(arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= SWIG_Py_Void();
24093 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
= 0;
24095 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 char * kwnames
[] = {
24104 (char *) "self",(char *) "sizeId", NULL
24107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24109 if (!SWIG_IsOK(res1
)) {
24110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24112 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24114 if (!SWIG_IsOK(ecode2
)) {
24115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24117 arg2
= static_cast< wxPaperSize
>(val2
);
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 (arg1
)->SetPaperId(arg2
);
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= SWIG_Py_Void();
24131 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
= 0;
24133 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24138 PyObject
* obj0
= 0 ;
24139 PyObject
* obj1
= 0 ;
24140 char * kwnames
[] = {
24141 (char *) "self",(char *) "sz", NULL
24144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24146 if (!SWIG_IsOK(res1
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24149 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24152 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24160 resultobj
= SWIG_Py_Void();
24167 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
= 0;
24169 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24175 PyObject
* obj0
= 0 ;
24176 PyObject
* obj1
= 0 ;
24177 char * kwnames
[] = {
24178 (char *) "self",(char *) "quality", NULL
24181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24183 if (!SWIG_IsOK(res1
)) {
24184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24186 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24188 if (!SWIG_IsOK(ecode2
)) {
24189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24191 arg2
= static_cast< int >(val2
);
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 (arg1
)->SetQuality(arg2
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= SWIG_Py_Void();
24205 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
= 0;
24207 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 char * kwnames
[] = {
24216 (char *) "self",(char *) "bin", NULL
24219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24221 if (!SWIG_IsOK(res1
)) {
24222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24224 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24226 if (!SWIG_IsOK(ecode2
)) {
24227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24229 arg2
= static_cast< wxPrintBin
>(val2
);
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 (arg1
)->SetBin(arg2
);
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24236 resultobj
= SWIG_Py_Void();
24243 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24244 PyObject
*resultobj
= 0;
24245 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 char * kwnames
[] = {
24254 (char *) "self",(char *) "printMode", NULL
24257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24259 if (!SWIG_IsOK(res1
)) {
24260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24262 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24264 if (!SWIG_IsOK(ecode2
)) {
24265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24267 arg2
= static_cast< wxPrintMode
>(val2
);
24269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 (arg1
)->SetPrintMode(arg2
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24274 resultobj
= SWIG_Py_Void();
24281 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
= 0;
24283 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 char * kwnames
[] = {
24292 (char *) "self",(char *) "media", NULL
24295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24297 if (!SWIG_IsOK(res1
)) {
24298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24300 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24302 if (!SWIG_IsOK(ecode2
)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24305 arg2
= static_cast< int >(val2
);
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 (arg1
)->SetMedia(arg2
);
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24312 resultobj
= SWIG_Py_Void();
24319 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24320 PyObject
*resultobj
= 0;
24321 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24325 PyObject
*swig_obj
[1] ;
24327 if (!args
) SWIG_fail
;
24328 swig_obj
[0] = args
;
24329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24330 if (!SWIG_IsOK(res1
)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24333 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24353 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
= 0;
24355 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24356 wxString
*arg2
= 0 ;
24359 bool temp2
= false ;
24360 PyObject
* obj0
= 0 ;
24361 PyObject
* obj1
= 0 ;
24362 char * kwnames
[] = {
24363 (char *) "self",(char *) "filename", NULL
24366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24368 if (!SWIG_IsOK(res1
)) {
24369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24371 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24373 arg2
= wxString_in_helper(obj1
);
24374 if (arg2
== NULL
) SWIG_fail
;
24378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 (arg1
)->SetFilename((wxString
const &)*arg2
);
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= SWIG_Py_Void();
24398 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24399 PyObject
*resultobj
= 0;
24400 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24401 PyObject
*result
= 0 ;
24404 PyObject
*swig_obj
[1] ;
24406 if (!args
) SWIG_fail
;
24407 swig_obj
[0] = args
;
24408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24409 if (!SWIG_IsOK(res1
)) {
24410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24412 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= result
;
24426 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
= 0;
24428 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24429 PyObject
*arg2
= (PyObject
*) 0 ;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char * kwnames
[] = {
24435 (char *) "self",(char *) "data", NULL
24438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24440 if (!SWIG_IsOK(res1
)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24443 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 wxPrintData_SetPrivData(arg1
,arg2
);
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= SWIG_Py_Void();
24458 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24461 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24462 return SWIG_Py_Void();
24465 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24466 return SWIG_Python_InitShadowInstance(args
);
24469 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24470 PyObject
*resultobj
= 0;
24471 wxPageSetupDialogData
*result
= 0 ;
24473 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24487 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24488 PyObject
*resultobj
= 0;
24489 wxPageSetupDialogData
*arg1
= 0 ;
24490 wxPageSetupDialogData
*result
= 0 ;
24494 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24496 if (!SWIG_IsOK(res1
)) {
24497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24502 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24506 wxPyEndAllowThreads(__tstate
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24516 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24517 PyObject
*resultobj
= 0;
24518 wxPrintData
*arg1
= 0 ;
24519 wxPageSetupDialogData
*result
= 0 ;
24523 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24525 if (!SWIG_IsOK(res1
)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24531 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
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(PyObject
*self
, PyObject
*args
) {
24549 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24552 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24557 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24558 _v
= SWIG_CheckState(res
);
24560 if (!_v
) goto check_2
;
24561 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24566 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24570 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24575 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24576 PyObject
*resultobj
= 0;
24577 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24580 PyObject
*swig_obj
[1] ;
24582 if (!args
) SWIG_fail
;
24583 swig_obj
[0] = args
;
24584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24585 if (!SWIG_IsOK(res1
)) {
24586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24588 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 resultobj
= SWIG_Py_Void();
24603 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
= 0;
24605 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24611 PyObject
* obj0
= 0 ;
24612 PyObject
* obj1
= 0 ;
24613 char * kwnames
[] = {
24614 (char *) "self",(char *) "flag", NULL
24617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24619 if (!SWIG_IsOK(res1
)) {
24620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24622 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24623 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24624 if (!SWIG_IsOK(ecode2
)) {
24625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24627 arg2
= static_cast< bool >(val2
);
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 (arg1
)->EnableHelp(arg2
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_Py_Void();
24641 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
= 0;
24643 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24649 PyObject
* obj0
= 0 ;
24650 PyObject
* obj1
= 0 ;
24651 char * kwnames
[] = {
24652 (char *) "self",(char *) "flag", NULL
24655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24657 if (!SWIG_IsOK(res1
)) {
24658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24660 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24661 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24662 if (!SWIG_IsOK(ecode2
)) {
24663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24665 arg2
= static_cast< bool >(val2
);
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 (arg1
)->EnableMargins(arg2
);
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24672 resultobj
= SWIG_Py_Void();
24679 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
= 0;
24681 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24687 PyObject
* obj0
= 0 ;
24688 PyObject
* obj1
= 0 ;
24689 char * kwnames
[] = {
24690 (char *) "self",(char *) "flag", NULL
24693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24695 if (!SWIG_IsOK(res1
)) {
24696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24698 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24699 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24700 if (!SWIG_IsOK(ecode2
)) {
24701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24703 arg2
= static_cast< bool >(val2
);
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 (arg1
)->EnableOrientation(arg2
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24710 resultobj
= SWIG_Py_Void();
24717 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
= 0;
24719 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24725 PyObject
* obj0
= 0 ;
24726 PyObject
* obj1
= 0 ;
24727 char * kwnames
[] = {
24728 (char *) "self",(char *) "flag", NULL
24731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24733 if (!SWIG_IsOK(res1
)) {
24734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24736 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24737 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24738 if (!SWIG_IsOK(ecode2
)) {
24739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24741 arg2
= static_cast< bool >(val2
);
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 (arg1
)->EnablePaper(arg2
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= SWIG_Py_Void();
24755 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
= 0;
24757 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24763 PyObject
* obj0
= 0 ;
24764 PyObject
* obj1
= 0 ;
24765 char * kwnames
[] = {
24766 (char *) "self",(char *) "flag", NULL
24769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24771 if (!SWIG_IsOK(res1
)) {
24772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24774 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24775 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24776 if (!SWIG_IsOK(ecode2
)) {
24777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24779 arg2
= static_cast< bool >(val2
);
24781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24782 (arg1
)->EnablePrinter(arg2
);
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 resultobj
= SWIG_Py_Void();
24793 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24794 PyObject
*resultobj
= 0;
24795 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24799 PyObject
*swig_obj
[1] ;
24801 if (!args
) SWIG_fail
;
24802 swig_obj
[0] = args
;
24803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24804 if (!SWIG_IsOK(res1
)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24807 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 result
= (bool)(arg1
)->GetDefaultMinMargins();
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24823 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24824 PyObject
*resultobj
= 0;
24825 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24829 PyObject
*swig_obj
[1] ;
24831 if (!args
) SWIG_fail
;
24832 swig_obj
[0] = args
;
24833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24834 if (!SWIG_IsOK(res1
)) {
24835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24837 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 result
= (bool)(arg1
)->GetEnableMargins();
24841 wxPyEndAllowThreads(__tstate
);
24842 if (PyErr_Occurred()) SWIG_fail
;
24845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24853 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24854 PyObject
*resultobj
= 0;
24855 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24859 PyObject
*swig_obj
[1] ;
24861 if (!args
) SWIG_fail
;
24862 swig_obj
[0] = args
;
24863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24864 if (!SWIG_IsOK(res1
)) {
24865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24867 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= (bool)(arg1
)->GetEnableOrientation();
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24883 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24884 PyObject
*resultobj
= 0;
24885 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24889 PyObject
*swig_obj
[1] ;
24891 if (!args
) SWIG_fail
;
24892 swig_obj
[0] = args
;
24893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24894 if (!SWIG_IsOK(res1
)) {
24895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24897 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 result
= (bool)(arg1
)->GetEnablePaper();
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24913 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24914 PyObject
*resultobj
= 0;
24915 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24919 PyObject
*swig_obj
[1] ;
24921 if (!args
) SWIG_fail
;
24922 swig_obj
[0] = args
;
24923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24924 if (!SWIG_IsOK(res1
)) {
24925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24927 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= (bool)(arg1
)->GetEnablePrinter();
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24943 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24944 PyObject
*resultobj
= 0;
24945 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24949 PyObject
*swig_obj
[1] ;
24951 if (!args
) SWIG_fail
;
24952 swig_obj
[0] = args
;
24953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24954 if (!SWIG_IsOK(res1
)) {
24955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24957 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 result
= (bool)(arg1
)->GetEnableHelp();
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24973 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24974 PyObject
*resultobj
= 0;
24975 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24979 PyObject
*swig_obj
[1] ;
24981 if (!args
) SWIG_fail
;
24982 swig_obj
[0] = args
;
24983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24984 if (!SWIG_IsOK(res1
)) {
24985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24987 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 result
= (bool)(arg1
)->GetDefaultInfo();
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25003 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25004 PyObject
*resultobj
= 0;
25005 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25009 PyObject
*swig_obj
[1] ;
25011 if (!args
) SWIG_fail
;
25012 swig_obj
[0] = args
;
25013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25014 if (!SWIG_IsOK(res1
)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25017 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 result
= (arg1
)->GetMarginTopLeft();
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25024 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25031 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(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_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25045 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 result
= (arg1
)->GetMarginBottomRight();
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25059 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25060 PyObject
*resultobj
= 0;
25061 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25065 PyObject
*swig_obj
[1] ;
25067 if (!args
) SWIG_fail
;
25068 swig_obj
[0] = args
;
25069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25070 if (!SWIG_IsOK(res1
)) {
25071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25073 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= (arg1
)->GetMinMarginTopLeft();
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25087 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25088 PyObject
*resultobj
= 0;
25089 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25093 PyObject
*swig_obj
[1] ;
25095 if (!args
) SWIG_fail
;
25096 swig_obj
[0] = args
;
25097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25098 if (!SWIG_IsOK(res1
)) {
25099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25101 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 result
= (arg1
)->GetMinMarginBottomRight();
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25115 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25116 PyObject
*resultobj
= 0;
25117 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25118 wxPaperSize result
;
25121 PyObject
*swig_obj
[1] ;
25123 if (!args
) SWIG_fail
;
25124 swig_obj
[0] = args
;
25125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25126 if (!SWIG_IsOK(res1
)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25129 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25132 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= SWIG_From_int(static_cast< int >(result
));
25143 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25144 PyObject
*resultobj
= 0;
25145 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25149 PyObject
*swig_obj
[1] ;
25151 if (!args
) SWIG_fail
;
25152 swig_obj
[0] = args
;
25153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25154 if (!SWIG_IsOK(res1
)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25157 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (arg1
)->GetPaperSize();
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25171 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25172 PyObject
*resultobj
= 0;
25173 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25174 wxPrintData
*result
= 0 ;
25177 PyObject
*swig_obj
[1] ;
25179 if (!args
) SWIG_fail
;
25180 swig_obj
[0] = args
;
25181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25182 if (!SWIG_IsOK(res1
)) {
25183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25185 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25190 result
= (wxPrintData
*) &_result_ref
;
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25202 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25203 PyObject
*resultobj
= 0;
25204 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25208 PyObject
*swig_obj
[1] ;
25210 if (!args
) SWIG_fail
;
25211 swig_obj
[0] = args
;
25212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25213 if (!SWIG_IsOK(res1
)) {
25214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25216 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 result
= (bool)(arg1
)->IsOk();
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25232 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
= 0;
25234 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25240 PyObject
* obj0
= 0 ;
25241 PyObject
* obj1
= 0 ;
25242 char * kwnames
[] = {
25243 (char *) "self",(char *) "flag", NULL
25246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25248 if (!SWIG_IsOK(res1
)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25251 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25252 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25253 if (!SWIG_IsOK(ecode2
)) {
25254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25256 arg2
= static_cast< bool >(val2
);
25258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 (arg1
)->SetDefaultInfo(arg2
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= SWIG_Py_Void();
25270 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
= 0;
25272 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25278 PyObject
* obj0
= 0 ;
25279 PyObject
* obj1
= 0 ;
25280 char * kwnames
[] = {
25281 (char *) "self",(char *) "flag", NULL
25284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25286 if (!SWIG_IsOK(res1
)) {
25287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25289 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25290 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25291 if (!SWIG_IsOK(ecode2
)) {
25292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25294 arg2
= static_cast< bool >(val2
);
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 (arg1
)->SetDefaultMinMargins(arg2
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= SWIG_Py_Void();
25308 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
= 0;
25310 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25311 wxPoint
*arg2
= 0 ;
25315 PyObject
* obj0
= 0 ;
25316 PyObject
* obj1
= 0 ;
25317 char * kwnames
[] = {
25318 (char *) "self",(char *) "pt", NULL
25321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25323 if (!SWIG_IsOK(res1
)) {
25324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25326 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25329 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25337 resultobj
= SWIG_Py_Void();
25344 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
= 0;
25346 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25347 wxPoint
*arg2
= 0 ;
25351 PyObject
* obj0
= 0 ;
25352 PyObject
* obj1
= 0 ;
25353 char * kwnames
[] = {
25354 (char *) "self",(char *) "pt", NULL
25357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25359 if (!SWIG_IsOK(res1
)) {
25360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25362 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25365 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25373 resultobj
= SWIG_Py_Void();
25380 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
= 0;
25382 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25383 wxPoint
*arg2
= 0 ;
25387 PyObject
* obj0
= 0 ;
25388 PyObject
* obj1
= 0 ;
25389 char * kwnames
[] = {
25390 (char *) "self",(char *) "pt", NULL
25393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25395 if (!SWIG_IsOK(res1
)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25398 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25405 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25409 resultobj
= SWIG_Py_Void();
25416 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25417 PyObject
*resultobj
= 0;
25418 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25419 wxPoint
*arg2
= 0 ;
25423 PyObject
* obj0
= 0 ;
25424 PyObject
* obj1
= 0 ;
25425 char * kwnames
[] = {
25426 (char *) "self",(char *) "pt", NULL
25429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25431 if (!SWIG_IsOK(res1
)) {
25432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25434 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25437 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25441 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= SWIG_Py_Void();
25452 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
= 0;
25454 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25460 PyObject
* obj0
= 0 ;
25461 PyObject
* obj1
= 0 ;
25462 char * kwnames
[] = {
25463 (char *) "self",(char *) "id", NULL
25466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25468 if (!SWIG_IsOK(res1
)) {
25469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25471 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25473 if (!SWIG_IsOK(ecode2
)) {
25474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25476 arg2
= static_cast< wxPaperSize
>(val2
);
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 (arg1
)->SetPaperId(arg2
);
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= SWIG_Py_Void();
25490 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
= 0;
25492 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25497 PyObject
* obj0
= 0 ;
25498 PyObject
* obj1
= 0 ;
25499 char * kwnames
[] = {
25500 (char *) "self",(char *) "size", NULL
25503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25505 if (!SWIG_IsOK(res1
)) {
25506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25508 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25511 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25515 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25519 resultobj
= SWIG_Py_Void();
25526 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25527 PyObject
*resultobj
= 0;
25528 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25529 wxPrintData
*arg2
= 0 ;
25534 PyObject
* obj0
= 0 ;
25535 PyObject
* obj1
= 0 ;
25536 char * kwnames
[] = {
25537 (char *) "self",(char *) "printData", NULL
25540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25542 if (!SWIG_IsOK(res1
)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25545 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25546 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25547 if (!SWIG_IsOK(res2
)) {
25548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25553 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25557 wxPyEndAllowThreads(__tstate
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 resultobj
= SWIG_Py_Void();
25567 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25568 PyObject
*resultobj
= 0;
25569 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25572 PyObject
*swig_obj
[1] ;
25574 if (!args
) SWIG_fail
;
25575 swig_obj
[0] = args
;
25576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25577 if (!SWIG_IsOK(res1
)) {
25578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25580 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25583 (arg1
)->CalculateIdFromPaperSize();
25584 wxPyEndAllowThreads(__tstate
);
25585 if (PyErr_Occurred()) SWIG_fail
;
25587 resultobj
= SWIG_Py_Void();
25594 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25595 PyObject
*resultobj
= 0;
25596 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25599 PyObject
*swig_obj
[1] ;
25601 if (!args
) SWIG_fail
;
25602 swig_obj
[0] = args
;
25603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25604 if (!SWIG_IsOK(res1
)) {
25605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25607 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 (arg1
)->CalculatePaperSizeFromId();
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 resultobj
= SWIG_Py_Void();
25621 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25624 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25625 return SWIG_Py_Void();
25628 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25629 return SWIG_Python_InitShadowInstance(args
);
25632 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25633 PyObject
*resultobj
= 0;
25634 wxWindow
*arg1
= (wxWindow
*) 0 ;
25635 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25636 wxPageSetupDialog
*result
= 0 ;
25641 PyObject
* obj0
= 0 ;
25642 PyObject
* obj1
= 0 ;
25643 char * kwnames
[] = {
25644 (char *) "parent",(char *) "data", NULL
25647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25649 if (!SWIG_IsOK(res1
)) {
25650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25652 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25654 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25655 if (!SWIG_IsOK(res2
)) {
25656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25658 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25661 if (!wxPyCheckForApp()) SWIG_fail
;
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25664 wxPyEndAllowThreads(__tstate
);
25665 if (PyErr_Occurred()) SWIG_fail
;
25667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25674 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25675 PyObject
*resultobj
= 0;
25676 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25679 PyObject
*swig_obj
[1] ;
25681 if (!args
) SWIG_fail
;
25682 swig_obj
[0] = args
;
25683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25684 if (!SWIG_IsOK(res1
)) {
25685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25687 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= SWIG_Py_Void();
25702 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25703 PyObject
*resultobj
= 0;
25704 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25705 wxPageSetupDialogData
*result
= 0 ;
25708 PyObject
*swig_obj
[1] ;
25710 if (!args
) SWIG_fail
;
25711 swig_obj
[0] = args
;
25712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25713 if (!SWIG_IsOK(res1
)) {
25714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25716 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25721 result
= (wxPageSetupDialogData
*) &_result_ref
;
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25733 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25734 PyObject
*resultobj
= 0;
25735 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25736 wxPageSetupDialogData
*result
= 0 ;
25739 PyObject
*swig_obj
[1] ;
25741 if (!args
) SWIG_fail
;
25742 swig_obj
[0] = args
;
25743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25747 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25752 result
= (wxPageSetupDialogData
*) &_result_ref
;
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25764 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25765 PyObject
*resultobj
= 0;
25766 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25770 PyObject
*swig_obj
[1] ;
25772 if (!args
) SWIG_fail
;
25773 swig_obj
[0] = args
;
25774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25775 if (!SWIG_IsOK(res1
)) {
25776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25778 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 result
= (int)(arg1
)->ShowModal();
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 resultobj
= SWIG_From_int(static_cast< int >(result
));
25792 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25794 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25795 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25796 return SWIG_Py_Void();
25799 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25800 return SWIG_Python_InitShadowInstance(args
);
25803 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25804 PyObject
*resultobj
= 0;
25805 wxPrintDialogData
*result
= 0 ;
25807 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25810 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25821 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25822 PyObject
*resultobj
= 0;
25823 wxPrintData
*arg1
= 0 ;
25824 wxPrintDialogData
*result
= 0 ;
25828 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25830 if (!SWIG_IsOK(res1
)) {
25831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25836 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25850 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25851 PyObject
*resultobj
= 0;
25852 wxPrintDialogData
*arg1
= 0 ;
25853 wxPrintDialogData
*result
= 0 ;
25857 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25859 if (!SWIG_IsOK(res1
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25865 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
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(PyObject
*self
, PyObject
*args
) {
25883 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25886 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25891 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25892 _v
= SWIG_CheckState(res
);
25894 if (!_v
) goto check_2
;
25895 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25900 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25904 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25909 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25910 PyObject
*resultobj
= 0;
25911 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25914 PyObject
*swig_obj
[1] ;
25916 if (!args
) SWIG_fail
;
25917 swig_obj
[0] = args
;
25918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25919 if (!SWIG_IsOK(res1
)) {
25920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25922 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25930 resultobj
= SWIG_Py_Void();
25937 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25938 PyObject
*resultobj
= 0;
25939 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25943 PyObject
*swig_obj
[1] ;
25945 if (!args
) SWIG_fail
;
25946 swig_obj
[0] = args
;
25947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25948 if (!SWIG_IsOK(res1
)) {
25949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25951 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_From_int(static_cast< int >(result
));
25965 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25966 PyObject
*resultobj
= 0;
25967 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25971 PyObject
*swig_obj
[1] ;
25973 if (!args
) SWIG_fail
;
25974 swig_obj
[0] = args
;
25975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25976 if (!SWIG_IsOK(res1
)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25979 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= SWIG_From_int(static_cast< int >(result
));
25993 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25994 PyObject
*resultobj
= 0;
25995 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25999 PyObject
*swig_obj
[1] ;
26001 if (!args
) SWIG_fail
;
26002 swig_obj
[0] = args
;
26003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26004 if (!SWIG_IsOK(res1
)) {
26005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26007 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= SWIG_From_int(static_cast< int >(result
));
26021 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26022 PyObject
*resultobj
= 0;
26023 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26027 PyObject
*swig_obj
[1] ;
26029 if (!args
) SWIG_fail
;
26030 swig_obj
[0] = args
;
26031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26032 if (!SWIG_IsOK(res1
)) {
26033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26035 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26042 resultobj
= SWIG_From_int(static_cast< int >(result
));
26049 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26050 PyObject
*resultobj
= 0;
26051 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26055 PyObject
*swig_obj
[1] ;
26057 if (!args
) SWIG_fail
;
26058 swig_obj
[0] = args
;
26059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26060 if (!SWIG_IsOK(res1
)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26063 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= SWIG_From_int(static_cast< int >(result
));
26077 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26078 PyObject
*resultobj
= 0;
26079 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26083 PyObject
*swig_obj
[1] ;
26085 if (!args
) SWIG_fail
;
26086 swig_obj
[0] = args
;
26087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26088 if (!SWIG_IsOK(res1
)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26091 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26107 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(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_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26121 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26137 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26138 PyObject
*resultobj
= 0;
26139 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26143 PyObject
*swig_obj
[1] ;
26145 if (!args
) SWIG_fail
;
26146 swig_obj
[0] = args
;
26147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26148 if (!SWIG_IsOK(res1
)) {
26149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26151 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26155 wxPyEndAllowThreads(__tstate
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26167 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26168 PyObject
*resultobj
= 0;
26169 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26173 PyObject
*swig_obj
[1] ;
26175 if (!args
) SWIG_fail
;
26176 swig_obj
[0] = args
;
26177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26178 if (!SWIG_IsOK(res1
)) {
26179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26181 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26184 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26197 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26198 PyObject
*resultobj
= 0;
26199 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26205 PyObject
* obj0
= 0 ;
26206 PyObject
* obj1
= 0 ;
26207 char * kwnames
[] = {
26208 (char *) "self",(char *) "v", NULL
26211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26213 if (!SWIG_IsOK(res1
)) {
26214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26216 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26218 if (!SWIG_IsOK(ecode2
)) {
26219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26221 arg2
= static_cast< int >(val2
);
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 (arg1
)->SetFromPage(arg2
);
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 resultobj
= SWIG_Py_Void();
26235 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
= 0;
26237 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26243 PyObject
* obj0
= 0 ;
26244 PyObject
* obj1
= 0 ;
26245 char * kwnames
[] = {
26246 (char *) "self",(char *) "v", NULL
26249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26251 if (!SWIG_IsOK(res1
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26254 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26256 if (!SWIG_IsOK(ecode2
)) {
26257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26259 arg2
= static_cast< int >(val2
);
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 (arg1
)->SetToPage(arg2
);
26263 wxPyEndAllowThreads(__tstate
);
26264 if (PyErr_Occurred()) SWIG_fail
;
26266 resultobj
= SWIG_Py_Void();
26273 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26274 PyObject
*resultobj
= 0;
26275 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26281 PyObject
* obj0
= 0 ;
26282 PyObject
* obj1
= 0 ;
26283 char * kwnames
[] = {
26284 (char *) "self",(char *) "v", NULL
26287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26289 if (!SWIG_IsOK(res1
)) {
26290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26292 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26294 if (!SWIG_IsOK(ecode2
)) {
26295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26297 arg2
= static_cast< int >(val2
);
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 (arg1
)->SetMinPage(arg2
);
26301 wxPyEndAllowThreads(__tstate
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26304 resultobj
= SWIG_Py_Void();
26311 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
= 0;
26313 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26319 PyObject
* obj0
= 0 ;
26320 PyObject
* obj1
= 0 ;
26321 char * kwnames
[] = {
26322 (char *) "self",(char *) "v", NULL
26325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26327 if (!SWIG_IsOK(res1
)) {
26328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26330 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26332 if (!SWIG_IsOK(ecode2
)) {
26333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26335 arg2
= static_cast< int >(val2
);
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 (arg1
)->SetMaxPage(arg2
);
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26342 resultobj
= SWIG_Py_Void();
26349 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26350 PyObject
*resultobj
= 0;
26351 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26357 PyObject
* obj0
= 0 ;
26358 PyObject
* obj1
= 0 ;
26359 char * kwnames
[] = {
26360 (char *) "self",(char *) "v", NULL
26363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26365 if (!SWIG_IsOK(res1
)) {
26366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26368 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26370 if (!SWIG_IsOK(ecode2
)) {
26371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26373 arg2
= static_cast< int >(val2
);
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 (arg1
)->SetNoCopies(arg2
);
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 resultobj
= SWIG_Py_Void();
26387 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26388 PyObject
*resultobj
= 0;
26389 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26395 PyObject
* obj0
= 0 ;
26396 PyObject
* obj1
= 0 ;
26397 char * kwnames
[] = {
26398 (char *) "self",(char *) "flag", NULL
26401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26403 if (!SWIG_IsOK(res1
)) {
26404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26406 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26407 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26408 if (!SWIG_IsOK(ecode2
)) {
26409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26411 arg2
= static_cast< bool >(val2
);
26413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26414 (arg1
)->SetAllPages(arg2
);
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 resultobj
= SWIG_Py_Void();
26425 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
= 0;
26427 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26433 PyObject
* obj0
= 0 ;
26434 PyObject
* obj1
= 0 ;
26435 char * kwnames
[] = {
26436 (char *) "self",(char *) "flag", NULL
26439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26441 if (!SWIG_IsOK(res1
)) {
26442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26444 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26445 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26446 if (!SWIG_IsOK(ecode2
)) {
26447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26449 arg2
= static_cast< bool >(val2
);
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 (arg1
)->SetSelection(arg2
);
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= SWIG_Py_Void();
26463 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
= 0;
26465 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 char * kwnames
[] = {
26474 (char *) "self",(char *) "flag", NULL
26477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26479 if (!SWIG_IsOK(res1
)) {
26480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26482 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26483 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26484 if (!SWIG_IsOK(ecode2
)) {
26485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26487 arg2
= static_cast< bool >(val2
);
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 (arg1
)->SetCollate(arg2
);
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 resultobj
= SWIG_Py_Void();
26501 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
= 0;
26503 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26509 PyObject
* obj0
= 0 ;
26510 PyObject
* obj1
= 0 ;
26511 char * kwnames
[] = {
26512 (char *) "self",(char *) "flag", NULL
26515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26517 if (!SWIG_IsOK(res1
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26520 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26521 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26522 if (!SWIG_IsOK(ecode2
)) {
26523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26525 arg2
= static_cast< bool >(val2
);
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 (arg1
)->SetPrintToFile(arg2
);
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 resultobj
= SWIG_Py_Void();
26539 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26540 PyObject
*resultobj
= 0;
26541 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26547 PyObject
* obj0
= 0 ;
26548 PyObject
* obj1
= 0 ;
26549 char * kwnames
[] = {
26550 (char *) "self",(char *) "flag", NULL
26553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26555 if (!SWIG_IsOK(res1
)) {
26556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26558 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26559 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26560 if (!SWIG_IsOK(ecode2
)) {
26561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26563 arg2
= static_cast< bool >(val2
);
26565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26566 (arg1
)->EnablePrintToFile(arg2
);
26567 wxPyEndAllowThreads(__tstate
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26570 resultobj
= SWIG_Py_Void();
26577 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26578 PyObject
*resultobj
= 0;
26579 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26585 PyObject
* obj0
= 0 ;
26586 PyObject
* obj1
= 0 ;
26587 char * kwnames
[] = {
26588 (char *) "self",(char *) "flag", NULL
26591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26593 if (!SWIG_IsOK(res1
)) {
26594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26596 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26597 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26598 if (!SWIG_IsOK(ecode2
)) {
26599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26601 arg2
= static_cast< bool >(val2
);
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 (arg1
)->EnableSelection(arg2
);
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 resultobj
= SWIG_Py_Void();
26615 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
= 0;
26617 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26623 PyObject
* obj0
= 0 ;
26624 PyObject
* obj1
= 0 ;
26625 char * kwnames
[] = {
26626 (char *) "self",(char *) "flag", NULL
26629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26631 if (!SWIG_IsOK(res1
)) {
26632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26634 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26635 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26636 if (!SWIG_IsOK(ecode2
)) {
26637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26639 arg2
= static_cast< bool >(val2
);
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 (arg1
)->EnablePageNumbers(arg2
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 resultobj
= SWIG_Py_Void();
26653 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
= 0;
26655 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26661 PyObject
* obj0
= 0 ;
26662 PyObject
* obj1
= 0 ;
26663 char * kwnames
[] = {
26664 (char *) "self",(char *) "flag", NULL
26667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26669 if (!SWIG_IsOK(res1
)) {
26670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26672 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26673 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26674 if (!SWIG_IsOK(ecode2
)) {
26675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26677 arg2
= static_cast< bool >(val2
);
26679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26680 (arg1
)->EnableHelp(arg2
);
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= SWIG_Py_Void();
26691 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26692 PyObject
*resultobj
= 0;
26693 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26697 PyObject
*swig_obj
[1] ;
26699 if (!args
) SWIG_fail
;
26700 swig_obj
[0] = args
;
26701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26702 if (!SWIG_IsOK(res1
)) {
26703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26705 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26721 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26722 PyObject
*resultobj
= 0;
26723 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26727 PyObject
*swig_obj
[1] ;
26729 if (!args
) SWIG_fail
;
26730 swig_obj
[0] = args
;
26731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26732 if (!SWIG_IsOK(res1
)) {
26733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26735 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26739 wxPyEndAllowThreads(__tstate
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26751 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26752 PyObject
*resultobj
= 0;
26753 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26757 PyObject
*swig_obj
[1] ;
26759 if (!args
) SWIG_fail
;
26760 swig_obj
[0] = args
;
26761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26762 if (!SWIG_IsOK(res1
)) {
26763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26765 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26781 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26782 PyObject
*resultobj
= 0;
26783 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26787 PyObject
*swig_obj
[1] ;
26789 if (!args
) SWIG_fail
;
26790 swig_obj
[0] = args
;
26791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26792 if (!SWIG_IsOK(res1
)) {
26793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26795 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26798 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26799 wxPyEndAllowThreads(__tstate
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26811 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26812 PyObject
*resultobj
= 0;
26813 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26817 PyObject
*swig_obj
[1] ;
26819 if (!args
) SWIG_fail
;
26820 swig_obj
[0] = args
;
26821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26822 if (!SWIG_IsOK(res1
)) {
26823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26825 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26841 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26842 PyObject
*resultobj
= 0;
26843 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26844 wxPrintData
*result
= 0 ;
26847 PyObject
*swig_obj
[1] ;
26849 if (!args
) SWIG_fail
;
26850 swig_obj
[0] = args
;
26851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26852 if (!SWIG_IsOK(res1
)) {
26853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26855 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26860 result
= (wxPrintData
*) &_result_ref
;
26862 wxPyEndAllowThreads(__tstate
);
26863 if (PyErr_Occurred()) SWIG_fail
;
26865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26872 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26873 PyObject
*resultobj
= 0;
26874 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26875 wxPrintData
*arg2
= 0 ;
26880 PyObject
* obj0
= 0 ;
26881 PyObject
* obj1
= 0 ;
26882 char * kwnames
[] = {
26883 (char *) "self",(char *) "printData", NULL
26886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26888 if (!SWIG_IsOK(res1
)) {
26889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26891 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26892 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26893 if (!SWIG_IsOK(res2
)) {
26894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26899 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26902 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26906 resultobj
= SWIG_Py_Void();
26913 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26916 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26917 return SWIG_Py_Void();
26920 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26921 return SWIG_Python_InitShadowInstance(args
);
26924 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26925 PyObject
*resultobj
= 0;
26926 wxWindow
*arg1
= (wxWindow
*) 0 ;
26927 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26928 wxPrintDialog
*result
= 0 ;
26933 PyObject
* obj0
= 0 ;
26934 PyObject
* obj1
= 0 ;
26935 char * kwnames
[] = {
26936 (char *) "parent",(char *) "data", NULL
26939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26941 if (!SWIG_IsOK(res1
)) {
26942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26944 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26947 if (!SWIG_IsOK(res2
)) {
26948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26950 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26953 if (!wxPyCheckForApp()) SWIG_fail
;
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26966 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26967 PyObject
*resultobj
= 0;
26968 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26971 PyObject
*swig_obj
[1] ;
26973 if (!args
) SWIG_fail
;
26974 swig_obj
[0] = args
;
26975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26976 if (!SWIG_IsOK(res1
)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26979 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 resultobj
= SWIG_Py_Void();
26994 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26995 PyObject
*resultobj
= 0;
26996 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27000 PyObject
*swig_obj
[1] ;
27002 if (!args
) SWIG_fail
;
27003 swig_obj
[0] = args
;
27004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27005 if (!SWIG_IsOK(res1
)) {
27006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27008 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= (int)(arg1
)->ShowModal();
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27015 resultobj
= SWIG_From_int(static_cast< int >(result
));
27022 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27023 PyObject
*resultobj
= 0;
27024 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27025 wxPrintDialogData
*result
= 0 ;
27028 PyObject
*swig_obj
[1] ;
27030 if (!args
) SWIG_fail
;
27031 swig_obj
[0] = args
;
27032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27033 if (!SWIG_IsOK(res1
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27036 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27041 result
= (wxPrintDialogData
*) &_result_ref
;
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27053 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27054 PyObject
*resultobj
= 0;
27055 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27056 wxPrintData
*result
= 0 ;
27059 PyObject
*swig_obj
[1] ;
27061 if (!args
) SWIG_fail
;
27062 swig_obj
[0] = args
;
27063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27064 if (!SWIG_IsOK(res1
)) {
27065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27067 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27072 result
= (wxPrintData
*) &_result_ref
;
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27084 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27085 PyObject
*resultobj
= 0;
27086 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27090 PyObject
*swig_obj
[1] ;
27092 if (!args
) SWIG_fail
;
27093 swig_obj
[0] = args
;
27094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27095 if (!SWIG_IsOK(res1
)) {
27096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27098 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 result
= (wxDC
*)(arg1
)->GetPrintDC();
27102 wxPyEndAllowThreads(__tstate
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27106 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27114 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27117 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27118 return SWIG_Py_Void();
27121 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27122 return SWIG_Python_InitShadowInstance(args
);
27125 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27126 PyObject
*resultobj
= 0;
27127 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27128 wxPrinter
*result
= 0 ;
27131 PyObject
* obj0
= 0 ;
27132 char * kwnames
[] = {
27133 (char *) "data", NULL
27136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27139 if (!SWIG_IsOK(res1
)) {
27140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27142 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27145 if (!wxPyCheckForApp()) SWIG_fail
;
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 result
= (wxPrinter
*)new wxPrinter(arg1
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27158 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27159 PyObject
*resultobj
= 0;
27160 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27163 PyObject
*swig_obj
[1] ;
27165 if (!args
) SWIG_fail
;
27166 swig_obj
[0] = args
;
27167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27168 if (!SWIG_IsOK(res1
)) {
27169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27171 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_Py_Void();
27186 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
= 0;
27188 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27189 wxWindow
*arg2
= (wxWindow
*) 0 ;
27190 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27191 wxWindow
*result
= 0 ;
27198 PyObject
* obj0
= 0 ;
27199 PyObject
* obj1
= 0 ;
27200 PyObject
* obj2
= 0 ;
27201 char * kwnames
[] = {
27202 (char *) "self",(char *) "parent",(char *) "printout", NULL
27205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27207 if (!SWIG_IsOK(res1
)) {
27208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27210 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27211 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27212 if (!SWIG_IsOK(res2
)) {
27213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27215 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27216 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27217 if (!SWIG_IsOK(res3
)) {
27218 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27220 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27223 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27228 resultobj
= wxPyMake_wxObject(result
, 0);
27236 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27237 PyObject
*resultobj
= 0;
27238 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27239 wxWindow
*arg2
= (wxWindow
*) 0 ;
27240 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27241 wxString
*arg4
= 0 ;
27248 bool temp4
= false ;
27249 PyObject
* obj0
= 0 ;
27250 PyObject
* obj1
= 0 ;
27251 PyObject
* obj2
= 0 ;
27252 PyObject
* obj3
= 0 ;
27253 char * kwnames
[] = {
27254 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27259 if (!SWIG_IsOK(res1
)) {
27260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27262 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27263 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27264 if (!SWIG_IsOK(res2
)) {
27265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27267 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27268 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27269 if (!SWIG_IsOK(res3
)) {
27270 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27272 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27274 arg4
= wxString_in_helper(obj3
);
27275 if (arg4
== NULL
) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27284 resultobj
= SWIG_Py_Void();
27299 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27300 PyObject
*resultobj
= 0;
27301 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27302 wxWindow
*arg2
= (wxWindow
*) 0 ;
27308 PyObject
* obj0
= 0 ;
27309 PyObject
* obj1
= 0 ;
27310 char * kwnames
[] = {
27311 (char *) "self",(char *) "parent", NULL
27314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27316 if (!SWIG_IsOK(res1
)) {
27317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27319 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27320 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27321 if (!SWIG_IsOK(res2
)) {
27322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27324 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 result
= (bool)(arg1
)->Setup(arg2
);
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27340 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27341 PyObject
*resultobj
= 0;
27342 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27343 wxWindow
*arg2
= (wxWindow
*) 0 ;
27344 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27345 bool arg4
= (bool) true ;
27355 PyObject
* obj0
= 0 ;
27356 PyObject
* obj1
= 0 ;
27357 PyObject
* obj2
= 0 ;
27358 PyObject
* obj3
= 0 ;
27359 char * kwnames
[] = {
27360 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27365 if (!SWIG_IsOK(res1
)) {
27366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27368 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27370 if (!SWIG_IsOK(res2
)) {
27371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27373 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27374 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27375 if (!SWIG_IsOK(res3
)) {
27376 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27378 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27380 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27381 if (!SWIG_IsOK(ecode4
)) {
27382 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27384 arg4
= static_cast< bool >(val4
);
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27401 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
= 0;
27403 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27404 wxWindow
*arg2
= (wxWindow
*) 0 ;
27410 PyObject
* obj0
= 0 ;
27411 PyObject
* obj1
= 0 ;
27412 char * kwnames
[] = {
27413 (char *) "self",(char *) "parent", NULL
27416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27418 if (!SWIG_IsOK(res1
)) {
27419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27421 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27422 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27423 if (!SWIG_IsOK(res2
)) {
27424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27426 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27429 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27434 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27442 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27443 PyObject
*resultobj
= 0;
27444 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27445 wxPrintDialogData
*result
= 0 ;
27448 PyObject
*swig_obj
[1] ;
27450 if (!args
) SWIG_fail
;
27451 swig_obj
[0] = args
;
27452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27453 if (!SWIG_IsOK(res1
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27456 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27461 result
= (wxPrintDialogData
*) &_result_ref
;
27463 wxPyEndAllowThreads(__tstate
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27473 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27474 PyObject
*resultobj
= 0;
27475 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27479 PyObject
*swig_obj
[1] ;
27481 if (!args
) SWIG_fail
;
27482 swig_obj
[0] = args
;
27483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27484 if (!SWIG_IsOK(res1
)) {
27485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27487 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27490 result
= (bool)(arg1
)->GetAbort();
27491 wxPyEndAllowThreads(__tstate
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27503 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27504 PyObject
*resultobj
= 0;
27505 wxPrinterError result
;
27507 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27510 result
= (wxPrinterError
)wxPrinter::GetLastError();
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 resultobj
= SWIG_From_int(static_cast< int >(result
));
27521 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27524 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27525 return SWIG_Py_Void();
27528 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27529 return SWIG_Python_InitShadowInstance(args
);
27532 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
= 0;
27534 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27535 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27536 wxPyPrintout
*result
= 0 ;
27537 bool temp1
= false ;
27538 PyObject
* obj0
= 0 ;
27539 char * kwnames
[] = {
27540 (char *) "title", NULL
27543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27546 arg1
= wxString_in_helper(obj0
);
27547 if (arg1
== NULL
) SWIG_fail
;
27552 if (!wxPyCheckForApp()) SWIG_fail
;
27553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27554 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27573 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27574 PyObject
*resultobj
= 0;
27575 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27578 PyObject
*swig_obj
[1] ;
27580 if (!args
) SWIG_fail
;
27581 swig_obj
[0] = args
;
27582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27583 if (!SWIG_IsOK(res1
)) {
27584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27586 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 resultobj
= SWIG_Py_Void();
27601 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
= 0;
27603 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27604 PyObject
*arg2
= (PyObject
*) 0 ;
27605 PyObject
*arg3
= (PyObject
*) 0 ;
27608 PyObject
* obj0
= 0 ;
27609 PyObject
* obj1
= 0 ;
27610 PyObject
* obj2
= 0 ;
27611 char * kwnames
[] = {
27612 (char *) "self",(char *) "self",(char *) "_class", NULL
27615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27617 if (!SWIG_IsOK(res1
)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27620 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27625 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 resultobj
= SWIG_Py_Void();
27636 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27637 PyObject
*resultobj
= 0;
27638 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27642 PyObject
*swig_obj
[1] ;
27644 if (!args
) SWIG_fail
;
27645 swig_obj
[0] = args
;
27646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27647 if (!SWIG_IsOK(res1
)) {
27648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27650 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27653 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27670 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27671 PyObject
*resultobj
= 0;
27672 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27676 PyObject
*swig_obj
[1] ;
27678 if (!args
) SWIG_fail
;
27679 swig_obj
[0] = args
;
27680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27681 if (!SWIG_IsOK(res1
)) {
27682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27684 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27687 result
= (wxDC
*)(arg1
)->GetDC();
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27692 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27700 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
= 0;
27702 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27703 wxDC
*arg2
= (wxDC
*) 0 ;
27708 PyObject
* obj0
= 0 ;
27709 PyObject
* obj1
= 0 ;
27710 char * kwnames
[] = {
27711 (char *) "self",(char *) "dc", NULL
27714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27716 if (!SWIG_IsOK(res1
)) {
27717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27719 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27721 if (!SWIG_IsOK(res2
)) {
27722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27724 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27727 (arg1
)->SetDC(arg2
);
27728 wxPyEndAllowThreads(__tstate
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27731 resultobj
= SWIG_Py_Void();
27738 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27739 PyObject
*resultobj
= 0;
27740 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27745 PyObject
* obj0
= 0 ;
27746 PyObject
* obj1
= 0 ;
27747 char * kwnames
[] = {
27748 (char *) "self",(char *) "imageSize", NULL
27751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27753 if (!SWIG_IsOK(res1
)) {
27754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27756 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27759 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
27764 wxPyEndAllowThreads(__tstate
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27767 resultobj
= SWIG_Py_Void();
27774 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
= 0;
27776 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27781 PyObject
* obj0
= 0 ;
27782 PyObject
* obj1
= 0 ;
27783 char * kwnames
[] = {
27784 (char *) "self",(char *) "imageSize", NULL
27787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27789 if (!SWIG_IsOK(res1
)) {
27790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27792 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27795 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
27800 wxPyEndAllowThreads(__tstate
);
27801 if (PyErr_Occurred()) SWIG_fail
;
27803 resultobj
= SWIG_Py_Void();
27810 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27811 PyObject
*resultobj
= 0;
27812 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27814 wxPageSetupDialogData
*arg3
= 0 ;
27820 PyObject
* obj0
= 0 ;
27821 PyObject
* obj1
= 0 ;
27822 PyObject
* obj2
= 0 ;
27823 char * kwnames
[] = {
27824 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
27827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27829 if (!SWIG_IsOK(res1
)) {
27830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27832 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27835 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27837 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
27838 if (!SWIG_IsOK(res3
)) {
27839 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27844 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 resultobj
= SWIG_Py_Void();
27858 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27859 PyObject
*resultobj
= 0;
27860 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27863 PyObject
*swig_obj
[1] ;
27865 if (!args
) SWIG_fail
;
27866 swig_obj
[0] = args
;
27867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27868 if (!SWIG_IsOK(res1
)) {
27869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27871 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27874 (arg1
)->MapScreenSizeToPaper();
27875 wxPyEndAllowThreads(__tstate
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27878 resultobj
= SWIG_Py_Void();
27885 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27886 PyObject
*resultobj
= 0;
27887 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27890 PyObject
*swig_obj
[1] ;
27892 if (!args
) SWIG_fail
;
27893 swig_obj
[0] = args
;
27894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27895 if (!SWIG_IsOK(res1
)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27898 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27901 (arg1
)->MapScreenSizeToPage();
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27905 resultobj
= SWIG_Py_Void();
27912 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27913 PyObject
*resultobj
= 0;
27914 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27915 wxPageSetupDialogData
*arg2
= 0 ;
27920 PyObject
* obj0
= 0 ;
27921 PyObject
* obj1
= 0 ;
27922 char * kwnames
[] = {
27923 (char *) "self",(char *) "pageSetupData", NULL
27926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27928 if (!SWIG_IsOK(res1
)) {
27929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27931 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27932 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
27933 if (!SWIG_IsOK(res2
)) {
27934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
27937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
27939 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
27941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
27943 wxPyEndAllowThreads(__tstate
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27946 resultobj
= SWIG_Py_Void();
27953 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27954 PyObject
*resultobj
= 0;
27955 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27958 PyObject
*swig_obj
[1] ;
27960 if (!args
) SWIG_fail
;
27961 swig_obj
[0] = args
;
27962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27963 if (!SWIG_IsOK(res1
)) {
27964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27966 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27969 (arg1
)->MapScreenSizeToDevice();
27970 wxPyEndAllowThreads(__tstate
);
27971 if (PyErr_Occurred()) SWIG_fail
;
27973 resultobj
= SWIG_Py_Void();
27980 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27981 PyObject
*resultobj
= 0;
27982 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27986 PyObject
*swig_obj
[1] ;
27988 if (!args
) SWIG_fail
;
27989 swig_obj
[0] = args
;
27990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27991 if (!SWIG_IsOK(res1
)) {
27992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27994 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27997 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
27998 wxPyEndAllowThreads(__tstate
);
27999 if (PyErr_Occurred()) SWIG_fail
;
28001 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28008 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28009 PyObject
*resultobj
= 0;
28010 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28014 PyObject
*swig_obj
[1] ;
28016 if (!args
) SWIG_fail
;
28017 swig_obj
[0] = args
;
28018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28019 if (!SWIG_IsOK(res1
)) {
28020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28022 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28029 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28036 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
= 0;
28038 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28039 wxPageSetupDialogData
*arg2
= 0 ;
28045 PyObject
* obj0
= 0 ;
28046 PyObject
* obj1
= 0 ;
28047 char * kwnames
[] = {
28048 (char *) "self",(char *) "pageSetupData", NULL
28051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28053 if (!SWIG_IsOK(res1
)) {
28054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28056 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28057 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28058 if (!SWIG_IsOK(res2
)) {
28059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28064 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28067 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28078 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(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_SetLogicalOrigin",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_SetLogicalOrigin" "', 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_SetLogicalOrigin" "', 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_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28111 arg3
= static_cast< int >(val3
);
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= SWIG_Py_Void();
28125 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
= 0;
28127 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28136 PyObject
* obj0
= 0 ;
28137 PyObject
* obj1
= 0 ;
28138 PyObject
* obj2
= 0 ;
28139 char * kwnames
[] = {
28140 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28145 if (!SWIG_IsOK(res1
)) {
28146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28148 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28150 if (!SWIG_IsOK(ecode2
)) {
28151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28153 arg2
= static_cast< int >(val2
);
28154 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28155 if (!SWIG_IsOK(ecode3
)) {
28156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28158 arg3
= static_cast< int >(val3
);
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28165 resultobj
= SWIG_Py_Void();
28172 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28173 PyObject
*resultobj
= 0;
28174 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28183 PyObject
* obj0
= 0 ;
28184 PyObject
* obj1
= 0 ;
28185 PyObject
* obj2
= 0 ;
28186 char * kwnames
[] = {
28187 (char *) "self",(char *) "w",(char *) "h", NULL
28190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28192 if (!SWIG_IsOK(res1
)) {
28193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28195 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28197 if (!SWIG_IsOK(ecode2
)) {
28198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28200 arg2
= static_cast< int >(val2
);
28201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28202 if (!SWIG_IsOK(ecode3
)) {
28203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28205 arg3
= static_cast< int >(val3
);
28207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28208 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= SWIG_Py_Void();
28219 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28220 PyObject
*resultobj
= 0;
28221 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28222 int *arg2
= (int *) 0 ;
28223 int *arg3
= (int *) 0 ;
28227 int res2
= SWIG_TMPOBJ
;
28229 int res3
= SWIG_TMPOBJ
;
28230 PyObject
*swig_obj
[1] ;
28234 if (!args
) SWIG_fail
;
28235 swig_obj
[0] = args
;
28236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28237 if (!SWIG_IsOK(res1
)) {
28238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28240 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28244 wxPyEndAllowThreads(__tstate
);
28245 if (PyErr_Occurred()) SWIG_fail
;
28247 resultobj
= SWIG_Py_Void();
28248 if (SWIG_IsTmpObj(res2
)) {
28249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28251 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28254 if (SWIG_IsTmpObj(res3
)) {
28255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28257 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28266 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
= 0;
28268 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28277 PyObject
* obj0
= 0 ;
28278 PyObject
* obj1
= 0 ;
28279 PyObject
* obj2
= 0 ;
28280 char * kwnames
[] = {
28281 (char *) "self",(char *) "w",(char *) "h", NULL
28284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28286 if (!SWIG_IsOK(res1
)) {
28287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28289 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28291 if (!SWIG_IsOK(ecode2
)) {
28292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28294 arg2
= static_cast< int >(val2
);
28295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28296 if (!SWIG_IsOK(ecode3
)) {
28297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28299 arg3
= static_cast< int >(val3
);
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28303 wxPyEndAllowThreads(__tstate
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28306 resultobj
= SWIG_Py_Void();
28313 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28314 PyObject
*resultobj
= 0;
28315 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28316 int *arg2
= (int *) 0 ;
28317 int *arg3
= (int *) 0 ;
28321 int res2
= SWIG_TMPOBJ
;
28323 int res3
= SWIG_TMPOBJ
;
28324 PyObject
*swig_obj
[1] ;
28328 if (!args
) SWIG_fail
;
28329 swig_obj
[0] = args
;
28330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28331 if (!SWIG_IsOK(res1
)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28334 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28338 wxPyEndAllowThreads(__tstate
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28341 resultobj
= SWIG_Py_Void();
28342 if (SWIG_IsTmpObj(res2
)) {
28343 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28345 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28346 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28348 if (SWIG_IsTmpObj(res3
)) {
28349 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28351 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28352 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28360 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28361 PyObject
*resultobj
= 0;
28362 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28371 PyObject
* obj0
= 0 ;
28372 PyObject
* obj1
= 0 ;
28373 PyObject
* obj2
= 0 ;
28374 char * kwnames
[] = {
28375 (char *) "self",(char *) "x",(char *) "y", NULL
28378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28380 if (!SWIG_IsOK(res1
)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28383 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28385 if (!SWIG_IsOK(ecode2
)) {
28386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28388 arg2
= static_cast< int >(val2
);
28389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28390 if (!SWIG_IsOK(ecode3
)) {
28391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28393 arg3
= static_cast< int >(val3
);
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 (arg1
)->SetPPIScreen(arg2
,arg3
);
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 resultobj
= SWIG_Py_Void();
28407 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28408 PyObject
*resultobj
= 0;
28409 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28410 int *arg2
= (int *) 0 ;
28411 int *arg3
= (int *) 0 ;
28415 int res2
= SWIG_TMPOBJ
;
28417 int res3
= SWIG_TMPOBJ
;
28418 PyObject
*swig_obj
[1] ;
28422 if (!args
) SWIG_fail
;
28423 swig_obj
[0] = args
;
28424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28425 if (!SWIG_IsOK(res1
)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28428 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28431 (arg1
)->GetPPIScreen(arg2
,arg3
);
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= SWIG_Py_Void();
28436 if (SWIG_IsTmpObj(res2
)) {
28437 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28439 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28440 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28442 if (SWIG_IsTmpObj(res3
)) {
28443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28445 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28446 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28454 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
= 0;
28456 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28465 PyObject
* obj0
= 0 ;
28466 PyObject
* obj1
= 0 ;
28467 PyObject
* obj2
= 0 ;
28468 char * kwnames
[] = {
28469 (char *) "self",(char *) "x",(char *) "y", NULL
28472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28474 if (!SWIG_IsOK(res1
)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28477 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28479 if (!SWIG_IsOK(ecode2
)) {
28480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28482 arg2
= static_cast< int >(val2
);
28483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28484 if (!SWIG_IsOK(ecode3
)) {
28485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28487 arg3
= static_cast< int >(val3
);
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= SWIG_Py_Void();
28501 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28502 PyObject
*resultobj
= 0;
28503 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28504 int *arg2
= (int *) 0 ;
28505 int *arg3
= (int *) 0 ;
28509 int res2
= SWIG_TMPOBJ
;
28511 int res3
= SWIG_TMPOBJ
;
28512 PyObject
*swig_obj
[1] ;
28516 if (!args
) SWIG_fail
;
28517 swig_obj
[0] = args
;
28518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28519 if (!SWIG_IsOK(res1
)) {
28520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28522 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= SWIG_Py_Void();
28530 if (SWIG_IsTmpObj(res2
)) {
28531 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28533 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28536 if (SWIG_IsTmpObj(res3
)) {
28537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28539 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28548 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28549 PyObject
*resultobj
= 0;
28550 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28555 PyObject
* obj0
= 0 ;
28556 PyObject
* obj1
= 0 ;
28557 char * kwnames
[] = {
28558 (char *) "self",(char *) "paperRectPixels", NULL
28561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28563 if (!SWIG_IsOK(res1
)) {
28564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28566 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28569 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28573 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28574 wxPyEndAllowThreads(__tstate
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 resultobj
= SWIG_Py_Void();
28584 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28585 PyObject
*resultobj
= 0;
28586 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28590 PyObject
*swig_obj
[1] ;
28592 if (!args
) SWIG_fail
;
28593 swig_obj
[0] = args
;
28594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28595 if (!SWIG_IsOK(res1
)) {
28596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28598 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28605 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28612 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28613 PyObject
*resultobj
= 0;
28614 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28618 PyObject
*swig_obj
[1] ;
28620 if (!args
) SWIG_fail
;
28621 swig_obj
[0] = args
;
28622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28623 if (!SWIG_IsOK(res1
)) {
28624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28626 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 result
= (bool)(arg1
)->IsPreview();
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28642 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28643 PyObject
*resultobj
= 0;
28644 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28650 PyObject
* obj0
= 0 ;
28651 PyObject
* obj1
= 0 ;
28652 char * kwnames
[] = {
28653 (char *) "self",(char *) "p", NULL
28656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28658 if (!SWIG_IsOK(res1
)) {
28659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28661 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28662 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28663 if (!SWIG_IsOK(ecode2
)) {
28664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28666 arg2
= static_cast< bool >(val2
);
28668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28669 (arg1
)->SetIsPreview(arg2
);
28670 wxPyEndAllowThreads(__tstate
);
28671 if (PyErr_Occurred()) SWIG_fail
;
28673 resultobj
= SWIG_Py_Void();
28680 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28681 PyObject
*resultobj
= 0;
28682 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28692 PyObject
* obj0
= 0 ;
28693 PyObject
* obj1
= 0 ;
28694 PyObject
* obj2
= 0 ;
28695 char * kwnames
[] = {
28696 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28701 if (!SWIG_IsOK(res1
)) {
28702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28704 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28706 if (!SWIG_IsOK(ecode2
)) {
28707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28709 arg2
= static_cast< int >(val2
);
28710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28711 if (!SWIG_IsOK(ecode3
)) {
28712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28714 arg3
= static_cast< int >(val3
);
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28730 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28731 PyObject
*resultobj
= 0;
28732 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28735 PyObject
*swig_obj
[1] ;
28737 if (!args
) SWIG_fail
;
28738 swig_obj
[0] = args
;
28739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28740 if (!SWIG_IsOK(res1
)) {
28741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28743 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 (arg1
)->OnEndDocument();
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= SWIG_Py_Void();
28757 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28758 PyObject
*resultobj
= 0;
28759 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28762 PyObject
*swig_obj
[1] ;
28764 if (!args
) SWIG_fail
;
28765 swig_obj
[0] = args
;
28766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28767 if (!SWIG_IsOK(res1
)) {
28768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28770 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 (arg1
)->OnBeginPrinting();
28774 wxPyEndAllowThreads(__tstate
);
28775 if (PyErr_Occurred()) SWIG_fail
;
28777 resultobj
= SWIG_Py_Void();
28784 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28785 PyObject
*resultobj
= 0;
28786 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28789 PyObject
*swig_obj
[1] ;
28791 if (!args
) SWIG_fail
;
28792 swig_obj
[0] = args
;
28793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28794 if (!SWIG_IsOK(res1
)) {
28795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28797 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28800 (arg1
)->OnEndPrinting();
28801 wxPyEndAllowThreads(__tstate
);
28802 if (PyErr_Occurred()) SWIG_fail
;
28804 resultobj
= SWIG_Py_Void();
28811 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28812 PyObject
*resultobj
= 0;
28813 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28816 PyObject
*swig_obj
[1] ;
28818 if (!args
) SWIG_fail
;
28819 swig_obj
[0] = args
;
28820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28821 if (!SWIG_IsOK(res1
)) {
28822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28824 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28827 (arg1
)->OnPreparePrinting();
28828 wxPyEndAllowThreads(__tstate
);
28829 if (PyErr_Occurred()) SWIG_fail
;
28831 resultobj
= SWIG_Py_Void();
28838 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28839 PyObject
*resultobj
= 0;
28840 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28847 PyObject
* obj0
= 0 ;
28848 PyObject
* obj1
= 0 ;
28849 char * kwnames
[] = {
28850 (char *) "self",(char *) "page", NULL
28853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28855 if (!SWIG_IsOK(res1
)) {
28856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28858 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28860 if (!SWIG_IsOK(ecode2
)) {
28861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28863 arg2
= static_cast< int >(val2
);
28865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28866 result
= (bool)(arg1
)->HasPage(arg2
);
28867 wxPyEndAllowThreads(__tstate
);
28868 if (PyErr_Occurred()) SWIG_fail
;
28871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28879 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28880 PyObject
*resultobj
= 0;
28881 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28882 int *arg2
= (int *) 0 ;
28883 int *arg3
= (int *) 0 ;
28884 int *arg4
= (int *) 0 ;
28885 int *arg5
= (int *) 0 ;
28889 int res2
= SWIG_TMPOBJ
;
28891 int res3
= SWIG_TMPOBJ
;
28893 int res4
= SWIG_TMPOBJ
;
28895 int res5
= SWIG_TMPOBJ
;
28896 PyObject
*swig_obj
[1] ;
28902 if (!args
) SWIG_fail
;
28903 swig_obj
[0] = args
;
28904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28905 if (!SWIG_IsOK(res1
)) {
28906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28908 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28912 wxPyEndAllowThreads(__tstate
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28915 resultobj
= SWIG_Py_Void();
28916 if (SWIG_IsTmpObj(res2
)) {
28917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28919 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28922 if (SWIG_IsTmpObj(res3
)) {
28923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28925 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28928 if (SWIG_IsTmpObj(res4
)) {
28929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28931 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28934 if (SWIG_IsTmpObj(res5
)) {
28935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28937 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28946 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28949 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28950 return SWIG_Py_Void();
28953 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28954 return SWIG_Python_InitShadowInstance(args
);
28957 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28958 PyObject
*resultobj
= 0;
28959 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28960 wxWindow
*arg2
= (wxWindow
*) 0 ;
28961 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28962 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28963 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28964 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28965 long arg5
= (long) 0 ;
28966 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28967 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28968 wxPreviewCanvas
*result
= 0 ;
28977 bool temp6
= false ;
28978 PyObject
* obj0
= 0 ;
28979 PyObject
* obj1
= 0 ;
28980 PyObject
* obj2
= 0 ;
28981 PyObject
* obj3
= 0 ;
28982 PyObject
* obj4
= 0 ;
28983 PyObject
* obj5
= 0 ;
28984 char * kwnames
[] = {
28985 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28990 if (!SWIG_IsOK(res1
)) {
28991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28993 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28995 if (!SWIG_IsOK(res2
)) {
28996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28998 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29002 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29008 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29012 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29013 if (!SWIG_IsOK(ecode5
)) {
29014 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29016 arg5
= static_cast< long >(val5
);
29020 arg6
= wxString_in_helper(obj5
);
29021 if (arg6
== NULL
) SWIG_fail
;
29026 if (!wxPyCheckForApp()) SWIG_fail
;
29027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29047 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29050 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29051 return SWIG_Py_Void();
29054 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29055 return SWIG_Python_InitShadowInstance(args
);
29058 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29059 PyObject
*resultobj
= 0;
29060 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29061 wxFrame
*arg2
= (wxFrame
*) 0 ;
29062 wxString
*arg3
= 0 ;
29063 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29064 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29065 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29066 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29067 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29068 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29069 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29070 wxPreviewFrame
*result
= 0 ;
29074 bool temp3
= false ;
29079 bool temp7
= false ;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 PyObject
* obj2
= 0 ;
29083 PyObject
* obj3
= 0 ;
29084 PyObject
* obj4
= 0 ;
29085 PyObject
* obj5
= 0 ;
29086 PyObject
* obj6
= 0 ;
29087 char * kwnames
[] = {
29088 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29092 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29093 if (!SWIG_IsOK(res1
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29096 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29097 if (!SWIG_IsOK(res2
)) {
29098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29100 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29102 arg3
= wxString_in_helper(obj2
);
29103 if (arg3
== NULL
) SWIG_fail
;
29109 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29115 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29119 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29120 if (!SWIG_IsOK(ecode6
)) {
29121 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29123 arg6
= static_cast< long >(val6
);
29127 arg7
= wxString_in_helper(obj6
);
29128 if (arg7
== NULL
) SWIG_fail
;
29133 if (!wxPyCheckForApp()) SWIG_fail
;
29134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29135 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29136 wxPyEndAllowThreads(__tstate
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29162 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29163 PyObject
*resultobj
= 0;
29164 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29167 PyObject
*swig_obj
[1] ;
29169 if (!args
) SWIG_fail
;
29170 swig_obj
[0] = args
;
29171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29172 if (!SWIG_IsOK(res1
)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29175 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 (arg1
)->Initialize();
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29182 resultobj
= SWIG_Py_Void();
29189 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29190 PyObject
*resultobj
= 0;
29191 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29194 PyObject
*swig_obj
[1] ;
29196 if (!args
) SWIG_fail
;
29197 swig_obj
[0] = args
;
29198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29199 if (!SWIG_IsOK(res1
)) {
29200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29202 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 (arg1
)->CreateControlBar();
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= SWIG_Py_Void();
29216 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29217 PyObject
*resultobj
= 0;
29218 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29221 PyObject
*swig_obj
[1] ;
29223 if (!args
) SWIG_fail
;
29224 swig_obj
[0] = args
;
29225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29226 if (!SWIG_IsOK(res1
)) {
29227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29229 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 (arg1
)->CreateCanvas();
29233 wxPyEndAllowThreads(__tstate
);
29234 if (PyErr_Occurred()) SWIG_fail
;
29236 resultobj
= SWIG_Py_Void();
29243 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29244 PyObject
*resultobj
= 0;
29245 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29246 wxPreviewControlBar
*result
= 0 ;
29249 PyObject
*swig_obj
[1] ;
29251 if (!args
) SWIG_fail
;
29252 swig_obj
[0] = args
;
29253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29254 if (!SWIG_IsOK(res1
)) {
29255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29257 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29260 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29271 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29274 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29275 return SWIG_Py_Void();
29278 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29279 return SWIG_Python_InitShadowInstance(args
);
29282 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29283 PyObject
*resultobj
= 0;
29284 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29286 wxWindow
*arg3
= (wxWindow
*) 0 ;
29287 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29288 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29289 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29290 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29291 long arg6
= (long) wxTAB_TRAVERSAL
;
29292 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29293 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29294 wxPreviewControlBar
*result
= 0 ;
29305 bool temp7
= false ;
29306 PyObject
* obj0
= 0 ;
29307 PyObject
* obj1
= 0 ;
29308 PyObject
* obj2
= 0 ;
29309 PyObject
* obj3
= 0 ;
29310 PyObject
* obj4
= 0 ;
29311 PyObject
* obj5
= 0 ;
29312 PyObject
* obj6
= 0 ;
29313 char * kwnames
[] = {
29314 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29319 if (!SWIG_IsOK(res1
)) {
29320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29322 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29323 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29324 if (!SWIG_IsOK(ecode2
)) {
29325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29327 arg2
= static_cast< long >(val2
);
29328 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29329 if (!SWIG_IsOK(res3
)) {
29330 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29332 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29336 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29342 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29346 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29347 if (!SWIG_IsOK(ecode6
)) {
29348 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29350 arg6
= static_cast< long >(val6
);
29354 arg7
= wxString_in_helper(obj6
);
29355 if (arg7
== NULL
) SWIG_fail
;
29360 if (!wxPyCheckForApp()) SWIG_fail
;
29361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29362 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29363 wxPyEndAllowThreads(__tstate
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29381 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29382 PyObject
*resultobj
= 0;
29383 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29387 PyObject
*swig_obj
[1] ;
29389 if (!args
) SWIG_fail
;
29390 swig_obj
[0] = args
;
29391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29392 if (!SWIG_IsOK(res1
)) {
29393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29395 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29398 result
= (int)(arg1
)->GetZoomControl();
29399 wxPyEndAllowThreads(__tstate
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29402 resultobj
= SWIG_From_int(static_cast< int >(result
));
29409 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29410 PyObject
*resultobj
= 0;
29411 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29417 PyObject
* obj0
= 0 ;
29418 PyObject
* obj1
= 0 ;
29419 char * kwnames
[] = {
29420 (char *) "self",(char *) "zoom", NULL
29423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29425 if (!SWIG_IsOK(res1
)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29428 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29430 if (!SWIG_IsOK(ecode2
)) {
29431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29433 arg2
= static_cast< int >(val2
);
29435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29436 (arg1
)->SetZoomControl(arg2
);
29437 wxPyEndAllowThreads(__tstate
);
29438 if (PyErr_Occurred()) SWIG_fail
;
29440 resultobj
= SWIG_Py_Void();
29447 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29448 PyObject
*resultobj
= 0;
29449 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29450 wxPrintPreview
*result
= 0 ;
29453 PyObject
*swig_obj
[1] ;
29455 if (!args
) SWIG_fail
;
29456 swig_obj
[0] = args
;
29457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29458 if (!SWIG_IsOK(res1
)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29461 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29464 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29465 wxPyEndAllowThreads(__tstate
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29475 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29476 PyObject
*resultobj
= 0;
29477 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29480 PyObject
*swig_obj
[1] ;
29482 if (!args
) SWIG_fail
;
29483 swig_obj
[0] = args
;
29484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29485 if (!SWIG_IsOK(res1
)) {
29486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29488 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 wxPyEndAllowThreads(__tstate
);
29493 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= SWIG_Py_Void();
29502 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29503 PyObject
*resultobj
= 0;
29504 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29507 PyObject
*swig_obj
[1] ;
29509 if (!args
) SWIG_fail
;
29510 swig_obj
[0] = args
;
29511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29512 if (!SWIG_IsOK(res1
)) {
29513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29515 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29518 (arg1
)->OnPrevious();
29519 wxPyEndAllowThreads(__tstate
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29522 resultobj
= SWIG_Py_Void();
29529 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29530 PyObject
*resultobj
= 0;
29531 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29534 PyObject
*swig_obj
[1] ;
29536 if (!args
) SWIG_fail
;
29537 swig_obj
[0] = args
;
29538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29539 if (!SWIG_IsOK(res1
)) {
29540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29542 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29546 wxPyEndAllowThreads(__tstate
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29549 resultobj
= SWIG_Py_Void();
29556 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29557 PyObject
*resultobj
= 0;
29558 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29561 PyObject
*swig_obj
[1] ;
29563 if (!args
) SWIG_fail
;
29564 swig_obj
[0] = args
;
29565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29566 if (!SWIG_IsOK(res1
)) {
29567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29569 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 wxPyEndAllowThreads(__tstate
);
29574 if (PyErr_Occurred()) SWIG_fail
;
29576 resultobj
= SWIG_Py_Void();
29583 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29584 PyObject
*resultobj
= 0;
29585 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29588 PyObject
*swig_obj
[1] ;
29590 if (!args
) SWIG_fail
;
29591 swig_obj
[0] = args
;
29592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29593 if (!SWIG_IsOK(res1
)) {
29594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29596 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 wxPyEndAllowThreads(__tstate
);
29601 if (PyErr_Occurred()) SWIG_fail
;
29603 resultobj
= SWIG_Py_Void();
29610 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29613 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29614 return SWIG_Py_Void();
29617 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29618 return SWIG_Python_InitShadowInstance(args
);
29621 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29622 PyObject
*resultobj
= 0;
29623 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29624 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29625 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29626 wxPrintPreview
*result
= 0 ;
29632 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29633 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29634 if (!SWIG_IsOK(res1
)) {
29635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29637 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29638 if (!SWIG_IsOK(res2
)) {
29639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29642 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29643 if (!SWIG_IsOK(res3
)) {
29644 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29646 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29649 if (!wxPyCheckForApp()) SWIG_fail
;
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29662 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29663 PyObject
*resultobj
= 0;
29664 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29665 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29666 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29667 wxPrintPreview
*result
= 0 ;
29673 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29674 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29675 if (!SWIG_IsOK(res1
)) {
29676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29678 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29679 if (!SWIG_IsOK(res2
)) {
29680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29682 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29683 if (!SWIG_IsOK(res3
)) {
29684 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29686 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29688 if (!wxPyCheckForApp()) SWIG_fail
;
29689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29690 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29691 wxPyEndAllowThreads(__tstate
);
29692 if (PyErr_Occurred()) SWIG_fail
;
29694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29701 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29705 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29707 if ((argc
>= 2) && (argc
<= 3)) {
29712 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29713 _v
= SWIG_CheckState(res
);
29715 if (!_v
) goto check_1
;
29717 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29722 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29726 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29731 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29732 PyObject
*resultobj
= 0;
29733 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29736 PyObject
*swig_obj
[1] ;
29738 if (!args
) SWIG_fail
;
29739 swig_obj
[0] = args
;
29740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29741 if (!SWIG_IsOK(res1
)) {
29742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29744 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29749 wxPyEndAllowThreads(__tstate
);
29750 if (PyErr_Occurred()) SWIG_fail
;
29752 resultobj
= SWIG_Py_Void();
29759 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29760 PyObject
*resultobj
= 0;
29761 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29768 PyObject
* obj0
= 0 ;
29769 PyObject
* obj1
= 0 ;
29770 char * kwnames
[] = {
29771 (char *) "self",(char *) "pageNum", NULL
29774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29776 if (!SWIG_IsOK(res1
)) {
29777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29779 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29781 if (!SWIG_IsOK(ecode2
)) {
29782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29784 arg2
= static_cast< int >(val2
);
29786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29787 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29800 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29801 PyObject
*resultobj
= 0;
29802 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29806 PyObject
*swig_obj
[1] ;
29808 if (!args
) SWIG_fail
;
29809 swig_obj
[0] = args
;
29810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29811 if (!SWIG_IsOK(res1
)) {
29812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29814 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29817 result
= (int)(arg1
)->GetCurrentPage();
29818 wxPyEndAllowThreads(__tstate
);
29819 if (PyErr_Occurred()) SWIG_fail
;
29821 resultobj
= SWIG_From_int(static_cast< int >(result
));
29828 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29829 PyObject
*resultobj
= 0;
29830 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29831 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29835 PyObject
* obj0
= 0 ;
29836 PyObject
* obj1
= 0 ;
29837 char * kwnames
[] = {
29838 (char *) "self",(char *) "printout", NULL
29841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29843 if (!SWIG_IsOK(res1
)) {
29844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29846 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29847 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29848 if (!SWIG_IsOK(res2
)) {
29849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 (arg1
)->SetPrintout(arg2
);
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29857 resultobj
= SWIG_Py_Void();
29864 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29865 PyObject
*resultobj
= 0;
29866 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29867 wxPyPrintout
*result
= 0 ;
29870 PyObject
*swig_obj
[1] ;
29872 if (!args
) SWIG_fail
;
29873 swig_obj
[0] = args
;
29874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29875 if (!SWIG_IsOK(res1
)) {
29876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29878 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29881 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29886 resultobj
= wxPyMake_wxObject(result
, 0);
29894 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29895 PyObject
*resultobj
= 0;
29896 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29897 wxPyPrintout
*result
= 0 ;
29900 PyObject
*swig_obj
[1] ;
29902 if (!args
) SWIG_fail
;
29903 swig_obj
[0] = args
;
29904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29905 if (!SWIG_IsOK(res1
)) {
29906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29908 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29911 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29912 wxPyEndAllowThreads(__tstate
);
29913 if (PyErr_Occurred()) SWIG_fail
;
29916 resultobj
= wxPyMake_wxObject(result
, 0);
29924 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
= 0;
29926 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29927 wxFrame
*arg2
= (wxFrame
*) 0 ;
29932 PyObject
* obj0
= 0 ;
29933 PyObject
* obj1
= 0 ;
29934 char * kwnames
[] = {
29935 (char *) "self",(char *) "frame", NULL
29938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29940 if (!SWIG_IsOK(res1
)) {
29941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29943 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29945 if (!SWIG_IsOK(res2
)) {
29946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29948 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 (arg1
)->SetFrame(arg2
);
29952 wxPyEndAllowThreads(__tstate
);
29953 if (PyErr_Occurred()) SWIG_fail
;
29955 resultobj
= SWIG_Py_Void();
29962 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29963 PyObject
*resultobj
= 0;
29964 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29965 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29970 PyObject
* obj0
= 0 ;
29971 PyObject
* obj1
= 0 ;
29972 char * kwnames
[] = {
29973 (char *) "self",(char *) "canvas", NULL
29976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29978 if (!SWIG_IsOK(res1
)) {
29979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29981 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29982 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29983 if (!SWIG_IsOK(res2
)) {
29984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29986 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 (arg1
)->SetCanvas(arg2
);
29990 wxPyEndAllowThreads(__tstate
);
29991 if (PyErr_Occurred()) SWIG_fail
;
29993 resultobj
= SWIG_Py_Void();
30000 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30001 PyObject
*resultobj
= 0;
30002 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30003 wxFrame
*result
= 0 ;
30006 PyObject
*swig_obj
[1] ;
30008 if (!args
) SWIG_fail
;
30009 swig_obj
[0] = args
;
30010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30011 if (!SWIG_IsOK(res1
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30014 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 result
= (wxFrame
*)(arg1
)->GetFrame();
30018 wxPyEndAllowThreads(__tstate
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30022 resultobj
= wxPyMake_wxObject(result
, 0);
30030 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30031 PyObject
*resultobj
= 0;
30032 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30033 wxPreviewCanvas
*result
= 0 ;
30036 PyObject
*swig_obj
[1] ;
30038 if (!args
) SWIG_fail
;
30039 swig_obj
[0] = args
;
30040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30041 if (!SWIG_IsOK(res1
)) {
30042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30044 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30047 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30058 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30059 PyObject
*resultobj
= 0;
30060 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30061 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30070 PyObject
* obj0
= 0 ;
30071 PyObject
* obj1
= 0 ;
30072 PyObject
* obj2
= 0 ;
30073 char * kwnames
[] = {
30074 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30079 if (!SWIG_IsOK(res1
)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30082 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30084 if (!SWIG_IsOK(res2
)) {
30085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30087 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30088 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30089 if (!SWIG_IsOK(res3
)) {
30090 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30095 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30098 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30111 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30112 PyObject
*resultobj
= 0;
30113 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30114 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30123 PyObject
* obj0
= 0 ;
30124 PyObject
* obj1
= 0 ;
30125 PyObject
* obj2
= 0 ;
30126 char * kwnames
[] = {
30127 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30132 if (!SWIG_IsOK(res1
)) {
30133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30135 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30136 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30137 if (!SWIG_IsOK(res2
)) {
30138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30140 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30141 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30142 if (!SWIG_IsOK(res3
)) {
30143 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30148 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30151 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30152 wxPyEndAllowThreads(__tstate
);
30153 if (PyErr_Occurred()) SWIG_fail
;
30156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30164 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30165 PyObject
*resultobj
= 0;
30166 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30173 PyObject
* obj0
= 0 ;
30174 PyObject
* obj1
= 0 ;
30175 char * kwnames
[] = {
30176 (char *) "self",(char *) "pageNum", NULL
30179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30181 if (!SWIG_IsOK(res1
)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30184 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30186 if (!SWIG_IsOK(ecode2
)) {
30187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30189 arg2
= static_cast< int >(val2
);
30191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30192 result
= (bool)(arg1
)->RenderPage(arg2
);
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30205 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30206 PyObject
*resultobj
= 0;
30207 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30208 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30213 PyObject
* obj0
= 0 ;
30214 PyObject
* obj1
= 0 ;
30215 char * kwnames
[] = {
30216 (char *) "self",(char *) "canvas", NULL
30219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30221 if (!SWIG_IsOK(res1
)) {
30222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30224 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30225 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30226 if (!SWIG_IsOK(res2
)) {
30227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30229 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30232 (arg1
)->AdjustScrollbars(arg2
);
30233 wxPyEndAllowThreads(__tstate
);
30234 if (PyErr_Occurred()) SWIG_fail
;
30236 resultobj
= SWIG_Py_Void();
30243 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30244 PyObject
*resultobj
= 0;
30245 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30246 wxPrintDialogData
*result
= 0 ;
30249 PyObject
*swig_obj
[1] ;
30251 if (!args
) SWIG_fail
;
30252 swig_obj
[0] = args
;
30253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30254 if (!SWIG_IsOK(res1
)) {
30255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30257 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30261 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30262 result
= (wxPrintDialogData
*) &_result_ref
;
30264 wxPyEndAllowThreads(__tstate
);
30265 if (PyErr_Occurred()) SWIG_fail
;
30267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30274 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30275 PyObject
*resultobj
= 0;
30276 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30282 PyObject
* obj0
= 0 ;
30283 PyObject
* obj1
= 0 ;
30284 char * kwnames
[] = {
30285 (char *) "self",(char *) "percent", NULL
30288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30290 if (!SWIG_IsOK(res1
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30293 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30295 if (!SWIG_IsOK(ecode2
)) {
30296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30298 arg2
= static_cast< int >(val2
);
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 (arg1
)->SetZoom(arg2
);
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30305 resultobj
= SWIG_Py_Void();
30312 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30313 PyObject
*resultobj
= 0;
30314 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30318 PyObject
*swig_obj
[1] ;
30320 if (!args
) SWIG_fail
;
30321 swig_obj
[0] = args
;
30322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30323 if (!SWIG_IsOK(res1
)) {
30324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30326 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30329 result
= (int)(arg1
)->GetZoom();
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= SWIG_From_int(static_cast< int >(result
));
30340 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30341 PyObject
*resultobj
= 0;
30342 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30346 PyObject
*swig_obj
[1] ;
30348 if (!args
) SWIG_fail
;
30349 swig_obj
[0] = args
;
30350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30351 if (!SWIG_IsOK(res1
)) {
30352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30354 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 result
= (int)(arg1
)->GetMaxPage();
30358 wxPyEndAllowThreads(__tstate
);
30359 if (PyErr_Occurred()) SWIG_fail
;
30361 resultobj
= SWIG_From_int(static_cast< int >(result
));
30368 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30369 PyObject
*resultobj
= 0;
30370 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30374 PyObject
*swig_obj
[1] ;
30376 if (!args
) SWIG_fail
;
30377 swig_obj
[0] = args
;
30378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30379 if (!SWIG_IsOK(res1
)) {
30380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30382 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30385 result
= (int)(arg1
)->GetMinPage();
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= SWIG_From_int(static_cast< int >(result
));
30396 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30397 PyObject
*resultobj
= 0;
30398 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30402 PyObject
*swig_obj
[1] ;
30404 if (!args
) SWIG_fail
;
30405 swig_obj
[0] = args
;
30406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30407 if (!SWIG_IsOK(res1
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30410 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 result
= (bool)(arg1
)->IsOk();
30414 wxPyEndAllowThreads(__tstate
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30426 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30427 PyObject
*resultobj
= 0;
30428 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30434 PyObject
* obj0
= 0 ;
30435 PyObject
* obj1
= 0 ;
30436 char * kwnames
[] = {
30437 (char *) "self",(char *) "ok", NULL
30440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30442 if (!SWIG_IsOK(res1
)) {
30443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30445 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30446 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30447 if (!SWIG_IsOK(ecode2
)) {
30448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30450 arg2
= static_cast< bool >(val2
);
30452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30453 (arg1
)->SetOk(arg2
);
30454 wxPyEndAllowThreads(__tstate
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30457 resultobj
= SWIG_Py_Void();
30464 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30465 PyObject
*resultobj
= 0;
30466 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30473 PyObject
* obj0
= 0 ;
30474 PyObject
* obj1
= 0 ;
30475 char * kwnames
[] = {
30476 (char *) "self",(char *) "interactive", NULL
30479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30481 if (!SWIG_IsOK(res1
)) {
30482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30484 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30485 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30486 if (!SWIG_IsOK(ecode2
)) {
30487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30489 arg2
= static_cast< bool >(val2
);
30491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30492 result
= (bool)(arg1
)->Print(arg2
);
30493 wxPyEndAllowThreads(__tstate
);
30494 if (PyErr_Occurred()) SWIG_fail
;
30497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30505 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30506 PyObject
*resultobj
= 0;
30507 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30510 PyObject
*swig_obj
[1] ;
30512 if (!args
) SWIG_fail
;
30513 swig_obj
[0] = args
;
30514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30515 if (!SWIG_IsOK(res1
)) {
30516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30518 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 (arg1
)->DetermineScaling();
30522 wxPyEndAllowThreads(__tstate
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30525 resultobj
= SWIG_Py_Void();
30532 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30534 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30535 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30536 return SWIG_Py_Void();
30539 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30540 return SWIG_Python_InitShadowInstance(args
);
30543 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30544 PyObject
*resultobj
= 0;
30545 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30546 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30547 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30548 wxPyPrintPreview
*result
= 0 ;
30554 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30555 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30556 if (!SWIG_IsOK(res1
)) {
30557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30559 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30560 if (!SWIG_IsOK(res2
)) {
30561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30564 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30565 if (!SWIG_IsOK(res3
)) {
30566 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30568 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30571 if (!wxPyCheckForApp()) SWIG_fail
;
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30574 wxPyEndAllowThreads(__tstate
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30584 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30585 PyObject
*resultobj
= 0;
30586 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30587 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30588 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30589 wxPyPrintPreview
*result
= 0 ;
30595 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30596 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30597 if (!SWIG_IsOK(res1
)) {
30598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30600 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30601 if (!SWIG_IsOK(res2
)) {
30602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30604 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30605 if (!SWIG_IsOK(res3
)) {
30606 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30608 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30610 if (!wxPyCheckForApp()) SWIG_fail
;
30611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30612 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30613 wxPyEndAllowThreads(__tstate
);
30614 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30623 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30627 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30629 if ((argc
>= 2) && (argc
<= 3)) {
30634 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30635 _v
= SWIG_CheckState(res
);
30637 if (!_v
) goto check_1
;
30639 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30644 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30648 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30653 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30654 PyObject
*resultobj
= 0;
30655 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30656 PyObject
*arg2
= (PyObject
*) 0 ;
30657 PyObject
*arg3
= (PyObject
*) 0 ;
30660 PyObject
* obj0
= 0 ;
30661 PyObject
* obj1
= 0 ;
30662 PyObject
* obj2
= 0 ;
30663 char * kwnames
[] = {
30664 (char *) "self",(char *) "self",(char *) "_class", NULL
30667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30669 if (!SWIG_IsOK(res1
)) {
30670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30672 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30677 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30681 resultobj
= SWIG_Py_Void();
30688 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30691 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30692 return SWIG_Py_Void();
30695 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30696 return SWIG_Python_InitShadowInstance(args
);
30699 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30700 PyObject
*resultobj
= 0;
30701 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30702 wxFrame
*arg2
= (wxFrame
*) 0 ;
30703 wxString
*arg3
= 0 ;
30704 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30705 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30706 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30707 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30708 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30709 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30710 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30711 wxPyPreviewFrame
*result
= 0 ;
30716 bool temp3
= false ;
30721 bool temp7
= false ;
30722 PyObject
* obj0
= 0 ;
30723 PyObject
* obj1
= 0 ;
30724 PyObject
* obj2
= 0 ;
30725 PyObject
* obj3
= 0 ;
30726 PyObject
* obj4
= 0 ;
30727 PyObject
* obj5
= 0 ;
30728 PyObject
* obj6
= 0 ;
30729 char * kwnames
[] = {
30730 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30735 if (!SWIG_IsOK(res1
)) {
30736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30738 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30740 if (!SWIG_IsOK(res2
)) {
30741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30743 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30745 arg3
= wxString_in_helper(obj2
);
30746 if (arg3
== NULL
) SWIG_fail
;
30752 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30758 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30762 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30763 if (!SWIG_IsOK(ecode6
)) {
30764 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30766 arg6
= static_cast< long >(val6
);
30770 arg7
= wxString_in_helper(obj6
);
30771 if (arg7
== NULL
) SWIG_fail
;
30776 if (!wxPyCheckForApp()) SWIG_fail
;
30777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30778 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30779 wxPyEndAllowThreads(__tstate
);
30780 if (PyErr_Occurred()) SWIG_fail
;
30782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30805 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30806 PyObject
*resultobj
= 0;
30807 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30808 PyObject
*arg2
= (PyObject
*) 0 ;
30809 PyObject
*arg3
= (PyObject
*) 0 ;
30812 PyObject
* obj0
= 0 ;
30813 PyObject
* obj1
= 0 ;
30814 PyObject
* obj2
= 0 ;
30815 char * kwnames
[] = {
30816 (char *) "self",(char *) "self",(char *) "_class", NULL
30819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30821 if (!SWIG_IsOK(res1
)) {
30822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30824 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30830 wxPyEndAllowThreads(__tstate
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30833 resultobj
= SWIG_Py_Void();
30840 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30841 PyObject
*resultobj
= 0;
30842 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30843 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30848 PyObject
* obj0
= 0 ;
30849 PyObject
* obj1
= 0 ;
30850 char * kwnames
[] = {
30851 (char *) "self",(char *) "canvas", NULL
30854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30856 if (!SWIG_IsOK(res1
)) {
30857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30859 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30861 if (!SWIG_IsOK(res2
)) {
30862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30864 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30867 (arg1
)->SetPreviewCanvas(arg2
);
30868 wxPyEndAllowThreads(__tstate
);
30869 if (PyErr_Occurred()) SWIG_fail
;
30871 resultobj
= SWIG_Py_Void();
30878 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30879 PyObject
*resultobj
= 0;
30880 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30881 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30886 PyObject
* obj0
= 0 ;
30887 PyObject
* obj1
= 0 ;
30888 char * kwnames
[] = {
30889 (char *) "self",(char *) "bar", NULL
30892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30894 if (!SWIG_IsOK(res1
)) {
30895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30897 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30899 if (!SWIG_IsOK(res2
)) {
30900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30902 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30905 (arg1
)->SetControlBar(arg2
);
30906 wxPyEndAllowThreads(__tstate
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= SWIG_Py_Void();
30916 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30917 PyObject
*resultobj
= 0;
30918 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30921 PyObject
*swig_obj
[1] ;
30923 if (!args
) SWIG_fail
;
30924 swig_obj
[0] = args
;
30925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30926 if (!SWIG_IsOK(res1
)) {
30927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30929 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30932 (arg1
)->Initialize();
30933 wxPyEndAllowThreads(__tstate
);
30934 if (PyErr_Occurred()) SWIG_fail
;
30936 resultobj
= SWIG_Py_Void();
30943 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30944 PyObject
*resultobj
= 0;
30945 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30948 PyObject
*swig_obj
[1] ;
30950 if (!args
) SWIG_fail
;
30951 swig_obj
[0] = args
;
30952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30953 if (!SWIG_IsOK(res1
)) {
30954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30956 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30959 (arg1
)->CreateCanvas();
30960 wxPyEndAllowThreads(__tstate
);
30961 if (PyErr_Occurred()) SWIG_fail
;
30963 resultobj
= SWIG_Py_Void();
30970 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30971 PyObject
*resultobj
= 0;
30972 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30975 PyObject
*swig_obj
[1] ;
30977 if (!args
) SWIG_fail
;
30978 swig_obj
[0] = args
;
30979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30980 if (!SWIG_IsOK(res1
)) {
30981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30983 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 (arg1
)->CreateControlBar();
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 resultobj
= SWIG_Py_Void();
30997 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31000 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31001 return SWIG_Py_Void();
31004 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31005 return SWIG_Python_InitShadowInstance(args
);
31008 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31009 PyObject
*resultobj
= 0;
31010 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31012 wxWindow
*arg3
= (wxWindow
*) 0 ;
31013 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31014 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31015 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31016 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31017 long arg6
= (long) 0 ;
31018 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31019 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31020 wxPyPreviewControlBar
*result
= 0 ;
31031 bool temp7
= false ;
31032 PyObject
* obj0
= 0 ;
31033 PyObject
* obj1
= 0 ;
31034 PyObject
* obj2
= 0 ;
31035 PyObject
* obj3
= 0 ;
31036 PyObject
* obj4
= 0 ;
31037 PyObject
* obj5
= 0 ;
31038 PyObject
* obj6
= 0 ;
31039 char * kwnames
[] = {
31040 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31045 if (!SWIG_IsOK(res1
)) {
31046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31048 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31049 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31050 if (!SWIG_IsOK(ecode2
)) {
31051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31053 arg2
= static_cast< long >(val2
);
31054 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31055 if (!SWIG_IsOK(res3
)) {
31056 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31058 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31062 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31068 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31072 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31073 if (!SWIG_IsOK(ecode6
)) {
31074 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31076 arg6
= static_cast< long >(val6
);
31080 arg7
= wxString_in_helper(obj6
);
31081 if (arg7
== NULL
) SWIG_fail
;
31086 if (!wxPyCheckForApp()) SWIG_fail
;
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31089 wxPyEndAllowThreads(__tstate
);
31090 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31107 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31108 PyObject
*resultobj
= 0;
31109 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31110 PyObject
*arg2
= (PyObject
*) 0 ;
31111 PyObject
*arg3
= (PyObject
*) 0 ;
31114 PyObject
* obj0
= 0 ;
31115 PyObject
* obj1
= 0 ;
31116 PyObject
* obj2
= 0 ;
31117 char * kwnames
[] = {
31118 (char *) "self",(char *) "self",(char *) "_class", NULL
31121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31123 if (!SWIG_IsOK(res1
)) {
31124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31126 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31131 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31135 resultobj
= SWIG_Py_Void();
31142 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31143 PyObject
*resultobj
= 0;
31144 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31145 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31150 PyObject
* obj0
= 0 ;
31151 PyObject
* obj1
= 0 ;
31152 char * kwnames
[] = {
31153 (char *) "self",(char *) "preview", NULL
31156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31158 if (!SWIG_IsOK(res1
)) {
31159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31161 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31162 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31163 if (!SWIG_IsOK(res2
)) {
31164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31166 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 (arg1
)->SetPrintPreview(arg2
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= SWIG_Py_Void();
31180 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31181 PyObject
*resultobj
= 0;
31182 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31185 PyObject
*swig_obj
[1] ;
31187 if (!args
) SWIG_fail
;
31188 swig_obj
[0] = args
;
31189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31190 if (!SWIG_IsOK(res1
)) {
31191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31193 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31196 (arg1
)->CreateButtons();
31197 wxPyEndAllowThreads(__tstate
);
31198 if (PyErr_Occurred()) SWIG_fail
;
31200 resultobj
= SWIG_Py_Void();
31207 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31208 PyObject
*resultobj
= 0;
31209 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31215 PyObject
* obj0
= 0 ;
31216 PyObject
* obj1
= 0 ;
31217 char * kwnames
[] = {
31218 (char *) "self",(char *) "zoom", NULL
31221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31223 if (!SWIG_IsOK(res1
)) {
31224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31226 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31228 if (!SWIG_IsOK(ecode2
)) {
31229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31231 arg2
= static_cast< int >(val2
);
31233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31234 (arg1
)->SetZoomControl(arg2
);
31235 wxPyEndAllowThreads(__tstate
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31238 resultobj
= SWIG_Py_Void();
31245 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31248 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31249 return SWIG_Py_Void();
31252 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31253 return SWIG_Python_InitShadowInstance(args
);
31256 static PyMethodDef SwigMethods
[] = {
31257 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31259 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31261 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31263 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31264 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31266 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31273 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31275 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31277 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31278 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31279 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31280 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31281 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31284 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31286 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31289 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31290 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31292 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31294 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31295 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31296 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31297 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31301 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31303 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31307 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31309 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31311 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31314 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31315 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31317 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31319 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31321 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31324 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31331 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31333 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31338 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31339 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31341 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31344 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31346 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31348 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31353 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31354 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31357 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31358 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31360 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31362 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31363 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31366 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31367 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31368 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31370 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31371 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31372 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31373 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31374 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31376 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31379 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31388 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31389 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31391 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31392 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31394 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31396 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31397 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31399 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31405 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31406 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31409 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31410 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31412 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31414 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31416 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31418 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31420 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31422 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31423 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31426 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31427 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31428 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31429 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31430 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31431 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31433 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31441 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31443 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31446 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31447 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31450 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31451 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31453 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31454 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31455 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31458 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31460 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31462 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31463 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31464 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31467 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31469 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31471 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31473 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31475 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31476 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31477 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31480 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31482 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31483 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31484 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31486 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31488 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31489 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31493 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31494 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31495 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31496 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31500 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31501 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31503 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31504 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31505 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31507 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31508 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31509 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31512 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31513 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31514 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31516 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31525 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31526 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31527 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31528 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31530 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31531 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31534 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31535 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31537 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31540 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31541 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31542 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31545 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31546 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31548 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31549 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31551 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31556 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31557 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31563 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31564 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31566 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31570 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31572 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31573 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31574 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31575 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31577 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31578 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31579 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31581 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31583 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31584 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31586 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31587 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31588 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31589 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31590 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31591 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31596 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31597 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31599 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31600 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31601 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31604 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31605 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31608 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31609 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31617 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31618 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31619 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31620 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31621 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31622 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31623 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31624 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31625 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31626 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31629 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31630 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31631 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31633 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31634 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31636 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31637 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31639 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31641 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31642 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31644 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31645 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31647 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31648 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31649 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31650 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31651 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31653 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31654 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31655 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31656 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31657 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31658 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31665 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31666 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31668 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31669 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31670 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31673 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31674 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31678 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31679 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31680 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31682 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31683 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31684 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31685 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31689 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31690 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31692 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31693 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31694 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31695 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31699 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31700 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31702 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31704 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31706 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31707 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31709 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31711 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31712 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31713 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31714 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31715 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31716 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31718 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31719 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31721 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31723 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31724 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31725 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31727 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31729 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31730 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31732 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31739 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31740 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31741 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31742 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31743 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31744 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31745 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31746 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31747 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31749 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31756 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31757 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31758 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31759 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31760 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31761 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31762 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31763 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31764 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31766 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31773 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31774 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31775 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31776 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31777 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31778 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31779 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31780 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31781 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31782 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31783 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31784 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31785 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31786 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
31787 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31788 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31789 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31790 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31791 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31792 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31793 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31794 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31795 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
31796 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31809 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31811 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31813 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31814 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31815 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31816 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31822 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31823 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31824 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31825 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31826 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31827 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31828 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31829 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31830 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31831 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31832 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31833 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31834 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31835 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
31836 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31846 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31847 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31848 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31849 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31851 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31852 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31853 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31854 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31855 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31856 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31857 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31858 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31859 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31860 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31861 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31862 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31863 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31864 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31865 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31866 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31867 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31881 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31882 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31883 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31884 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
31885 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31886 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31888 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31889 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31891 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31892 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31893 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31894 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31895 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31896 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31897 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31899 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31905 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31906 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31907 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31908 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31909 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31911 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31913 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31914 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
31919 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
31920 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
31922 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
31923 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
31924 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31929 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31931 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31933 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31935 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
31937 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31938 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31941 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31942 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31943 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31944 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31946 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31947 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31948 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31950 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31951 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31953 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31954 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31955 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31956 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31957 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31958 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31960 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31962 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31963 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31964 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31965 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31966 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31967 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31968 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31969 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31970 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31971 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31973 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31975 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31976 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31979 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31980 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31985 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31987 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31988 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31989 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
31990 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31993 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31994 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31995 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31996 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31998 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31999 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32004 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32005 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32006 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32007 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32008 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32012 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32014 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32015 { NULL
, NULL
, 0, NULL
}
32019 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32021 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32022 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32024 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32025 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32027 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32028 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32030 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32031 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32033 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32034 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32036 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32037 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32039 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32040 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32042 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32043 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32045 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32046 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32048 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32049 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32051 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32052 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32054 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32055 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32057 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32058 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32060 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32061 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32063 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32064 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32066 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32067 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32069 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32070 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32072 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32073 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32075 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32076 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32078 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32079 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32081 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32082 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32084 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32085 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32087 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32088 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32090 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32093 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32094 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32096 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32097 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32099 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32100 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32102 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32105 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32106 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32108 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32109 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32111 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32112 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32114 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32115 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32117 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32118 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32120 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32121 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32123 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32124 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32126 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32129 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32130 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32132 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32133 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32135 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32136 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32138 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32141 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32144 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32145 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32147 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32148 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32150 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32151 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32153 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32154 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32156 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32157 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32159 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32160 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32162 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32165 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32168 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32171 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32172 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32174 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32175 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32177 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32178 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32180 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32181 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32183 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32186 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32189 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32192 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32195 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32198 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32201 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32204 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32207 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32210 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32211 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32213 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32214 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32216 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32219 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32222 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32225 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32226 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32228 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32231 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32232 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32234 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32235 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32237 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32238 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32240 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32241 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32243 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32246 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32247 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32249 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32250 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32252 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32255 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32256 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32258 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32261 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32264 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32267 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32268 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32270 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32273 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32274 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32276 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32279 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32282 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32285 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32288 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32291 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32292 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32294 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32297 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32300 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32303 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32306 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32309 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32312 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32313 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32315 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32316 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32318 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32319 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32321 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
32322 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
32324 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32325 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32327 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32328 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32330 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32331 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32333 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32334 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32336 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32337 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32339 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32340 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32342 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32343 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32345 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32348 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32351 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32352 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32354 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32355 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32357 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32358 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32360 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32361 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32363 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32364 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32366 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32367 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32369 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32370 return (void *)((wxObject
*) ((wxSizer
*) x
));
32372 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32373 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32375 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32376 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32378 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32381 static void *_p_wxEventTo_p_wxObject(void *x
) {
32382 return (void *)((wxObject
*) ((wxEvent
*) x
));
32384 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32385 return (void *)((wxObject
*) ((wxFontData
*) x
));
32387 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32388 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32390 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32391 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32393 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32394 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32396 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32397 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32399 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32400 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32402 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32403 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32405 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32408 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32411 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32412 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32414 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32415 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32417 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32418 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32420 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32421 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32423 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32424 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32426 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32427 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32429 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32432 static void *_p_wxControlTo_p_wxObject(void *x
) {
32433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32435 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32436 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32438 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32439 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32441 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32442 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32444 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32445 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32447 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32448 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32450 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32453 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32454 return (void *)((wxObject
*) ((wxColourData
*) x
));
32456 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32457 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32459 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32462 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32465 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32468 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32471 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32474 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32477 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32480 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32483 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32486 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32489 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32492 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32495 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32496 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32498 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32499 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32501 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32502 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32504 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32505 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32507 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32508 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32510 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32511 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32513 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32514 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32516 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32517 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32519 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32520 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32522 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32523 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32525 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32526 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32528 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32529 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32531 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32532 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32534 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32535 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32537 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32538 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32540 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32541 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32543 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32544 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32546 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32547 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32549 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32550 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32552 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32553 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32555 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32556 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32558 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32559 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32561 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32562 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32564 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32565 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32567 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32568 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32570 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
32571 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
32573 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32574 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32576 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32577 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32579 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32580 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32582 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32585 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32588 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32589 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32591 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32594 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32597 static void *_p_wxImageTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) ((wxImage
*) x
));
32600 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32603 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32606 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32609 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32612 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32615 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32618 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32621 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32624 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32627 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32630 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32633 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32636 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32639 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32642 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32645 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32648 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32651 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32654 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32657 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32660 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32663 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32666 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32669 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32672 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32675 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32678 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32681 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32684 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32687 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32690 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32693 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32696 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32699 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32702 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32705 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32708 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32711 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32714 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32717 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32720 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32723 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32726 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32729 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32732 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32735 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32738 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32741 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32744 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32747 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32750 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32753 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32756 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32759 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32760 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32762 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32763 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32765 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32766 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32768 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32769 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32771 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32772 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32774 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32775 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32777 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32778 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32780 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32781 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32783 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32784 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32786 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32787 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32789 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32790 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32792 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
32793 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
32795 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32796 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32798 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32799 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32801 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32802 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32804 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32805 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32807 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32808 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32810 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32811 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32813 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32814 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32816 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32817 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32819 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32820 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32822 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32823 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32825 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32826 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32828 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32829 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32831 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32832 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32834 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32835 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32837 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32838 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32840 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32841 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32843 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32844 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32846 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32847 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32849 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32850 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32852 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32853 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32855 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32856 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32858 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32859 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32861 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32862 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32864 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32865 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32867 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32868 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32870 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32871 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32873 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32874 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32876 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32877 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32879 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32880 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32882 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32883 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32885 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32886 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32888 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32889 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32891 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32892 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32894 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32895 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32897 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32898 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32900 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32901 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32903 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32904 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32906 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32907 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32909 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32910 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32912 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32913 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32915 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32916 return (void *)((wxWindow
*) ((wxControl
*) x
));
32918 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32919 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32921 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32922 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32924 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32925 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32927 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32928 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32930 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32931 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32933 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32934 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32936 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32937 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32939 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32940 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32942 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32943 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32945 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32946 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32948 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32949 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32951 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32952 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32954 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32955 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32957 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32958 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32960 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32961 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32963 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32964 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32966 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32967 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32969 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32970 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32972 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32973 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32975 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32976 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32978 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32979 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32981 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32982 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32984 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32985 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32987 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32988 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32990 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32991 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32993 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32994 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32996 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32997 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32999 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33000 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33002 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33003 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33005 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33006 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33008 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33009 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33011 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33012 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33014 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33015 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33017 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33018 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33020 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33021 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33023 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33024 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33026 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33027 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33029 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33030 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33032 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33033 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33035 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33036 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33038 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33039 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33041 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33042 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33044 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33045 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33047 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33048 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33050 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33051 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33053 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33054 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33056 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33057 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33059 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33060 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33062 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33063 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33065 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33066 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33068 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33069 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33071 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33072 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33074 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33075 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33077 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33078 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33079 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};
33080 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33081 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33082 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33083 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33084 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33085 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33086 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33087 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33088 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33089 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33090 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33091 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33092 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33093 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33094 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33095 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33096 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33097 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33098 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33099 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33100 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33101 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33102 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33103 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33104 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33105 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33106 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33107 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33108 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33109 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33110 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33111 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33112 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33113 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33114 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33115 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33116 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33117 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33118 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33119 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33120 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33121 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33122 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33123 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33124 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33125 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33126 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33127 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33128 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33129 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33130 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33131 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33132 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
33133 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33134 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33135 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33136 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33137 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33138 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33139 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33140 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33141 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33142 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33143 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33144 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33145 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33146 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33147 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33148 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33149 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33150 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33151 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33152 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33153 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33154 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33155 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33156 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33157 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33158 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33159 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33160 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33161 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33162 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33163 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33164 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33165 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33166 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33167 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33168 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33169 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33170 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33171 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33172 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33173 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33174 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33175 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33176 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33177 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33178 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33179 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33180 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33181 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33182 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33183 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33184 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33185 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33186 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33187 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33188 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33189 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33190 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33191 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33192 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33193 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33194 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33195 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33196 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33197 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33198 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33199 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33200 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33201 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33202 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33203 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33204 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33205 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33206 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33207 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33208 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33209 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33210 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33211 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33212 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33213 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33214 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33215 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33216 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33217 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33218 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33219 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33220 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33221 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33222 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33223 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33224 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33225 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33226 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33227 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33228 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33229 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33230 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33231 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33232 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33233 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33234 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33235 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33236 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33237 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33238 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33239 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33240 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33241 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33242 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33244 static swig_type_info
*swig_type_initial
[] = {
33247 &_swigt__p_form_ops_t
,
33249 &_swigt__p_unsigned_char
,
33250 &_swigt__p_unsigned_int
,
33251 &_swigt__p_unsigned_long
,
33252 &_swigt__p_wxANIHandler
,
33253 &_swigt__p_wxAcceleratorTable
,
33254 &_swigt__p_wxActivateEvent
,
33255 &_swigt__p_wxArrayInt
,
33256 &_swigt__p_wxBMPHandler
,
33257 &_swigt__p_wxBitmap
,
33258 &_swigt__p_wxBoxSizer
,
33259 &_swigt__p_wxCURHandler
,
33260 &_swigt__p_wxCalculateLayoutEvent
,
33261 &_swigt__p_wxChildFocusEvent
,
33262 &_swigt__p_wxClipboardTextEvent
,
33263 &_swigt__p_wxCloseEvent
,
33264 &_swigt__p_wxColour
,
33265 &_swigt__p_wxColourData
,
33266 &_swigt__p_wxColourDialog
,
33267 &_swigt__p_wxCommandEvent
,
33268 &_swigt__p_wxContextMenuEvent
,
33269 &_swigt__p_wxControl
,
33270 &_swigt__p_wxControlWithItems
,
33272 &_swigt__p_wxDateEvent
,
33273 &_swigt__p_wxDialog
,
33274 &_swigt__p_wxDirDialog
,
33275 &_swigt__p_wxDisplayChangedEvent
,
33276 &_swigt__p_wxDropFilesEvent
,
33277 &_swigt__p_wxDuplexMode
,
33278 &_swigt__p_wxEraseEvent
,
33279 &_swigt__p_wxEvent
,
33280 &_swigt__p_wxEvtHandler
,
33281 &_swigt__p_wxFSFile
,
33282 &_swigt__p_wxFileDialog
,
33283 &_swigt__p_wxFileSystem
,
33284 &_swigt__p_wxFindDialogEvent
,
33285 &_swigt__p_wxFindReplaceData
,
33286 &_swigt__p_wxFindReplaceDialog
,
33287 &_swigt__p_wxFlexGridSizer
,
33288 &_swigt__p_wxFocusEvent
,
33290 &_swigt__p_wxFontData
,
33291 &_swigt__p_wxFontDialog
,
33292 &_swigt__p_wxFrame
,
33293 &_swigt__p_wxGBSizerItem
,
33294 &_swigt__p_wxGIFHandler
,
33295 &_swigt__p_wxGridBagSizer
,
33296 &_swigt__p_wxGridSizer
,
33297 &_swigt__p_wxHtmlLinkInfo
,
33298 &_swigt__p_wxICOHandler
,
33300 &_swigt__p_wxIconBundle
,
33301 &_swigt__p_wxIconizeEvent
,
33302 &_swigt__p_wxIdleEvent
,
33303 &_swigt__p_wxImage
,
33304 &_swigt__p_wxImageHandler
,
33305 &_swigt__p_wxIndividualLayoutConstraint
,
33306 &_swigt__p_wxInitDialogEvent
,
33307 &_swigt__p_wxJPEGHandler
,
33308 &_swigt__p_wxKeyEvent
,
33309 &_swigt__p_wxLayoutAlgorithm
,
33310 &_swigt__p_wxLayoutConstraints
,
33311 &_swigt__p_wxMDIChildFrame
,
33312 &_swigt__p_wxMDIClientWindow
,
33313 &_swigt__p_wxMDIParentFrame
,
33314 &_swigt__p_wxMaximizeEvent
,
33316 &_swigt__p_wxMenuBar
,
33317 &_swigt__p_wxMenuEvent
,
33318 &_swigt__p_wxMenuItem
,
33319 &_swigt__p_wxMessageDialog
,
33320 &_swigt__p_wxMiniFrame
,
33321 &_swigt__p_wxMouseCaptureChangedEvent
,
33322 &_swigt__p_wxMouseCaptureLostEvent
,
33323 &_swigt__p_wxMouseEvent
,
33324 &_swigt__p_wxMoveEvent
,
33325 &_swigt__p_wxMultiChoiceDialog
,
33326 &_swigt__p_wxNavigationKeyEvent
,
33327 &_swigt__p_wxNcPaintEvent
,
33328 &_swigt__p_wxNotifyEvent
,
33329 &_swigt__p_wxNumberEntryDialog
,
33330 &_swigt__p_wxObject
,
33331 &_swigt__p_wxPCXHandler
,
33332 &_swigt__p_wxPNGHandler
,
33333 &_swigt__p_wxPNMHandler
,
33334 &_swigt__p_wxPageSetupDialog
,
33335 &_swigt__p_wxPageSetupDialogData
,
33336 &_swigt__p_wxPaintEvent
,
33337 &_swigt__p_wxPaletteChangedEvent
,
33338 &_swigt__p_wxPanel
,
33339 &_swigt__p_wxPaperSize
,
33340 &_swigt__p_wxPasswordEntryDialog
,
33341 &_swigt__p_wxPoint
,
33342 &_swigt__p_wxPopupWindow
,
33343 &_swigt__p_wxPreviewCanvas
,
33344 &_swigt__p_wxPreviewControlBar
,
33345 &_swigt__p_wxPreviewFrame
,
33346 &_swigt__p_wxPrintData
,
33347 &_swigt__p_wxPrintDialog
,
33348 &_swigt__p_wxPrintDialogData
,
33349 &_swigt__p_wxPrintPreview
,
33350 &_swigt__p_wxPrinter
,
33351 &_swigt__p_wxProgressDialog
,
33352 &_swigt__p_wxPyApp
,
33353 &_swigt__p_wxPyCommandEvent
,
33354 &_swigt__p_wxPyEvent
,
33355 &_swigt__p_wxPyHtmlListBox
,
33356 &_swigt__p_wxPyImageHandler
,
33357 &_swigt__p_wxPyPanel
,
33358 &_swigt__p_wxPyPopupTransientWindow
,
33359 &_swigt__p_wxPyPreviewControlBar
,
33360 &_swigt__p_wxPyPreviewFrame
,
33361 &_swigt__p_wxPyPrintPreview
,
33362 &_swigt__p_wxPyPrintout
,
33363 &_swigt__p_wxPyScrolledWindow
,
33364 &_swigt__p_wxPySizer
,
33365 &_swigt__p_wxPyTaskBarIcon
,
33366 &_swigt__p_wxPyVListBox
,
33367 &_swigt__p_wxPyVScrolledWindow
,
33368 &_swigt__p_wxPyValidator
,
33369 &_swigt__p_wxPyWindow
,
33370 &_swigt__p_wxQueryLayoutInfoEvent
,
33371 &_swigt__p_wxQueryNewPaletteEvent
,
33373 &_swigt__p_wxRegion
,
33374 &_swigt__p_wxSashEvent
,
33375 &_swigt__p_wxSashLayoutWindow
,
33376 &_swigt__p_wxSashWindow
,
33377 &_swigt__p_wxScrollEvent
,
33378 &_swigt__p_wxScrollWinEvent
,
33379 &_swigt__p_wxScrolledWindow
,
33380 &_swigt__p_wxSetCursorEvent
,
33381 &_swigt__p_wxShowEvent
,
33382 &_swigt__p_wxSingleChoiceDialog
,
33384 &_swigt__p_wxSizeEvent
,
33385 &_swigt__p_wxSizer
,
33386 &_swigt__p_wxSizerItem
,
33387 &_swigt__p_wxSplashScreen
,
33388 &_swigt__p_wxSplashScreenWindow
,
33389 &_swigt__p_wxSplitterEvent
,
33390 &_swigt__p_wxSplitterWindow
,
33391 &_swigt__p_wxStaticBoxSizer
,
33392 &_swigt__p_wxStatusBar
,
33393 &_swigt__p_wxStdDialogButtonSizer
,
33394 &_swigt__p_wxString
,
33395 &_swigt__p_wxSysColourChangedEvent
,
33396 &_swigt__p_wxTGAHandler
,
33397 &_swigt__p_wxTIFFHandler
,
33398 &_swigt__p_wxTaskBarIcon
,
33399 &_swigt__p_wxTaskBarIconEvent
,
33400 &_swigt__p_wxTextEntryDialog
,
33401 &_swigt__p_wxTipWindow
,
33402 &_swigt__p_wxToolBar
,
33403 &_swigt__p_wxTopLevelWindow
,
33404 &_swigt__p_wxUpdateUIEvent
,
33405 &_swigt__p_wxValidator
,
33406 &_swigt__p_wxVisualAttributes
,
33407 &_swigt__p_wxWindow
,
33408 &_swigt__p_wxWindowCreateEvent
,
33409 &_swigt__p_wxWindowDestroyEvent
,
33410 &_swigt__p_wxXPMHandler
,
33413 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33414 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33415 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33416 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33417 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33418 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33419 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33420 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33421 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33422 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33423 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33424 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33425 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33426 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33427 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33428 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33429 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33430 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33431 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33432 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33433 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33434 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33435 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}};
33436 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33437 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}};
33438 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33439 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33440 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33441 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33442 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33443 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33444 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33445 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33446 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33447 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33448 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33449 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33450 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33451 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33452 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33453 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33454 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33455 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33456 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33457 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33458 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33459 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33460 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33461 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33462 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33463 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33464 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33465 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33466 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}};
33467 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33468 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33469 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33470 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33471 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33472 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}};
33473 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33474 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33475 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33476 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33477 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33478 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33479 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33480 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33481 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}};
33482 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33483 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33484 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33485 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33486 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33487 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33488 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33489 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33490 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33491 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33492 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33493 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33494 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}};
33495 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33496 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33497 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33498 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33499 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33500 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33501 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33502 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33503 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33504 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33505 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33506 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33507 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33508 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33509 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33510 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33511 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33512 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33513 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33514 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33515 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33516 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33517 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33518 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33519 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33520 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33521 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33522 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
33523 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33524 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33525 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
33526 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33527 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33528 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}};
33529 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33530 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33531 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33532 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}};
33533 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33534 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}};
33535 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}};
33536 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33537 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33538 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33539 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}};
33540 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33541 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33542 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33543 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33544 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33545 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33546 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33547 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33548 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33549 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33550 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33551 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}};
33552 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}};
33553 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33554 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33555 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33556 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33557 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33558 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33559 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}};
33560 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33561 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}};
33562 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33563 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33564 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33565 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33566 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33567 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33568 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33569 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33570 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33571 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33572 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33573 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}};
33574 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33575 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33576 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}};
33577 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33578 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}};
33580 static swig_cast_info
*swig_cast_initial
[] = {
33583 _swigc__p_form_ops_t
,
33585 _swigc__p_unsigned_char
,
33586 _swigc__p_unsigned_int
,
33587 _swigc__p_unsigned_long
,
33588 _swigc__p_wxANIHandler
,
33589 _swigc__p_wxAcceleratorTable
,
33590 _swigc__p_wxActivateEvent
,
33591 _swigc__p_wxArrayInt
,
33592 _swigc__p_wxBMPHandler
,
33593 _swigc__p_wxBitmap
,
33594 _swigc__p_wxBoxSizer
,
33595 _swigc__p_wxCURHandler
,
33596 _swigc__p_wxCalculateLayoutEvent
,
33597 _swigc__p_wxChildFocusEvent
,
33598 _swigc__p_wxClipboardTextEvent
,
33599 _swigc__p_wxCloseEvent
,
33600 _swigc__p_wxColour
,
33601 _swigc__p_wxColourData
,
33602 _swigc__p_wxColourDialog
,
33603 _swigc__p_wxCommandEvent
,
33604 _swigc__p_wxContextMenuEvent
,
33605 _swigc__p_wxControl
,
33606 _swigc__p_wxControlWithItems
,
33608 _swigc__p_wxDateEvent
,
33609 _swigc__p_wxDialog
,
33610 _swigc__p_wxDirDialog
,
33611 _swigc__p_wxDisplayChangedEvent
,
33612 _swigc__p_wxDropFilesEvent
,
33613 _swigc__p_wxDuplexMode
,
33614 _swigc__p_wxEraseEvent
,
33616 _swigc__p_wxEvtHandler
,
33617 _swigc__p_wxFSFile
,
33618 _swigc__p_wxFileDialog
,
33619 _swigc__p_wxFileSystem
,
33620 _swigc__p_wxFindDialogEvent
,
33621 _swigc__p_wxFindReplaceData
,
33622 _swigc__p_wxFindReplaceDialog
,
33623 _swigc__p_wxFlexGridSizer
,
33624 _swigc__p_wxFocusEvent
,
33626 _swigc__p_wxFontData
,
33627 _swigc__p_wxFontDialog
,
33629 _swigc__p_wxGBSizerItem
,
33630 _swigc__p_wxGIFHandler
,
33631 _swigc__p_wxGridBagSizer
,
33632 _swigc__p_wxGridSizer
,
33633 _swigc__p_wxHtmlLinkInfo
,
33634 _swigc__p_wxICOHandler
,
33636 _swigc__p_wxIconBundle
,
33637 _swigc__p_wxIconizeEvent
,
33638 _swigc__p_wxIdleEvent
,
33640 _swigc__p_wxImageHandler
,
33641 _swigc__p_wxIndividualLayoutConstraint
,
33642 _swigc__p_wxInitDialogEvent
,
33643 _swigc__p_wxJPEGHandler
,
33644 _swigc__p_wxKeyEvent
,
33645 _swigc__p_wxLayoutAlgorithm
,
33646 _swigc__p_wxLayoutConstraints
,
33647 _swigc__p_wxMDIChildFrame
,
33648 _swigc__p_wxMDIClientWindow
,
33649 _swigc__p_wxMDIParentFrame
,
33650 _swigc__p_wxMaximizeEvent
,
33652 _swigc__p_wxMenuBar
,
33653 _swigc__p_wxMenuEvent
,
33654 _swigc__p_wxMenuItem
,
33655 _swigc__p_wxMessageDialog
,
33656 _swigc__p_wxMiniFrame
,
33657 _swigc__p_wxMouseCaptureChangedEvent
,
33658 _swigc__p_wxMouseCaptureLostEvent
,
33659 _swigc__p_wxMouseEvent
,
33660 _swigc__p_wxMoveEvent
,
33661 _swigc__p_wxMultiChoiceDialog
,
33662 _swigc__p_wxNavigationKeyEvent
,
33663 _swigc__p_wxNcPaintEvent
,
33664 _swigc__p_wxNotifyEvent
,
33665 _swigc__p_wxNumberEntryDialog
,
33666 _swigc__p_wxObject
,
33667 _swigc__p_wxPCXHandler
,
33668 _swigc__p_wxPNGHandler
,
33669 _swigc__p_wxPNMHandler
,
33670 _swigc__p_wxPageSetupDialog
,
33671 _swigc__p_wxPageSetupDialogData
,
33672 _swigc__p_wxPaintEvent
,
33673 _swigc__p_wxPaletteChangedEvent
,
33675 _swigc__p_wxPaperSize
,
33676 _swigc__p_wxPasswordEntryDialog
,
33678 _swigc__p_wxPopupWindow
,
33679 _swigc__p_wxPreviewCanvas
,
33680 _swigc__p_wxPreviewControlBar
,
33681 _swigc__p_wxPreviewFrame
,
33682 _swigc__p_wxPrintData
,
33683 _swigc__p_wxPrintDialog
,
33684 _swigc__p_wxPrintDialogData
,
33685 _swigc__p_wxPrintPreview
,
33686 _swigc__p_wxPrinter
,
33687 _swigc__p_wxProgressDialog
,
33689 _swigc__p_wxPyCommandEvent
,
33690 _swigc__p_wxPyEvent
,
33691 _swigc__p_wxPyHtmlListBox
,
33692 _swigc__p_wxPyImageHandler
,
33693 _swigc__p_wxPyPanel
,
33694 _swigc__p_wxPyPopupTransientWindow
,
33695 _swigc__p_wxPyPreviewControlBar
,
33696 _swigc__p_wxPyPreviewFrame
,
33697 _swigc__p_wxPyPrintPreview
,
33698 _swigc__p_wxPyPrintout
,
33699 _swigc__p_wxPyScrolledWindow
,
33700 _swigc__p_wxPySizer
,
33701 _swigc__p_wxPyTaskBarIcon
,
33702 _swigc__p_wxPyVListBox
,
33703 _swigc__p_wxPyVScrolledWindow
,
33704 _swigc__p_wxPyValidator
,
33705 _swigc__p_wxPyWindow
,
33706 _swigc__p_wxQueryLayoutInfoEvent
,
33707 _swigc__p_wxQueryNewPaletteEvent
,
33709 _swigc__p_wxRegion
,
33710 _swigc__p_wxSashEvent
,
33711 _swigc__p_wxSashLayoutWindow
,
33712 _swigc__p_wxSashWindow
,
33713 _swigc__p_wxScrollEvent
,
33714 _swigc__p_wxScrollWinEvent
,
33715 _swigc__p_wxScrolledWindow
,
33716 _swigc__p_wxSetCursorEvent
,
33717 _swigc__p_wxShowEvent
,
33718 _swigc__p_wxSingleChoiceDialog
,
33720 _swigc__p_wxSizeEvent
,
33722 _swigc__p_wxSizerItem
,
33723 _swigc__p_wxSplashScreen
,
33724 _swigc__p_wxSplashScreenWindow
,
33725 _swigc__p_wxSplitterEvent
,
33726 _swigc__p_wxSplitterWindow
,
33727 _swigc__p_wxStaticBoxSizer
,
33728 _swigc__p_wxStatusBar
,
33729 _swigc__p_wxStdDialogButtonSizer
,
33730 _swigc__p_wxString
,
33731 _swigc__p_wxSysColourChangedEvent
,
33732 _swigc__p_wxTGAHandler
,
33733 _swigc__p_wxTIFFHandler
,
33734 _swigc__p_wxTaskBarIcon
,
33735 _swigc__p_wxTaskBarIconEvent
,
33736 _swigc__p_wxTextEntryDialog
,
33737 _swigc__p_wxTipWindow
,
33738 _swigc__p_wxToolBar
,
33739 _swigc__p_wxTopLevelWindow
,
33740 _swigc__p_wxUpdateUIEvent
,
33741 _swigc__p_wxValidator
,
33742 _swigc__p_wxVisualAttributes
,
33743 _swigc__p_wxWindow
,
33744 _swigc__p_wxWindowCreateEvent
,
33745 _swigc__p_wxWindowDestroyEvent
,
33746 _swigc__p_wxXPMHandler
,
33750 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33752 static swig_const_info swig_const_table
[] = {
33753 {0, 0, 0, 0.0, 0, 0}};
33758 /* -----------------------------------------------------------------------------
33759 * Type initialization:
33760 * This problem is tough by the requirement that no dynamic
33761 * memory is used. Also, since swig_type_info structures store pointers to
33762 * swig_cast_info structures and swig_cast_info structures store pointers back
33763 * to swig_type_info structures, we need some lookup code at initialization.
33764 * The idea is that swig generates all the structures that are needed.
33765 * The runtime then collects these partially filled structures.
33766 * The SWIG_InitializeModule function takes these initial arrays out of
33767 * swig_module, and does all the lookup, filling in the swig_module.types
33768 * array with the correct data and linking the correct swig_cast_info
33769 * structures together.
33771 * The generated swig_type_info structures are assigned staticly to an initial
33772 * array. We just loop though that array, and handle each type individually.
33773 * First we lookup if this type has been already loaded, and if so, use the
33774 * loaded structure instead of the generated one. Then we have to fill in the
33775 * cast linked list. The cast data is initially stored in something like a
33776 * two-dimensional array. Each row corresponds to a type (there are the same
33777 * number of rows as there are in the swig_type_initial array). Each entry in
33778 * a column is one of the swig_cast_info structures for that type.
33779 * The cast_initial array is actually an array of arrays, because each row has
33780 * a variable number of columns. So to actually build the cast linked list,
33781 * we find the array of casts associated with the type, and loop through it
33782 * adding the casts to the list. The one last trick we need to do is making
33783 * sure the type pointer in the swig_cast_info struct is correct.
33785 * First off, we lookup the cast->type name to see if it is already loaded.
33786 * There are three cases to handle:
33787 * 1) If the cast->type has already been loaded AND the type we are adding
33788 * casting info to has not been loaded (it is in this module), THEN we
33789 * replace the cast->type pointer with the type pointer that has already
33791 * 2) If BOTH types (the one we are adding casting info to, and the
33792 * cast->type) are loaded, THEN the cast info has already been loaded by
33793 * the previous module so we just ignore it.
33794 * 3) Finally, if cast->type has not already been loaded, then we add that
33795 * swig_cast_info to the linked list (because the cast->type) pointer will
33797 * ----------------------------------------------------------------------------- */
33807 #define SWIGRUNTIME_DEBUG
33811 SWIG_InitializeModule(void *clientdata
) {
33813 swig_module_info
*module_head
;
33814 static int init_run
= 0;
33816 clientdata
= clientdata
;
33818 if (init_run
) return;
33821 /* Initialize the swig_module */
33822 swig_module
.type_initial
= swig_type_initial
;
33823 swig_module
.cast_initial
= swig_cast_initial
;
33825 /* Try and load any already created modules */
33826 module_head
= SWIG_GetModule(clientdata
);
33828 swig_module
.next
= module_head
->next
;
33829 module_head
->next
= &swig_module
;
33831 /* This is the first module loaded */
33832 swig_module
.next
= &swig_module
;
33833 SWIG_SetModule(clientdata
, &swig_module
);
33836 /* Now work on filling in swig_module.types */
33837 #ifdef SWIGRUNTIME_DEBUG
33838 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33840 for (i
= 0; i
< swig_module
.size
; ++i
) {
33841 swig_type_info
*type
= 0;
33842 swig_type_info
*ret
;
33843 swig_cast_info
*cast
;
33845 #ifdef SWIGRUNTIME_DEBUG
33846 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33849 /* if there is another module already loaded */
33850 if (swig_module
.next
!= &swig_module
) {
33851 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33854 /* Overwrite clientdata field */
33855 #ifdef SWIGRUNTIME_DEBUG
33856 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33858 if (swig_module
.type_initial
[i
]->clientdata
) {
33859 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33860 #ifdef SWIGRUNTIME_DEBUG
33861 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33865 type
= swig_module
.type_initial
[i
];
33868 /* Insert casting types */
33869 cast
= swig_module
.cast_initial
[i
];
33870 while (cast
->type
) {
33871 /* Don't need to add information already in the list */
33873 #ifdef SWIGRUNTIME_DEBUG
33874 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33876 if (swig_module
.next
!= &swig_module
) {
33877 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33878 #ifdef SWIGRUNTIME_DEBUG
33879 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33883 if (type
== swig_module
.type_initial
[i
]) {
33884 #ifdef SWIGRUNTIME_DEBUG
33885 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33890 /* Check for casting already in the list */
33891 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33892 #ifdef SWIGRUNTIME_DEBUG
33893 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33895 if (!ocast
) ret
= 0;
33900 #ifdef SWIGRUNTIME_DEBUG
33901 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33904 type
->cast
->prev
= cast
;
33905 cast
->next
= type
->cast
;
33911 /* Set entry in modules->types array equal to the type */
33912 swig_module
.types
[i
] = type
;
33914 swig_module
.types
[i
] = 0;
33916 #ifdef SWIGRUNTIME_DEBUG
33917 printf("**** SWIG_InitializeModule: Cast List ******\n");
33918 for (i
= 0; i
< swig_module
.size
; ++i
) {
33920 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33921 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33922 while (cast
->type
) {
33923 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33927 printf("---- Total casts: %d\n",j
);
33929 printf("**** SWIG_InitializeModule: Cast List ******\n");
33933 /* This function will propagate the clientdata field of type to
33934 * any new swig_type_info structures that have been added into the list
33935 * of equivalent types. It is like calling
33936 * SWIG_TypeClientData(type, clientdata) a second time.
33939 SWIG_PropagateClientData(void) {
33941 swig_cast_info
*equiv
;
33942 static int init_run
= 0;
33944 if (init_run
) return;
33947 for (i
= 0; i
< swig_module
.size
; i
++) {
33948 if (swig_module
.types
[i
]->clientdata
) {
33949 equiv
= swig_module
.types
[i
]->cast
;
33951 if (!equiv
->converter
) {
33952 if (equiv
->type
&& !equiv
->type
->clientdata
)
33953 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33955 equiv
= equiv
->next
;
33975 /* Python-specific SWIG API */
33976 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33977 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33978 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33980 /* -----------------------------------------------------------------------------
33981 * global variable support code.
33982 * ----------------------------------------------------------------------------- */
33984 typedef struct swig_globalvar
{
33985 char *name
; /* Name of global variable */
33986 PyObject
*(*get_attr
)(void); /* Return the current value */
33987 int (*set_attr
)(PyObject
*); /* Set the value */
33988 struct swig_globalvar
*next
;
33991 typedef struct swig_varlinkobject
{
33993 swig_globalvar
*vars
;
33994 } swig_varlinkobject
;
33996 SWIGINTERN PyObject
*
33997 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33998 return PyString_FromString("<Swig global variables>");
34001 SWIGINTERN PyObject
*
34002 swig_varlink_str(swig_varlinkobject
*v
) {
34003 PyObject
*str
= PyString_FromString("(");
34004 swig_globalvar
*var
;
34005 for (var
= v
->vars
; var
; var
=var
->next
) {
34006 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34007 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34009 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34014 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34015 PyObject
*str
= swig_varlink_str(v
);
34016 fprintf(fp
,"Swig global variables ");
34017 fprintf(fp
,"%s\n", PyString_AsString(str
));
34023 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34024 swig_globalvar
*var
= v
->vars
;
34026 swig_globalvar
*n
= var
->next
;
34033 SWIGINTERN PyObject
*
34034 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34035 PyObject
*res
= NULL
;
34036 swig_globalvar
*var
= v
->vars
;
34038 if (strcmp(var
->name
,n
) == 0) {
34039 res
= (*var
->get_attr
)();
34044 if (res
== NULL
&& !PyErr_Occurred()) {
34045 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34051 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34053 swig_globalvar
*var
= v
->vars
;
34055 if (strcmp(var
->name
,n
) == 0) {
34056 res
= (*var
->set_attr
)(p
);
34061 if (res
== 1 && !PyErr_Occurred()) {
34062 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34067 SWIGINTERN PyTypeObject
*
34068 swig_varlink_type(void) {
34069 static char varlink__doc__
[] = "Swig var link object";
34070 static PyTypeObject varlink_type
;
34071 static int type_init
= 0;
34073 const PyTypeObject tmp
34075 PyObject_HEAD_INIT(NULL
)
34076 0, /* Number of items in variable part (ob_size) */
34077 (char *)"swigvarlink", /* Type name (tp_name) */
34078 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34079 0, /* Itemsize (tp_itemsize) */
34080 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34081 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34082 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34083 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34084 0, /* tp_compare */
34085 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34086 0, /* tp_as_number */
34087 0, /* tp_as_sequence */
34088 0, /* tp_as_mapping */
34091 (reprfunc
)swig_varlink_str
, /* tp_str */
34092 0, /* tp_getattro */
34093 0, /* tp_setattro */
34094 0, /* tp_as_buffer */
34096 varlink__doc__
, /* tp_doc */
34097 0, /* tp_traverse */
34099 0, /* tp_richcompare */
34100 0, /* tp_weaklistoffset */
34101 #if PY_VERSION_HEX >= 0x02020000
34102 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34104 #if PY_VERSION_HEX >= 0x02030000
34107 #ifdef COUNT_ALLOCS
34108 0,0,0,0 /* tp_alloc -> tp_next */
34111 varlink_type
= tmp
;
34112 varlink_type
.ob_type
= &PyType_Type
;
34115 return &varlink_type
;
34118 /* Create a variable linking object for use later */
34119 SWIGINTERN PyObject
*
34120 SWIG_Python_newvarlink(void) {
34121 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34125 return ((PyObject
*) result
);
34129 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34130 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34131 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34133 size_t size
= strlen(name
)+1;
34134 gv
->name
= (char *)malloc(size
);
34136 strncpy(gv
->name
,name
,size
);
34137 gv
->get_attr
= get_attr
;
34138 gv
->set_attr
= set_attr
;
34139 gv
->next
= v
->vars
;
34145 SWIGINTERN PyObject
*
34147 static PyObject
*_SWIG_globals
= 0;
34148 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34149 return _SWIG_globals
;
34152 /* -----------------------------------------------------------------------------
34153 * constants/methods manipulation
34154 * ----------------------------------------------------------------------------- */
34156 /* Install Constants */
34158 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34161 for (i
= 0; constants
[i
].type
; ++i
) {
34162 switch(constants
[i
].type
) {
34163 case SWIG_PY_POINTER
:
34164 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34166 case SWIG_PY_BINARY
:
34167 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34174 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34180 /* -----------------------------------------------------------------------------*/
34181 /* Fix SwigMethods to carry the callback ptrs when needed */
34182 /* -----------------------------------------------------------------------------*/
34185 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34186 swig_const_info
*const_table
,
34187 swig_type_info
**types
,
34188 swig_type_info
**types_initial
) {
34190 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34191 const char *c
= methods
[i
].ml_doc
;
34192 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34194 swig_const_info
*ci
= 0;
34195 const char *name
= c
+ 10;
34196 for (j
= 0; const_table
[j
].type
; ++j
) {
34197 if (strncmp(const_table
[j
].name
, name
,
34198 strlen(const_table
[j
].name
)) == 0) {
34199 ci
= &(const_table
[j
]);
34204 size_t shift
= (ci
->ptype
) - types
;
34205 swig_type_info
*ty
= types_initial
[shift
];
34206 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34207 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34208 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34211 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34213 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34215 strncpy(buff
, "swig_ptr: ", 10);
34217 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34218 methods
[i
].ml_doc
= ndoc
;
34230 /* -----------------------------------------------------------------------------*
34231 * Partial Init method
34232 * -----------------------------------------------------------------------------*/
34237 SWIGEXPORT
void SWIG_init(void) {
34240 /* Fix SwigMethods to carry the callback ptrs when needed */
34241 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34243 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34244 d
= PyModule_GetDict(m
);
34246 SWIG_InitializeModule(0);
34247 SWIG_InstallConstants(d
,swig_const_table
);
34250 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34251 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34252 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34253 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34254 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34255 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34256 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34257 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34258 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34259 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34260 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34261 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34262 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34263 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34264 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34265 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34266 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34267 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34268 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34269 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34270 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34271 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34272 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34273 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34274 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34275 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34276 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34277 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34278 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34279 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34280 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34281 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34282 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34283 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34284 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34285 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34286 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34287 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34288 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34289 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34290 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34291 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34292 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34293 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34294 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34295 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34296 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34297 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34298 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34299 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34300 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34301 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34302 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34303 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34304 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34305 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34306 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34307 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34308 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34309 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34310 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34311 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34312 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34313 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34314 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34315 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34316 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34317 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34318 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34319 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34320 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34321 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34322 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34323 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34324 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34325 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34326 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34327 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34328 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34329 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34330 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34331 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34332 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34333 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34334 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34335 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34336 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34337 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34338 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34339 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34340 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34341 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34342 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34343 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34344 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34345 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34346 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34347 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34348 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34349 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34350 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34351 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34352 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34353 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34354 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34356 // Map renamed classes back to their common name for OOR
34357 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34358 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34359 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34361 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34362 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34363 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34364 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34365 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34366 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34367 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34368 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34369 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34370 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34371 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34372 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34373 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34374 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34375 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34376 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34377 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34378 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34379 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34380 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34381 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34382 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34383 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34384 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34385 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34386 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34387 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34388 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34389 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34390 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34391 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34392 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34393 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34394 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34395 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34396 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34397 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34398 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34399 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34400 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34401 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34402 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34403 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34404 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34405 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34406 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34407 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34408 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34409 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34410 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34411 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34412 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34413 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34414 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34415 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34416 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34417 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34418 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34419 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34420 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34421 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34422 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34423 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34424 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34425 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34426 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34427 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34428 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34429 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34430 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34431 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34432 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34433 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34434 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34435 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34436 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34437 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34438 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34439 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34440 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34441 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34442 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34443 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34444 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34445 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34446 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34447 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34448 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34449 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34450 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34451 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34452 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34453 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34454 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34455 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34456 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34457 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34458 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34459 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34460 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34461 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34462 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34463 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34464 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34466 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");