1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
2503 #define SWIGTYPE_p_wxFSFile swig_types[37]
2504 #define SWIGTYPE_p_wxFileDialog swig_types[38]
2505 #define SWIGTYPE_p_wxFileSystem swig_types[39]
2506 #define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceData swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
2509 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2510 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
2511 #define SWIGTYPE_p_wxFont swig_types[45]
2512 #define SWIGTYPE_p_wxFontData swig_types[46]
2513 #define SWIGTYPE_p_wxFontDialog swig_types[47]
2514 #define SWIGTYPE_p_wxFrame swig_types[48]
2515 #define SWIGTYPE_p_wxGBSizerItem swig_types[49]
2516 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2519 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[53]
2520 #define SWIGTYPE_p_wxICOHandler swig_types[54]
2521 #define SWIGTYPE_p_wxIcon swig_types[55]
2522 #define SWIGTYPE_p_wxIconBundle swig_types[56]
2523 #define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524 #define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525 #define SWIGTYPE_p_wxImage swig_types[59]
2526 #define SWIGTYPE_p_wxImageHandler swig_types[60]
2527 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[61]
2528 #define SWIGTYPE_p_wxInitDialogEvent swig_types[62]
2529 #define SWIGTYPE_p_wxItemContainer swig_types[63]
2530 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534 #define SWIGTYPE_p_wxMDIChildFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMDIClientWindow swig_types[69]
2536 #define SWIGTYPE_p_wxMDIParentFrame swig_types[70]
2537 #define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2542 #define SWIGTYPE_p_wxMessageDialog swig_types[76]
2543 #define SWIGTYPE_p_wxMiniFrame swig_types[77]
2544 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[82]
2549 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNcPaintEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNotifyEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[86]
2553 #define SWIGTYPE_p_wxObject swig_types[87]
2554 #define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPageSetupDialog swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[92]
2559 #define SWIGTYPE_p_wxPaintEvent swig_types[93]
2560 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPanel swig_types[95]
2562 #define SWIGTYPE_p_wxPaperSize swig_types[96]
2563 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[97]
2564 #define SWIGTYPE_p_wxPoint swig_types[98]
2565 #define SWIGTYPE_p_wxPopupWindow swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewCanvas swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewControlBar swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewFrame swig_types[102]
2569 #define SWIGTYPE_p_wxPrintData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintDialog swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialogData swig_types[105]
2572 #define SWIGTYPE_p_wxPrintPreview swig_types[106]
2573 #define SWIGTYPE_p_wxPrinter swig_types[107]
2574 #define SWIGTYPE_p_wxProgressDialog swig_types[108]
2575 #define SWIGTYPE_p_wxPyApp swig_types[109]
2576 #define SWIGTYPE_p_wxPyCommandEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[112]
2579 #define SWIGTYPE_p_wxPyImageHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPyPanel swig_types[114]
2581 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[115]
2582 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[117]
2584 #define SWIGTYPE_p_wxPyPrintPreview swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintout swig_types[119]
2586 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[120]
2587 #define SWIGTYPE_p_wxPySizer swig_types[121]
2588 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[122]
2589 #define SWIGTYPE_p_wxPyVListBox swig_types[123]
2590 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxPyWindow swig_types[126]
2593 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[127]
2594 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[128]
2595 #define SWIGTYPE_p_wxRect swig_types[129]
2596 #define SWIGTYPE_p_wxRegion swig_types[130]
2597 #define SWIGTYPE_p_wxSashEvent swig_types[131]
2598 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[132]
2599 #define SWIGTYPE_p_wxSashWindow swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrolledWindow swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[139]
2606 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSplashScreen swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[146]
2613 #define SWIGTYPE_p_wxSplitterEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterWindow swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStatusBar swig_types[150]
2617 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[151]
2618 #define SWIGTYPE_p_wxString swig_types[152]
2619 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTGAHandler swig_types[154]
2621 #define SWIGTYPE_p_wxTIFFHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTaskBarIcon swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTextEntryDialog swig_types[158]
2625 #define SWIGTYPE_p_wxTipWindow swig_types[159]
2626 #define SWIGTYPE_p_wxToolBar swig_types[160]
2627 #define SWIGTYPE_p_wxTopLevelWindow swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxVisualAttributes swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _windows_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_windows_
2662 #define SWIG_name "_windows_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2739 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2745 # define LLONG_MIN LONG_LONG_MIN
2748 # define LLONG_MAX LONG_LONG_MAX
2751 # define ULLONG_MAX ULONG_LONG_MAX
2756 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2758 if (PyNumber_Check(obj
)) {
2759 if (val
) *val
= PyInt_AsLong(obj
);
2762 return SWIG_TypeError
;
2767 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2770 int res
= SWIG_AsVal_long (obj
, &v
);
2771 if (SWIG_IsOK(res
)) {
2772 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2773 return SWIG_OverflowError
;
2775 if (val
) *val
= static_cast< int >(v
);
2783 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2785 if (obj
== Py_True
) {
2786 if (val
) *val
= true;
2788 } else if (obj
== Py_False
) {
2789 if (val
) *val
= false;
2793 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2794 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2800 #define SWIG_From_long PyInt_FromLong
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_int (int value
)
2806 return SWIG_From_long (value
);
2811 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2813 if (PyNumber_Check(obj
)) {
2814 if (val
) *val
= PyFloat_AsDouble(obj
);
2817 return SWIG_TypeError
;
2821 #define SWIG_From_double PyFloat_FromDouble
2823 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2824 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2825 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2826 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2827 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2828 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2830 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2834 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2836 self
->GetFieldRect(i
, r
);
2839 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2843 #include <wx/popupwin.h>
2846 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2849 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2850 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2851 : wxPopupTransientWindow(parent
, style
) {}
2853 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2854 DEC_PYCALLBACK__(OnDismiss
);
2855 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2860 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2861 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2862 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2865 #include <wx/tipwin.h>
2867 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2868 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2871 #include <wx/tipwin.h>
2874 #include <wx/vscroll.h>
2877 class wxPyVScrolledWindow
: public wxVScrolledWindow
2879 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2881 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2883 wxPyVScrolledWindow(wxWindow
*parent
,
2884 wxWindowID id
= wxID_ANY
,
2885 const wxPoint
& pos
= wxDefaultPosition
,
2886 const wxSize
& size
= wxDefaultSize
,
2888 const wxString
& name
= wxPyPanelNameStr
)
2889 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2892 // Overridable virtuals
2894 // this function must be overridden in the derived class and it should
2895 // return the height of the given line in pixels
2896 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2899 // this function doesn't have to be overridden but it may be useful to do
2900 // it if calculating the lines heights is a relatively expensive operation
2901 // as it gives the user code a possibility to calculate several of them at
2904 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2905 // shouldn't rely on the latter being called for all lines in the interval
2906 // specified here. It is also possible that OnGetLineHeight() will be
2907 // called for the lines outside of this interval, so this is really just a
2908 // hint, not a promise.
2910 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2912 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2915 // when the number of lines changes, we try to estimate the total height
2916 // of all lines which is a rather expensive operation in terms of lines
2917 // access, so if the user code may estimate the average height
2918 // better/faster than we do, it should override this function to implement
2921 // this function should return the best guess for the total height it may
2923 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2926 // Also expose some other interesting protected methods
2929 // find the index of the line we need to show at the top of the window such
2930 // that the last (fully or partially) visible line is the given one
2931 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2932 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2934 // get the total height of the lines between lineMin (inclusive) and
2935 // lineMax (exclusive)
2936 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2937 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2939 // update the thumb size shown by the scrollbar
2940 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2942 // remove the scrollbar completely because we don't need it
2943 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2948 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2950 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2951 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2952 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2956 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2959 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2960 return SWIG_TypeError
;
2963 *val
= (unsigned long)v
;
2968 SWIGINTERNINLINE
int
2969 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2972 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2973 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2978 SWIGINTERNINLINE PyObject
*
2979 SWIG_From_unsigned_SS_long (unsigned long value
)
2981 return (value
> LONG_MAX
) ?
2982 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2986 SWIGINTERNINLINE PyObject
*
2987 SWIG_From_size_t (size_t value
)
2989 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2993 #include <wx/vlbox.h>
2995 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2997 class wxPyVListBox
: public wxVListBox
2999 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3001 wxPyVListBox() : wxVListBox() {}
3003 wxPyVListBox(wxWindow
*parent
,
3004 wxWindowID id
= wxID_ANY
,
3005 const wxPoint
& pos
= wxDefaultPosition
,
3006 const wxSize
& size
= wxDefaultSize
,
3008 const wxString
& name
= wxPyVListBoxNameStr
)
3009 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3012 // Overridable virtuals
3014 // the derived class must implement this function to actually draw the item
3015 // with the given index on the provided DC
3016 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3017 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3020 // the derived class must implement this method to return the height of the
3022 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3023 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3026 // this method may be used to draw separators between the lines; note that
3027 // the rectangle may be modified, typically to deflate it a bit before
3028 // passing to OnDrawItem()
3030 // the base class version doesn't do anything
3031 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3032 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3035 // this method is used to draw the items background and, maybe, a border
3038 // the base class version implements a reasonable default behaviour which
3039 // consists in drawing the selected item with the standard background
3040 // colour and drawing a border around the item if it is either selected or
3042 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3043 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3049 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3051 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3052 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3053 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3054 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3057 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3058 unsigned long cookie
= 0;
3059 int selected
= self
->GetFirstSelected(cookie
);
3060 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3061 PyObject
* tup
= PyTuple_New(2);
3062 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3063 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3064 wxPyEndBlockThreads(blocked
);
3067 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3068 int selected
= self
->GetNextSelected(cookie
);
3069 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3070 PyObject
* tup
= PyTuple_New(2);
3071 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3072 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3073 wxPyEndBlockThreads(blocked
);
3077 #include <wx/htmllbox.h>
3080 class wxPyHtmlListBox
: public wxHtmlListBox
3082 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3084 wxPyHtmlListBox() : wxHtmlListBox() {}
3086 wxPyHtmlListBox(wxWindow
*parent
,
3087 wxWindowID id
= wxID_ANY
,
3088 const wxPoint
& pos
= wxDefaultPosition
,
3089 const wxSize
& size
= wxDefaultSize
,
3091 const wxString
& name
= wxPyVListBoxNameStr
)
3092 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3095 // Overridable virtuals
3097 // this method must be implemented in the derived class and should return
3098 // the body (i.e. without <html>) of the HTML for the given item
3099 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3101 // this function may be overridden to decorate HTML returned by OnGetItem()
3102 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3104 // These are from wxVListBox
3105 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3106 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3109 // // this method allows to customize the selection appearance: it may be used
3110 // // to specify the colour of the text which normally has the given colour
3111 // // colFg when it is inside the selection
3113 // // by default, the original colour is not used at all and all text has the
3114 // // same (default for this system) colour inside selection
3115 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3117 // // this is the same as GetSelectedTextColour() but allows to customize the
3118 // // background colour -- this is even more rarely used as you can change it
3119 // // globally using SetSelectionBackground()
3120 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3123 // This method may be overriden to handle clicking on a link in
3124 // the listbox. By default, clicking links is ignored.
3125 virtual void OnLinkClicked(size_t n
,
3126 const wxHtmlLinkInfo
& link
);
3132 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3134 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3135 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3136 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3137 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3140 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3141 const wxHtmlLinkInfo
& link
) {
3143 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3144 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3145 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3146 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3149 wxPyEndBlockThreads(blocked
);
3151 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3156 const wxArrayString wxPyEmptyStringArray
;
3158 static const wxString
wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr
);
3162 #ifndef wxHAS_TASK_BAR_ICON
3163 // implement dummy classes for platforms that don't have it
3165 class wxTaskBarIcon
: public wxEvtHandler
3168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3172 class wxTaskBarIconEvent
: public wxEvent
3175 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3176 { wxPyRaiseNotImplemented(); }
3177 virtual wxEvent
* Clone() const { return NULL
; }
3178 bool IsOk() const { return false; }
3179 bool IsIconInstalled() const { return false; }
3180 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3181 bool RemoveIcon() { return false; }
3182 bool PopupMenu(wxMenu
*menu
) { return false; }
3186 wxEVT_TASKBAR_MOVE
= 0,
3187 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3188 wxEVT_TASKBAR_LEFT_UP
= 0,
3189 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3190 wxEVT_TASKBAR_RIGHT_UP
= 0,
3191 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3192 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3197 // Otherwise make a class that can virtualize CreatePopupMenu
3198 class wxPyTaskBarIcon
: public wxTaskBarIcon
3200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3202 wxPyTaskBarIcon() : wxTaskBarIcon()
3205 wxMenu
* CreatePopupMenu() {
3206 wxMenu
*rval
= NULL
;
3208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3209 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3212 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3214 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3219 wxPyEndBlockThreads(blocked
);
3221 rval
= wxTaskBarIcon::CreatePopupMenu();
3228 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3232 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3236 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3237 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3238 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3239 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3240 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3241 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3243 // for compatibility only
3244 #define wxHIDE_READONLY 0
3246 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3248 self
->GetFilenames(arr
);
3249 return wxArrayString2PyList_helper(arr
);
3251 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3253 self
->GetPaths(arr
);
3254 return wxArrayString2PyList_helper(arr
);
3256 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3257 return wxArrayInt2PyList_helper(self
->GetSelections());
3259 SWIGINTERN wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
3260 return new wxSingleChoiceDialog(parent
, message
, caption
,
3261 choices
, choices_array
, NULL
, style
, pos
);
3263 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3265 SWIGINTERNINLINE PyObject
*
3266 SWIG_From_bool (bool value
)
3268 return PyBool_FromLong(value
? 1 : 0);
3274 // C++ version of Python aware wxWindow
3275 class wxPyWindow
: public wxWindow
3277 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3279 wxPyWindow() : wxWindow() {}
3280 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3281 const wxPoint
& pos
= wxDefaultPosition
,
3282 const wxSize
& size
= wxDefaultSize
,
3284 const wxString
& name
= wxPyPanelNameStr
)
3285 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3288 bool DoEraseBackground(wxDC
* dc
) {
3290 return wxWindow::DoEraseBackground(dc
->GetHDC());
3292 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3298 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3299 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3300 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3303 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3307 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3308 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3310 DEC_PYCALLBACK__(InitDialog
);
3311 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3312 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3313 DEC_PYCALLBACK_BOOL_(Validate
);
3315 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3317 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3319 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3320 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3322 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3323 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3325 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3327 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3332 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3334 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3335 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3336 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3337 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3339 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3340 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3346 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3347 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3348 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3351 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3352 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3353 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3355 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3356 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3359 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3361 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3363 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3365 // C++ version of Python aware wxPanel
3366 class wxPyPanel
: public wxPanel
3368 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3370 wxPyPanel() : wxPanel() {}
3371 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3372 const wxPoint
& pos
= wxDefaultPosition
,
3373 const wxSize
& size
= wxDefaultSize
,
3375 const wxString
& name
= wxPyPanelNameStr
)
3376 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3378 bool DoEraseBackground(wxDC
* dc
) {
3380 return wxWindow::DoEraseBackground(dc
->GetHDC());
3382 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3389 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3390 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3391 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3394 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3398 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3399 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3401 DEC_PYCALLBACK__(InitDialog
);
3402 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3403 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3404 DEC_PYCALLBACK_BOOL_(Validate
);
3406 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3408 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3410 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3411 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3413 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3414 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3416 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3418 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3423 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3425 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3426 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3427 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3428 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3430 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3431 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3437 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3438 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3439 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3443 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3444 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3446 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3447 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3450 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3452 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3454 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3456 // C++ version of Python aware wxScrolledWindow
3457 class wxPyScrolledWindow
: public wxScrolledWindow
3459 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3461 wxPyScrolledWindow() : wxScrolledWindow() {}
3462 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3463 const wxPoint
& pos
= wxDefaultPosition
,
3464 const wxSize
& size
= wxDefaultSize
,
3466 const wxString
& name
= wxPyPanelNameStr
)
3467 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3469 bool DoEraseBackground(wxDC
* dc
) {
3471 return wxWindow::DoEraseBackground(dc
->GetHDC());
3473 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3479 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3480 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3481 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3484 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3488 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3489 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3491 DEC_PYCALLBACK__(InitDialog
);
3492 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3493 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3494 DEC_PYCALLBACK_BOOL_(Validate
);
3496 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3498 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3500 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3501 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3503 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3504 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3506 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3508 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3513 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3515 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3516 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3517 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3518 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3520 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3521 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3524 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3527 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3528 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3529 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3534 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3536 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3537 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3539 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3540 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3542 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3544 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3547 #include "wx/wxPython/printfw.h"
3550 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3551 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3552 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3554 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3555 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3556 self
->GetPrivDataLen());
3557 wxPyEndBlockThreads(blocked
);
3560 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3561 if (! PyString_Check(data
)) {
3562 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3563 "Expected string object"));
3567 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3568 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3569 wxPyEndBlockThreads(blocked
);
3573 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3575 // Since this one would be tough and ugly to do with the Macros...
3576 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3577 bool hadErr
= false;
3580 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3581 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3582 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3583 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3586 val
= PyTuple_GetItem(result
, 0);
3587 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3590 val
= PyTuple_GetItem(result
, 1);
3591 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3594 val
= PyTuple_GetItem(result
, 2);
3595 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3598 val
= PyTuple_GetItem(result
, 3);
3599 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3606 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3611 wxPyEndBlockThreads(blocked
);
3613 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3618 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3619 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3620 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3621 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3622 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3623 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3624 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3630 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3631 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3634 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3635 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3638 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3639 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3640 PyObject* win = wxPyMake_wxObject(a,false); \
3641 PyObject* dc = wxPyMake_wxObject(&b,false); \
3642 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3646 wxPyEndBlockThreads(blocked); \
3648 rval = PCLASS::CBNAME(a, b); \
3655 class wxPyPrintPreview
: public wxPrintPreview
3657 DECLARE_CLASS(wxPyPrintPreview
)
3659 wxPyPrintPreview(wxPyPrintout
* printout
,
3660 wxPyPrintout
* printoutForPrinting
,
3661 wxPrintDialogData
* data
=NULL
)
3662 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3664 wxPyPrintPreview(wxPyPrintout
* printout
,
3665 wxPyPrintout
* printoutForPrinting
,
3667 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3670 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3671 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3673 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3674 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3675 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3676 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3681 // Stupid renamed classes... Fix this in 2.5...
3682 #if defined(__WXMSW__)
3683 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3684 #elif defined(__WXMAC__)
3685 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3687 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3690 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3691 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3692 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3693 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3694 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3695 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3696 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3699 class wxPyPreviewFrame
: public wxPreviewFrame
3701 DECLARE_CLASS(wxPyPreviewFrame
)
3703 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3704 const wxString
& title
,
3705 const wxPoint
& pos
= wxDefaultPosition
,
3706 const wxSize
& size
= wxDefaultSize
,
3707 long style
= wxDEFAULT_FRAME_STYLE
,
3708 const wxString
& name
= wxPyFrameNameStr
)
3709 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3712 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3713 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3715 DEC_PYCALLBACK_VOID_(Initialize
);
3716 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3717 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3722 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3724 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3729 class wxPyPreviewControlBar
: public wxPreviewControlBar
3731 DECLARE_CLASS(wxPyPreviewControlBar
)
3733 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3736 const wxPoint
& pos
= wxDefaultPosition
,
3737 const wxSize
& size
= wxDefaultSize
,
3739 const wxString
& name
= wxPyPanelNameStr
)
3740 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3743 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3745 DEC_PYCALLBACK_VOID_(CreateButtons
);
3746 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3751 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3752 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3753 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3758 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
= 0;
3760 wxWindow
*arg1
= (wxWindow
*) 0 ;
3761 int arg2
= (int) (int)-1 ;
3762 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3763 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3764 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3765 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3766 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3767 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3768 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3769 wxPanel
*result
= 0 ;
3778 bool temp6
= false ;
3779 PyObject
* obj0
= 0 ;
3780 PyObject
* obj1
= 0 ;
3781 PyObject
* obj2
= 0 ;
3782 PyObject
* obj3
= 0 ;
3783 PyObject
* obj4
= 0 ;
3784 PyObject
* obj5
= 0 ;
3785 char * kwnames
[] = {
3786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3791 if (!SWIG_IsOK(res1
)) {
3792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3797 if (!SWIG_IsOK(ecode2
)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3800 arg2
= static_cast< int >(val2
);
3805 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3811 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3815 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3816 if (!SWIG_IsOK(ecode5
)) {
3817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3819 arg5
= static_cast< long >(val5
);
3823 arg6
= wxString_in_helper(obj5
);
3824 if (arg6
== NULL
) SWIG_fail
;
3829 if (!wxPyCheckForApp()) SWIG_fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3850 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3851 PyObject
*resultobj
= 0;
3852 wxPanel
*result
= 0 ;
3854 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3856 if (!wxPyCheckForApp()) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (wxPanel
*)new wxPanel();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3869 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
= 0;
3871 wxPanel
*arg1
= (wxPanel
*) 0 ;
3872 wxWindow
*arg2
= (wxWindow
*) 0 ;
3873 int arg3
= (int) (int)-1 ;
3874 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3875 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3876 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3877 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3878 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3879 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3880 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3892 bool temp7
= false ;
3893 PyObject
* obj0
= 0 ;
3894 PyObject
* obj1
= 0 ;
3895 PyObject
* obj2
= 0 ;
3896 PyObject
* obj3
= 0 ;
3897 PyObject
* obj4
= 0 ;
3898 PyObject
* obj5
= 0 ;
3899 PyObject
* obj6
= 0 ;
3900 char * kwnames
[] = {
3901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3906 if (!SWIG_IsOK(res1
)) {
3907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3909 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3910 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3911 if (!SWIG_IsOK(res2
)) {
3912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3914 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3917 if (!SWIG_IsOK(ecode3
)) {
3918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3920 arg3
= static_cast< int >(val3
);
3925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3935 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3936 if (!SWIG_IsOK(ecode6
)) {
3937 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3939 arg6
= static_cast< long >(val6
);
3943 arg7
= wxString_in_helper(obj6
);
3944 if (arg7
== NULL
) SWIG_fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3971 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3972 PyObject
*resultobj
= 0;
3973 wxPanel
*arg1
= (wxPanel
*) 0 ;
3976 PyObject
*swig_obj
[1] ;
3978 if (!args
) SWIG_fail
;
3980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3981 if (!SWIG_IsOK(res1
)) {
3982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3984 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 (arg1
)->SetFocusIgnoringChildren();
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3991 resultobj
= SWIG_Py_Void();
3998 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
*resultobj
= 0;
4000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4001 SwigValueWrapper
<wxVisualAttributes
> result
;
4004 PyObject
* obj0
= 0 ;
4005 char * kwnames
[] = {
4006 (char *) "variant", NULL
4009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4012 if (!SWIG_IsOK(ecode1
)) {
4013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4015 arg1
= static_cast< wxWindowVariant
>(val1
);
4018 if (!wxPyCheckForApp()) SWIG_fail
;
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4031 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4035 return SWIG_Py_Void();
4038 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4039 return SWIG_Python_InitShadowInstance(args
);
4042 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
= 0;
4044 wxWindow
*arg1
= (wxWindow
*) 0 ;
4045 int arg2
= (int) (int)-1 ;
4046 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4047 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4048 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4049 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4050 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4051 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4052 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4053 wxScrolledWindow
*result
= 0 ;
4062 bool temp6
= false ;
4063 PyObject
* obj0
= 0 ;
4064 PyObject
* obj1
= 0 ;
4065 PyObject
* obj2
= 0 ;
4066 PyObject
* obj3
= 0 ;
4067 PyObject
* obj4
= 0 ;
4068 PyObject
* obj5
= 0 ;
4069 char * kwnames
[] = {
4070 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4075 if (!SWIG_IsOK(res1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4078 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4081 if (!SWIG_IsOK(ecode2
)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4084 arg2
= static_cast< int >(val2
);
4089 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4095 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4099 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4100 if (!SWIG_IsOK(ecode5
)) {
4101 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4103 arg5
= static_cast< long >(val5
);
4107 arg6
= wxString_in_helper(obj5
);
4108 if (arg6
== NULL
) SWIG_fail
;
4113 if (!wxPyCheckForApp()) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4134 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4135 PyObject
*resultobj
= 0;
4136 wxScrolledWindow
*result
= 0 ;
4138 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4140 if (!wxPyCheckForApp()) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
= 0;
4155 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4156 wxWindow
*arg2
= (wxWindow
*) 0 ;
4157 int arg3
= (int) (int)-1 ;
4158 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4159 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4160 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4161 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4162 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4163 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4164 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4176 bool temp7
= false ;
4177 PyObject
* obj0
= 0 ;
4178 PyObject
* obj1
= 0 ;
4179 PyObject
* obj2
= 0 ;
4180 PyObject
* obj3
= 0 ;
4181 PyObject
* obj4
= 0 ;
4182 PyObject
* obj5
= 0 ;
4183 PyObject
* obj6
= 0 ;
4184 char * kwnames
[] = {
4185 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4190 if (!SWIG_IsOK(res1
)) {
4191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4193 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4195 if (!SWIG_IsOK(res2
)) {
4196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4198 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4201 if (!SWIG_IsOK(ecode3
)) {
4202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4204 arg3
= static_cast< int >(val3
);
4209 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4215 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4219 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4220 if (!SWIG_IsOK(ecode6
)) {
4221 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4223 arg6
= static_cast< long >(val6
);
4227 arg7
= wxString_in_helper(obj6
);
4228 if (arg7
== NULL
) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4255 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
= 0;
4257 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4262 int arg6
= (int) 0 ;
4263 int arg7
= (int) 0 ;
4264 bool arg8
= (bool) false ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4283 PyObject
* obj2
= 0 ;
4284 PyObject
* obj3
= 0 ;
4285 PyObject
* obj4
= 0 ;
4286 PyObject
* obj5
= 0 ;
4287 PyObject
* obj6
= 0 ;
4288 PyObject
* obj7
= 0 ;
4289 char * kwnames
[] = {
4290 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4295 if (!SWIG_IsOK(res1
)) {
4296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4298 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4300 if (!SWIG_IsOK(ecode2
)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4303 arg2
= static_cast< int >(val2
);
4304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4305 if (!SWIG_IsOK(ecode3
)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4308 arg3
= static_cast< int >(val3
);
4309 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4310 if (!SWIG_IsOK(ecode4
)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4313 arg4
= static_cast< int >(val4
);
4314 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4315 if (!SWIG_IsOK(ecode5
)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4318 arg5
= static_cast< int >(val5
);
4320 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4321 if (!SWIG_IsOK(ecode6
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4324 arg6
= static_cast< int >(val6
);
4327 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4328 if (!SWIG_IsOK(ecode7
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4331 arg7
= static_cast< int >(val7
);
4334 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4335 if (!SWIG_IsOK(ecode8
)) {
4336 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4338 arg8
= static_cast< bool >(val8
);
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_Py_Void();
4353 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
= 0;
4355 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4366 PyObject
* obj2
= 0 ;
4367 char * kwnames
[] = {
4368 (char *) "self",(char *) "x",(char *) "y", NULL
4371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4373 if (!SWIG_IsOK(res1
)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4376 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4378 if (!SWIG_IsOK(ecode2
)) {
4379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4381 arg2
= static_cast< int >(val2
);
4382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4383 if (!SWIG_IsOK(ecode3
)) {
4384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4386 arg3
= static_cast< int >(val3
);
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 (arg1
)->Scroll(arg2
,arg3
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4393 resultobj
= SWIG_Py_Void();
4400 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
= 0;
4402 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4409 PyObject
* obj0
= 0 ;
4410 PyObject
* obj1
= 0 ;
4411 char * kwnames
[] = {
4412 (char *) "self",(char *) "orient", NULL
4415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4420 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4422 if (!SWIG_IsOK(ecode2
)) {
4423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4425 arg2
= static_cast< int >(val2
);
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= SWIG_From_int(static_cast< int >(result
));
4439 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
= 0;
4441 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4451 PyObject
* obj1
= 0 ;
4452 PyObject
* obj2
= 0 ;
4453 char * kwnames
[] = {
4454 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4459 if (!SWIG_IsOK(res1
)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4462 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4464 if (!SWIG_IsOK(ecode2
)) {
4465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4467 arg2
= static_cast< int >(val2
);
4468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4469 if (!SWIG_IsOK(ecode3
)) {
4470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4472 arg3
= static_cast< int >(val3
);
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= SWIG_Py_Void();
4486 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
= 0;
4488 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4497 PyObject
* obj0
= 0 ;
4498 PyObject
* obj1
= 0 ;
4499 PyObject
* obj2
= 0 ;
4500 char * kwnames
[] = {
4501 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4506 if (!SWIG_IsOK(res1
)) {
4507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4509 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4511 if (!SWIG_IsOK(ecode2
)) {
4512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4514 arg2
= static_cast< int >(val2
);
4515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4516 if (!SWIG_IsOK(ecode3
)) {
4517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4519 arg3
= static_cast< int >(val3
);
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 (arg1
)->SetScrollRate(arg2
,arg3
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= SWIG_Py_Void();
4533 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4534 PyObject
*resultobj
= 0;
4535 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4536 int *arg2
= (int *) 0 ;
4537 int *arg3
= (int *) 0 ;
4541 int res2
= SWIG_TMPOBJ
;
4543 int res3
= SWIG_TMPOBJ
;
4544 PyObject
*swig_obj
[1] ;
4548 if (!args
) SWIG_fail
;
4550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4551 if (!SWIG_IsOK(res1
)) {
4552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4554 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= SWIG_Py_Void();
4562 if (SWIG_IsTmpObj(res2
)) {
4563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4565 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4568 if (SWIG_IsTmpObj(res3
)) {
4569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4571 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4580 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
= 0;
4582 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4591 PyObject
* obj0
= 0 ;
4592 PyObject
* obj1
= 0 ;
4593 PyObject
* obj2
= 0 ;
4594 char * kwnames
[] = {
4595 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4600 if (!SWIG_IsOK(res1
)) {
4601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4603 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4604 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4605 if (!SWIG_IsOK(ecode2
)) {
4606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4608 arg2
= static_cast< bool >(val2
);
4609 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4610 if (!SWIG_IsOK(ecode3
)) {
4611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4613 arg3
= static_cast< bool >(val3
);
4615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4616 (arg1
)->EnableScrolling(arg2
,arg3
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4620 resultobj
= SWIG_Py_Void();
4627 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4628 PyObject
*resultobj
= 0;
4629 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4630 int *arg2
= (int *) 0 ;
4631 int *arg3
= (int *) 0 ;
4635 int res2
= SWIG_TMPOBJ
;
4637 int res3
= SWIG_TMPOBJ
;
4638 PyObject
*swig_obj
[1] ;
4642 if (!args
) SWIG_fail
;
4644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4645 if (!SWIG_IsOK(res1
)) {
4646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4648 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_Py_Void();
4656 if (SWIG_IsTmpObj(res2
)) {
4657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4659 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4662 if (SWIG_IsTmpObj(res3
)) {
4663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4665 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4674 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
= 0;
4676 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4685 PyObject
* obj0
= 0 ;
4686 PyObject
* obj1
= 0 ;
4687 PyObject
* obj2
= 0 ;
4688 char * kwnames
[] = {
4689 (char *) "self",(char *) "xs",(char *) "ys", NULL
4692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4694 if (!SWIG_IsOK(res1
)) {
4695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4697 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4698 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4699 if (!SWIG_IsOK(ecode2
)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4702 arg2
= static_cast< double >(val2
);
4703 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4704 if (!SWIG_IsOK(ecode3
)) {
4705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4707 arg3
= static_cast< double >(val3
);
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 (arg1
)->SetScale(arg2
,arg3
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 resultobj
= SWIG_Py_Void();
4721 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4722 PyObject
*resultobj
= 0;
4723 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4727 PyObject
*swig_obj
[1] ;
4729 if (!args
) SWIG_fail
;
4731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4732 if (!SWIG_IsOK(res1
)) {
4733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4735 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 resultobj
= SWIG_From_double(static_cast< double >(result
));
4749 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4750 PyObject
*resultobj
= 0;
4751 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4755 PyObject
*swig_obj
[1] ;
4757 if (!args
) SWIG_fail
;
4759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4760 if (!SWIG_IsOK(res1
)) {
4761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4763 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4770 resultobj
= SWIG_From_double(static_cast< double >(result
));
4777 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4778 PyObject
*resultobj
= 0;
4779 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4786 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4788 if (!SWIG_IsOK(res1
)) {
4789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4791 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4794 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4809 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4810 PyObject
*resultobj
= 0;
4811 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4814 int *arg4
= (int *) 0 ;
4815 int *arg5
= (int *) 0 ;
4823 int res4
= SWIG_TMPOBJ
;
4825 int res5
= SWIG_TMPOBJ
;
4829 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4831 if (!SWIG_IsOK(res1
)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4834 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4835 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4836 if (!SWIG_IsOK(ecode2
)) {
4837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4839 arg2
= static_cast< int >(val2
);
4840 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4841 if (!SWIG_IsOK(ecode3
)) {
4842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4844 arg3
= static_cast< int >(val3
);
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_Py_Void();
4852 if (SWIG_IsTmpObj(res4
)) {
4853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4855 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4858 if (SWIG_IsTmpObj(res5
)) {
4859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4861 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4870 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4874 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4877 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4880 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4884 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4889 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4890 PyObject
*resultobj
= 0;
4891 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4898 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4900 if (!SWIG_IsOK(res1
)) {
4901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4903 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4906 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4921 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4922 PyObject
*resultobj
= 0;
4923 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4926 int *arg4
= (int *) 0 ;
4927 int *arg5
= (int *) 0 ;
4935 int res4
= SWIG_TMPOBJ
;
4937 int res5
= SWIG_TMPOBJ
;
4941 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4946 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4951 arg2
= static_cast< int >(val2
);
4952 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4953 if (!SWIG_IsOK(ecode3
)) {
4954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4956 arg3
= static_cast< int >(val3
);
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_Py_Void();
4964 if (SWIG_IsTmpObj(res4
)) {
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4967 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4970 if (SWIG_IsTmpObj(res5
)) {
4971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4973 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4982 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4986 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4989 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4992 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4996 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5001 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5002 PyObject
*resultobj
= 0;
5003 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5006 PyObject
*swig_obj
[1] ;
5008 if (!args
) SWIG_fail
;
5010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5011 if (!SWIG_IsOK(res1
)) {
5012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5014 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5017 (arg1
)->AdjustScrollbars();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= SWIG_Py_Void();
5028 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
= 0;
5030 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5031 wxScrollWinEvent
*arg2
= 0 ;
5037 PyObject
* obj0
= 0 ;
5038 PyObject
* obj1
= 0 ;
5039 char * kwnames
[] = {
5040 (char *) "self",(char *) "event", NULL
5043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5045 if (!SWIG_IsOK(res1
)) {
5046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5048 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5050 if (!SWIG_IsOK(res2
)) {
5051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5056 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= SWIG_From_int(static_cast< int >(result
));
5070 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
= 0;
5072 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5073 wxWindow
*arg2
= (wxWindow
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5080 char * kwnames
[] = {
5081 (char *) "self",(char *) "target", NULL
5084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5086 if (!SWIG_IsOK(res1
)) {
5087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5089 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5091 if (!SWIG_IsOK(res2
)) {
5092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5094 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 (arg1
)->SetTargetWindow(arg2
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 resultobj
= SWIG_Py_Void();
5108 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5109 PyObject
*resultobj
= 0;
5110 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5111 wxWindow
*result
= 0 ;
5114 PyObject
*swig_obj
[1] ;
5116 if (!args
) SWIG_fail
;
5118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5119 if (!SWIG_IsOK(res1
)) {
5120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5122 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5130 resultobj
= wxPyMake_wxObject(result
, 0);
5138 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
= 0;
5140 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5148 char * kwnames
[] = {
5149 (char *) "self",(char *) "dc", NULL
5152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5154 if (!SWIG_IsOK(res1
)) {
5155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5157 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5159 if (!SWIG_IsOK(res2
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5165 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 (arg1
)->DoPrepareDC(*arg2
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 resultobj
= SWIG_Py_Void();
5179 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
= 0;
5181 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5182 SwigValueWrapper
<wxVisualAttributes
> result
;
5185 PyObject
* obj0
= 0 ;
5186 char * kwnames
[] = {
5187 (char *) "variant", NULL
5190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5192 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5193 if (!SWIG_IsOK(ecode1
)) {
5194 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5196 arg1
= static_cast< wxWindowVariant
>(val1
);
5199 if (!wxPyCheckForApp()) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5212 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5214 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5215 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5216 return SWIG_Py_Void();
5219 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5220 return SWIG_Python_InitShadowInstance(args
);
5223 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5224 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5229 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5230 PyObject
*pyobj
= 0;
5234 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5236 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5243 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5244 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5249 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5250 PyObject
*pyobj
= 0;
5254 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5256 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5263 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5264 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5269 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5270 PyObject
*pyobj
= 0;
5274 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5276 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5283 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5284 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5289 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5290 PyObject
*pyobj
= 0;
5294 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5296 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5303 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
= 0;
5305 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5306 bool arg2
= (bool) true ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5313 char * kwnames
[] = {
5314 (char *) "self",(char *) "maximize", NULL
5317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5319 if (!SWIG_IsOK(res1
)) {
5320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5322 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5324 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5325 if (!SWIG_IsOK(ecode2
)) {
5326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5328 arg2
= static_cast< bool >(val2
);
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 (arg1
)->Maximize(arg2
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 resultobj
= SWIG_Py_Void();
5343 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5344 PyObject
*resultobj
= 0;
5345 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5348 PyObject
*swig_obj
[1] ;
5350 if (!args
) SWIG_fail
;
5352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5353 if (!SWIG_IsOK(res1
)) {
5354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5356 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 resultobj
= SWIG_Py_Void();
5370 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
= 0;
5372 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5373 bool arg2
= (bool) true ;
5378 PyObject
* obj0
= 0 ;
5379 PyObject
* obj1
= 0 ;
5380 char * kwnames
[] = {
5381 (char *) "self",(char *) "iconize", NULL
5384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5386 if (!SWIG_IsOK(res1
)) {
5387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5389 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5391 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5392 if (!SWIG_IsOK(ecode2
)) {
5393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5395 arg2
= static_cast< bool >(val2
);
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 (arg1
)->Iconize(arg2
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= SWIG_Py_Void();
5410 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5411 PyObject
*resultobj
= 0;
5412 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5416 PyObject
*swig_obj
[1] ;
5418 if (!args
) SWIG_fail
;
5420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5421 if (!SWIG_IsOK(res1
)) {
5422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5424 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5440 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5441 PyObject
*resultobj
= 0;
5442 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5446 PyObject
*swig_obj
[1] ;
5448 if (!args
) SWIG_fail
;
5450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5451 if (!SWIG_IsOK(res1
)) {
5452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5454 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5470 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5471 PyObject
*resultobj
= 0;
5472 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5476 PyObject
*swig_obj
[1] ;
5478 if (!args
) SWIG_fail
;
5480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5481 if (!SWIG_IsOK(res1
)) {
5482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5484 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5488 wxPyEndAllowThreads(__tstate
);
5489 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5500 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5501 PyObject
*resultobj
= 0;
5502 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5506 PyObject
*swig_obj
[1] ;
5508 if (!args
) SWIG_fail
;
5510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5511 if (!SWIG_IsOK(res1
)) {
5512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5514 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5528 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
= 0;
5530 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5538 char * kwnames
[] = {
5539 (char *) "self",(char *) "icon", NULL
5542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5544 if (!SWIG_IsOK(res1
)) {
5545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5547 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5549 if (!SWIG_IsOK(res2
)) {
5550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5555 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= SWIG_Py_Void();
5569 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
= 0;
5571 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5572 wxIconBundle
*arg2
= 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5579 char * kwnames
[] = {
5580 (char *) "self",(char *) "icons", NULL
5583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5585 if (!SWIG_IsOK(res1
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5588 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5589 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5590 if (!SWIG_IsOK(res2
)) {
5591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5596 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= SWIG_Py_Void();
5610 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
= 0;
5612 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5614 long arg3
= (long) wxFULLSCREEN_ALL
;
5622 PyObject
* obj0
= 0 ;
5623 PyObject
* obj1
= 0 ;
5624 PyObject
* obj2
= 0 ;
5625 char * kwnames
[] = {
5626 (char *) "self",(char *) "show",(char *) "style", NULL
5629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5631 if (!SWIG_IsOK(res1
)) {
5632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5634 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5635 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5636 if (!SWIG_IsOK(ecode2
)) {
5637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5639 arg2
= static_cast< bool >(val2
);
5641 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5642 if (!SWIG_IsOK(ecode3
)) {
5643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5645 arg3
= static_cast< long >(val3
);
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5662 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5663 PyObject
*resultobj
= 0;
5664 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5668 PyObject
*swig_obj
[1] ;
5670 if (!args
) SWIG_fail
;
5672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5673 if (!SWIG_IsOK(res1
)) {
5674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5676 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5692 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
= 0;
5694 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5695 wxString
*arg2
= 0 ;
5698 bool temp2
= false ;
5699 PyObject
* obj0
= 0 ;
5700 PyObject
* obj1
= 0 ;
5701 char * kwnames
[] = {
5702 (char *) "self",(char *) "title", NULL
5705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5707 if (!SWIG_IsOK(res1
)) {
5708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5710 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5712 arg2
= wxString_in_helper(obj1
);
5713 if (arg2
== NULL
) SWIG_fail
;
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5718 (arg1
)->SetTitle((wxString
const &)*arg2
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5722 resultobj
= SWIG_Py_Void();
5737 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5738 PyObject
*resultobj
= 0;
5739 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5743 PyObject
*swig_obj
[1] ;
5745 if (!args
) SWIG_fail
;
5747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5748 if (!SWIG_IsOK(res1
)) {
5749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5751 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5771 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
= 0;
5773 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5780 PyObject
* obj0
= 0 ;
5781 PyObject
* obj1
= 0 ;
5782 char * kwnames
[] = {
5783 (char *) "self",(char *) "enable", NULL
5786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5788 if (!SWIG_IsOK(res1
)) {
5789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5791 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5792 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5793 if (!SWIG_IsOK(ecode2
)) {
5794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5796 arg2
= static_cast< bool >(val2
);
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5812 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
= 0;
5814 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5815 wxRegion
*arg2
= 0 ;
5821 PyObject
* obj0
= 0 ;
5822 PyObject
* obj1
= 0 ;
5823 char * kwnames
[] = {
5824 (char *) "self",(char *) "region", NULL
5827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5829 if (!SWIG_IsOK(res1
)) {
5830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5832 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5834 if (!SWIG_IsOK(res2
)) {
5835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5840 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5856 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
= 0;
5858 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5859 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5866 char * kwnames
[] = {
5867 (char *) "self",(char *) "flags", NULL
5870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5872 if (!SWIG_IsOK(res1
)) {
5873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5875 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5878 if (!SWIG_IsOK(ecode2
)) {
5879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5881 arg2
= static_cast< int >(val2
);
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 (arg1
)->RequestUserAttention(arg2
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= SWIG_Py_Void();
5896 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5897 PyObject
*resultobj
= 0;
5898 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5902 PyObject
*swig_obj
[1] ;
5904 if (!args
) SWIG_fail
;
5906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5907 if (!SWIG_IsOK(res1
)) {
5908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5910 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= (bool)(arg1
)->IsActive();
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5926 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
= 0;
5928 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj1
= 0 ;
5936 char * kwnames
[] = {
5937 (char *) "self",(char *) "on", NULL
5940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5942 if (!SWIG_IsOK(res1
)) {
5943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5945 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5946 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5947 if (!SWIG_IsOK(ecode2
)) {
5948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5950 arg2
= static_cast< bool >(val2
);
5952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5953 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= SWIG_Py_Void();
5964 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5965 PyObject
*resultobj
= 0;
5966 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5970 PyObject
*swig_obj
[1] ;
5972 if (!args
) SWIG_fail
;
5974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5975 if (!SWIG_IsOK(res1
)) {
5976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5978 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5994 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
= 0;
5996 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5997 int arg2
= (int) wxBOTH
;
6002 PyObject
* obj0
= 0 ;
6003 PyObject
* obj1
= 0 ;
6004 char * kwnames
[] = {
6005 (char *) "self",(char *) "dir", NULL
6008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6010 if (!SWIG_IsOK(res1
)) {
6011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6013 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6016 if (!SWIG_IsOK(ecode2
)) {
6017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6019 arg2
= static_cast< int >(val2
);
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 (arg1
)->CenterOnScreen(arg2
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_Py_Void();
6034 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6035 PyObject
*resultobj
= 0;
6036 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6037 wxWindow
*result
= 0 ;
6040 PyObject
*swig_obj
[1] ;
6042 if (!args
) SWIG_fail
;
6044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6045 if (!SWIG_IsOK(res1
)) {
6046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6048 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6056 resultobj
= wxPyMake_wxObject(result
, 0);
6064 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
= 0;
6066 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6067 wxWindow
*arg2
= (wxWindow
*) 0 ;
6068 wxWindow
*result
= 0 ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6075 char * kwnames
[] = {
6076 (char *) "self",(char *) "child", NULL
6079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6081 if (!SWIG_IsOK(res1
)) {
6082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6084 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6086 if (!SWIG_IsOK(res2
)) {
6087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6089 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= wxPyMake_wxObject(result
, 0);
6105 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
= 0;
6107 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6108 wxWindow
*arg2
= (wxWindow
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6114 PyObject
* obj1
= 0 ;
6115 char * kwnames
[] = {
6116 (char *) "self",(char *) "win", NULL
6119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6121 if (!SWIG_IsOK(res1
)) {
6122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6124 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6126 if (!SWIG_IsOK(res2
)) {
6127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6129 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6132 (arg1
)->SetTmpDefaultItem(arg2
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= SWIG_Py_Void();
6143 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6144 PyObject
*resultobj
= 0;
6145 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6146 wxWindow
*result
= 0 ;
6149 PyObject
*swig_obj
[1] ;
6151 if (!args
) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6157 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6160 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= wxPyMake_wxObject(result
, 0);
6173 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6176 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6177 return SWIG_Py_Void();
6180 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
= 0;
6182 wxWindow
*arg1
= (wxWindow
*) 0 ;
6183 int arg2
= (int) (int)-1 ;
6184 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6185 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6186 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6187 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6188 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6189 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6190 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6191 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6192 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6193 wxFrame
*result
= 0 ;
6198 bool temp3
= false ;
6203 bool temp7
= false ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 PyObject
* obj2
= 0 ;
6207 PyObject
* obj3
= 0 ;
6208 PyObject
* obj4
= 0 ;
6209 PyObject
* obj5
= 0 ;
6210 PyObject
* obj6
= 0 ;
6211 char * kwnames
[] = {
6212 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6217 if (!SWIG_IsOK(res1
)) {
6218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6220 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6223 if (!SWIG_IsOK(ecode2
)) {
6224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6226 arg2
= static_cast< int >(val2
);
6230 arg3
= wxString_in_helper(obj2
);
6231 if (arg3
== NULL
) SWIG_fail
;
6238 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6244 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6248 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6249 if (!SWIG_IsOK(ecode6
)) {
6250 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6252 arg6
= static_cast< long >(val6
);
6256 arg7
= wxString_in_helper(obj6
);
6257 if (arg7
== NULL
) SWIG_fail
;
6262 if (!wxPyCheckForApp()) SWIG_fail
;
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6291 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6292 PyObject
*resultobj
= 0;
6293 wxFrame
*result
= 0 ;
6295 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6297 if (!wxPyCheckForApp()) SWIG_fail
;
6298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6299 result
= (wxFrame
*)new wxFrame();
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6310 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
= 0;
6312 wxFrame
*arg1
= (wxFrame
*) 0 ;
6313 wxWindow
*arg2
= (wxWindow
*) 0 ;
6314 int arg3
= (int) (int)-1 ;
6315 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6316 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6317 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6318 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6319 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6320 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6321 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6322 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6323 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6331 bool temp4
= false ;
6336 bool temp8
= false ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 PyObject
* obj2
= 0 ;
6340 PyObject
* obj3
= 0 ;
6341 PyObject
* obj4
= 0 ;
6342 PyObject
* obj5
= 0 ;
6343 PyObject
* obj6
= 0 ;
6344 PyObject
* obj7
= 0 ;
6345 char * kwnames
[] = {
6346 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6351 if (!SWIG_IsOK(res1
)) {
6352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6354 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6356 if (!SWIG_IsOK(res2
)) {
6357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6359 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6362 if (!SWIG_IsOK(ecode3
)) {
6363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6365 arg3
= static_cast< int >(val3
);
6369 arg4
= wxString_in_helper(obj3
);
6370 if (arg4
== NULL
) SWIG_fail
;
6377 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6383 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6387 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6388 if (!SWIG_IsOK(ecode7
)) {
6389 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6391 arg7
= static_cast< long >(val7
);
6395 arg8
= wxString_in_helper(obj7
);
6396 if (arg8
== NULL
) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6431 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6432 PyObject
*resultobj
= 0;
6433 wxFrame
*arg1
= (wxFrame
*) 0 ;
6436 PyObject
*swig_obj
[1] ;
6438 if (!args
) SWIG_fail
;
6440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6441 if (!SWIG_IsOK(res1
)) {
6442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6444 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 (arg1
)->SendSizeEvent();
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 resultobj
= SWIG_Py_Void();
6458 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
= 0;
6460 wxFrame
*arg1
= (wxFrame
*) 0 ;
6461 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 char * kwnames
[] = {
6469 (char *) "self",(char *) "menubar", NULL
6472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6474 if (!SWIG_IsOK(res1
)) {
6475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6477 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6478 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6479 if (!SWIG_IsOK(res2
)) {
6480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6482 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 (arg1
)->SetMenuBar(arg2
);
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_Py_Void();
6496 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6497 PyObject
*resultobj
= 0;
6498 wxFrame
*arg1
= (wxFrame
*) 0 ;
6499 wxMenuBar
*result
= 0 ;
6502 PyObject
*swig_obj
[1] ;
6504 if (!args
) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6510 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6518 resultobj
= wxPyMake_wxObject(result
, 0);
6526 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
*resultobj
= 0;
6528 wxFrame
*arg1
= (wxFrame
*) 0 ;
6535 PyObject
* obj0
= 0 ;
6536 PyObject
* obj1
= 0 ;
6537 char * kwnames
[] = {
6538 (char *) "self",(char *) "winid", NULL
6541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6543 if (!SWIG_IsOK(res1
)) {
6544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6546 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6548 if (!SWIG_IsOK(ecode2
)) {
6549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6551 arg2
= static_cast< int >(val2
);
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6567 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
= 0;
6569 wxFrame
*arg1
= (wxFrame
*) 0 ;
6570 int arg2
= (int) 1 ;
6571 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6572 int arg4
= (int) 0 ;
6573 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6574 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6575 wxStatusBar
*result
= 0 ;
6584 bool temp5
= false ;
6585 PyObject
* obj0
= 0 ;
6586 PyObject
* obj1
= 0 ;
6587 PyObject
* obj2
= 0 ;
6588 PyObject
* obj3
= 0 ;
6589 PyObject
* obj4
= 0 ;
6590 char * kwnames
[] = {
6591 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6596 if (!SWIG_IsOK(res1
)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6599 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6602 if (!SWIG_IsOK(ecode2
)) {
6603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6605 arg2
= static_cast< int >(val2
);
6608 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6609 if (!SWIG_IsOK(ecode3
)) {
6610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6612 arg3
= static_cast< long >(val3
);
6615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6616 if (!SWIG_IsOK(ecode4
)) {
6617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6619 arg4
= static_cast< int >(val4
);
6623 arg5
= wxString_in_helper(obj4
);
6624 if (arg5
== NULL
) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6651 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6652 PyObject
*resultobj
= 0;
6653 wxFrame
*arg1
= (wxFrame
*) 0 ;
6654 wxStatusBar
*result
= 0 ;
6657 PyObject
*swig_obj
[1] ;
6659 if (!args
) SWIG_fail
;
6661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6662 if (!SWIG_IsOK(res1
)) {
6663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6665 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6681 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
= 0;
6683 wxFrame
*arg1
= (wxFrame
*) 0 ;
6684 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6689 PyObject
* obj0
= 0 ;
6690 PyObject
* obj1
= 0 ;
6691 char * kwnames
[] = {
6692 (char *) "self",(char *) "statBar", NULL
6695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6697 if (!SWIG_IsOK(res1
)) {
6698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6700 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6702 if (!SWIG_IsOK(res2
)) {
6703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6705 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 (arg1
)->SetStatusBar(arg2
);
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= SWIG_Py_Void();
6719 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
= 0;
6721 wxFrame
*arg1
= (wxFrame
*) 0 ;
6722 wxString
*arg2
= 0 ;
6723 int arg3
= (int) 0 ;
6726 bool temp2
= false ;
6729 PyObject
* obj0
= 0 ;
6730 PyObject
* obj1
= 0 ;
6731 PyObject
* obj2
= 0 ;
6732 char * kwnames
[] = {
6733 (char *) "self",(char *) "text",(char *) "number", NULL
6736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6738 if (!SWIG_IsOK(res1
)) {
6739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6741 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6743 arg2
= wxString_in_helper(obj1
);
6744 if (arg2
== NULL
) SWIG_fail
;
6748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6749 if (!SWIG_IsOK(ecode3
)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6752 arg3
= static_cast< int >(val3
);
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= SWIG_Py_Void();
6775 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
= 0;
6777 wxFrame
*arg1
= (wxFrame
*) 0 ;
6779 int *arg3
= (int *) 0 ;
6782 PyObject
* obj0
= 0 ;
6783 PyObject
* obj1
= 0 ;
6784 char * kwnames
[] = {
6785 (char *) "self",(char *) "widths", NULL
6788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6790 if (!SWIG_IsOK(res1
)) {
6791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6793 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6795 arg2
= PyList_Size(obj1
);
6796 arg3
= int_LIST_helper(obj1
);
6797 if (arg3
== NULL
) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_Py_Void();
6807 if (arg3
) delete [] arg3
;
6812 if (arg3
) delete [] arg3
;
6818 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
= 0;
6820 wxFrame
*arg1
= (wxFrame
*) 0 ;
6821 wxString
*arg2
= 0 ;
6822 int arg3
= (int) 0 ;
6825 bool temp2
= false ;
6828 PyObject
* obj0
= 0 ;
6829 PyObject
* obj1
= 0 ;
6830 PyObject
* obj2
= 0 ;
6831 char * kwnames
[] = {
6832 (char *) "self",(char *) "text",(char *) "number", NULL
6835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6837 if (!SWIG_IsOK(res1
)) {
6838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6840 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6842 arg2
= wxString_in_helper(obj1
);
6843 if (arg2
== NULL
) SWIG_fail
;
6847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6848 if (!SWIG_IsOK(ecode3
)) {
6849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6851 arg3
= static_cast< int >(val3
);
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 resultobj
= SWIG_Py_Void();
6874 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
*resultobj
= 0;
6876 wxFrame
*arg1
= (wxFrame
*) 0 ;
6877 int arg2
= (int) 0 ;
6882 PyObject
* obj0
= 0 ;
6883 PyObject
* obj1
= 0 ;
6884 char * kwnames
[] = {
6885 (char *) "self",(char *) "number", NULL
6888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6890 if (!SWIG_IsOK(res1
)) {
6891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6893 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6896 if (!SWIG_IsOK(ecode2
)) {
6897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6899 arg2
= static_cast< int >(val2
);
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 (arg1
)->PopStatusText(arg2
);
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_Py_Void();
6914 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
= 0;
6916 wxFrame
*arg1
= (wxFrame
*) 0 ;
6922 PyObject
* obj0
= 0 ;
6923 PyObject
* obj1
= 0 ;
6924 char * kwnames
[] = {
6925 (char *) "self",(char *) "n", NULL
6928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6930 if (!SWIG_IsOK(res1
)) {
6931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6933 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6935 if (!SWIG_IsOK(ecode2
)) {
6936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6938 arg2
= static_cast< int >(val2
);
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 (arg1
)->SetStatusBarPane(arg2
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 resultobj
= SWIG_Py_Void();
6952 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6953 PyObject
*resultobj
= 0;
6954 wxFrame
*arg1
= (wxFrame
*) 0 ;
6958 PyObject
*swig_obj
[1] ;
6960 if (!args
) SWIG_fail
;
6962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6963 if (!SWIG_IsOK(res1
)) {
6964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6966 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= SWIG_From_int(static_cast< int >(result
));
6980 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
= 0;
6982 wxFrame
*arg1
= (wxFrame
*) 0 ;
6983 long arg2
= (long) -1 ;
6984 int arg3
= (int) -1 ;
6985 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6986 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6987 wxToolBar
*result
= 0 ;
6994 bool temp4
= false ;
6995 PyObject
* obj0
= 0 ;
6996 PyObject
* obj1
= 0 ;
6997 PyObject
* obj2
= 0 ;
6998 PyObject
* obj3
= 0 ;
6999 char * kwnames
[] = {
7000 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7005 if (!SWIG_IsOK(res1
)) {
7006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7008 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7010 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7011 if (!SWIG_IsOK(ecode2
)) {
7012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7014 arg2
= static_cast< long >(val2
);
7017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7018 if (!SWIG_IsOK(ecode3
)) {
7019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7021 arg3
= static_cast< int >(val3
);
7025 arg4
= wxString_in_helper(obj3
);
7026 if (arg4
== NULL
) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7053 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7054 PyObject
*resultobj
= 0;
7055 wxFrame
*arg1
= (wxFrame
*) 0 ;
7056 wxToolBar
*result
= 0 ;
7059 PyObject
*swig_obj
[1] ;
7061 if (!args
) SWIG_fail
;
7063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7064 if (!SWIG_IsOK(res1
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7067 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7083 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
= 0;
7085 wxFrame
*arg1
= (wxFrame
*) 0 ;
7086 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7091 PyObject
* obj0
= 0 ;
7092 PyObject
* obj1
= 0 ;
7093 char * kwnames
[] = {
7094 (char *) "self",(char *) "toolbar", NULL
7097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7099 if (!SWIG_IsOK(res1
)) {
7100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7102 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7103 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7104 if (!SWIG_IsOK(res2
)) {
7105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7107 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 (arg1
)->SetToolBar(arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= SWIG_Py_Void();
7121 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
= 0;
7123 wxFrame
*arg1
= (wxFrame
*) 0 ;
7124 wxString
*arg2
= 0 ;
7128 bool temp2
= false ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7133 PyObject
* obj2
= 0 ;
7134 char * kwnames
[] = {
7135 (char *) "self",(char *) "text",(char *) "show", NULL
7138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7140 if (!SWIG_IsOK(res1
)) {
7141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7143 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7145 arg2
= wxString_in_helper(obj1
);
7146 if (arg2
== NULL
) SWIG_fail
;
7149 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7150 if (!SWIG_IsOK(ecode3
)) {
7151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7153 arg3
= static_cast< bool >(val3
);
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= SWIG_Py_Void();
7175 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
= 0;
7177 wxFrame
*arg1
= (wxFrame
*) 0 ;
7178 wxMenu
*arg2
= (wxMenu
*) NULL
;
7183 PyObject
* obj0
= 0 ;
7184 PyObject
* obj1
= 0 ;
7185 char * kwnames
[] = {
7186 (char *) "self",(char *) "menu", NULL
7189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7191 if (!SWIG_IsOK(res1
)) {
7192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7194 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7196 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7197 if (!SWIG_IsOK(res2
)) {
7198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7200 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 (arg1
)->DoMenuUpdates(arg2
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= SWIG_Py_Void();
7215 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
= 0;
7217 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7218 SwigValueWrapper
<wxVisualAttributes
> result
;
7221 PyObject
* obj0
= 0 ;
7222 char * kwnames
[] = {
7223 (char *) "variant", NULL
7226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7228 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7229 if (!SWIG_IsOK(ecode1
)) {
7230 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7232 arg1
= static_cast< wxWindowVariant
>(val1
);
7235 if (!wxPyCheckForApp()) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7248 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7250 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7251 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7252 return SWIG_Py_Void();
7255 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7256 return SWIG_Python_InitShadowInstance(args
);
7259 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
= 0;
7261 wxWindow
*arg1
= (wxWindow
*) 0 ;
7262 int arg2
= (int) (int)-1 ;
7263 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7264 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7265 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7266 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7267 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7268 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7269 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7270 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7271 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7272 wxDialog
*result
= 0 ;
7277 bool temp3
= false ;
7282 bool temp7
= false ;
7283 PyObject
* obj0
= 0 ;
7284 PyObject
* obj1
= 0 ;
7285 PyObject
* obj2
= 0 ;
7286 PyObject
* obj3
= 0 ;
7287 PyObject
* obj4
= 0 ;
7288 PyObject
* obj5
= 0 ;
7289 PyObject
* obj6
= 0 ;
7290 char * kwnames
[] = {
7291 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7296 if (!SWIG_IsOK(res1
)) {
7297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7299 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7302 if (!SWIG_IsOK(ecode2
)) {
7303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7305 arg2
= static_cast< int >(val2
);
7309 arg3
= wxString_in_helper(obj2
);
7310 if (arg3
== NULL
) SWIG_fail
;
7317 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7323 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7327 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7328 if (!SWIG_IsOK(ecode6
)) {
7329 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7331 arg6
= static_cast< long >(val6
);
7335 arg7
= wxString_in_helper(obj6
);
7336 if (arg7
== NULL
) SWIG_fail
;
7341 if (!wxPyCheckForApp()) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7370 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7371 PyObject
*resultobj
= 0;
7372 wxDialog
*result
= 0 ;
7374 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7376 if (!wxPyCheckForApp()) SWIG_fail
;
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 result
= (wxDialog
*)new wxDialog();
7379 wxPyEndAllowThreads(__tstate
);
7380 if (PyErr_Occurred()) SWIG_fail
;
7382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7389 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
= 0;
7391 wxDialog
*arg1
= (wxDialog
*) 0 ;
7392 wxWindow
*arg2
= (wxWindow
*) 0 ;
7393 int arg3
= (int) (int)-1 ;
7394 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7395 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7396 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7397 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7398 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7399 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7400 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7401 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7402 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7410 bool temp4
= false ;
7415 bool temp8
= false ;
7416 PyObject
* obj0
= 0 ;
7417 PyObject
* obj1
= 0 ;
7418 PyObject
* obj2
= 0 ;
7419 PyObject
* obj3
= 0 ;
7420 PyObject
* obj4
= 0 ;
7421 PyObject
* obj5
= 0 ;
7422 PyObject
* obj6
= 0 ;
7423 PyObject
* obj7
= 0 ;
7424 char * kwnames
[] = {
7425 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7430 if (!SWIG_IsOK(res1
)) {
7431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7433 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7434 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7435 if (!SWIG_IsOK(res2
)) {
7436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7438 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7441 if (!SWIG_IsOK(ecode3
)) {
7442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7444 arg3
= static_cast< int >(val3
);
7448 arg4
= wxString_in_helper(obj3
);
7449 if (arg4
== NULL
) SWIG_fail
;
7456 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7462 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7466 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7467 if (!SWIG_IsOK(ecode7
)) {
7468 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7470 arg7
= static_cast< long >(val7
);
7474 arg8
= wxString_in_helper(obj7
);
7475 if (arg8
== NULL
) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7482 wxPyEndAllowThreads(__tstate
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7510 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
= 0;
7512 wxDialog
*arg1
= (wxDialog
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7519 PyObject
* obj1
= 0 ;
7520 char * kwnames
[] = {
7521 (char *) "self",(char *) "returnCode", NULL
7524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7526 if (!SWIG_IsOK(res1
)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7529 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7531 if (!SWIG_IsOK(ecode2
)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7534 arg2
= static_cast< int >(val2
);
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 (arg1
)->SetReturnCode(arg2
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= SWIG_Py_Void();
7548 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7549 PyObject
*resultobj
= 0;
7550 wxDialog
*arg1
= (wxDialog
*) 0 ;
7554 PyObject
*swig_obj
[1] ;
7556 if (!args
) SWIG_fail
;
7558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7559 if (!SWIG_IsOK(res1
)) {
7560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7562 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= SWIG_From_int(static_cast< int >(result
));
7576 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
= 0;
7578 wxDialog
*arg1
= (wxDialog
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7586 char * kwnames
[] = {
7587 (char *) "self",(char *) "affirmativeId", NULL
7590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7592 if (!SWIG_IsOK(res1
)) {
7593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7595 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7597 if (!SWIG_IsOK(ecode2
)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7600 arg2
= static_cast< int >(val2
);
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 (arg1
)->SetAffirmativeId(arg2
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= SWIG_Py_Void();
7614 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7615 PyObject
*resultobj
= 0;
7616 wxDialog
*arg1
= (wxDialog
*) 0 ;
7620 PyObject
*swig_obj
[1] ;
7622 if (!args
) SWIG_fail
;
7624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7625 if (!SWIG_IsOK(res1
)) {
7626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7628 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_From_int(static_cast< int >(result
));
7642 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxDialog
*arg1
= (wxDialog
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7651 PyObject
* obj1
= 0 ;
7652 char * kwnames
[] = {
7653 (char *) "self",(char *) "escapeId", NULL
7656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7661 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7663 if (!SWIG_IsOK(ecode2
)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7666 arg2
= static_cast< int >(val2
);
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 (arg1
)->SetEscapeId(arg2
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= SWIG_Py_Void();
7680 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7681 PyObject
*resultobj
= 0;
7682 wxDialog
*arg1
= (wxDialog
*) 0 ;
7686 PyObject
*swig_obj
[1] ;
7688 if (!args
) SWIG_fail
;
7690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7691 if (!SWIG_IsOK(res1
)) {
7692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7694 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= SWIG_From_int(static_cast< int >(result
));
7708 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
= 0;
7710 wxDialog
*arg1
= (wxDialog
*) 0 ;
7711 wxString
*arg2
= 0 ;
7712 wxSizer
*result
= 0 ;
7715 bool temp2
= false ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7718 char * kwnames
[] = {
7719 (char *) "self",(char *) "message", NULL
7722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7724 if (!SWIG_IsOK(res1
)) {
7725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7727 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7729 arg2
= wxString_in_helper(obj1
);
7730 if (arg2
== NULL
) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7756 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
= 0;
7758 wxDialog
*arg1
= (wxDialog
*) 0 ;
7760 wxSizer
*result
= 0 ;
7765 PyObject
* obj0
= 0 ;
7766 PyObject
* obj1
= 0 ;
7767 char * kwnames
[] = {
7768 (char *) "self",(char *) "flags", NULL
7771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7773 if (!SWIG_IsOK(res1
)) {
7774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7776 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7777 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7778 if (!SWIG_IsOK(ecode2
)) {
7779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7781 arg2
= static_cast< long >(val2
);
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7797 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
= 0;
7799 wxDialog
*arg1
= (wxDialog
*) 0 ;
7801 wxSizer
*result
= 0 ;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7808 char * kwnames
[] = {
7809 (char *) "self",(char *) "flags", NULL
7812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7814 if (!SWIG_IsOK(res1
)) {
7815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7817 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7818 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7819 if (!SWIG_IsOK(ecode2
)) {
7820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7822 arg2
= static_cast< long >(val2
);
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7838 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
= 0;
7840 wxDialog
*arg1
= (wxDialog
*) 0 ;
7842 wxStdDialogButtonSizer
*result
= 0 ;
7847 PyObject
* obj0
= 0 ;
7848 PyObject
* obj1
= 0 ;
7849 char * kwnames
[] = {
7850 (char *) "self",(char *) "flags", NULL
7853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7855 if (!SWIG_IsOK(res1
)) {
7856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7858 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7859 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7860 if (!SWIG_IsOK(ecode2
)) {
7861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7863 arg2
= static_cast< long >(val2
);
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7877 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7878 PyObject
*resultobj
= 0;
7879 wxDialog
*arg1
= (wxDialog
*) 0 ;
7883 PyObject
*swig_obj
[1] ;
7885 if (!args
) SWIG_fail
;
7887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7888 if (!SWIG_IsOK(res1
)) {
7889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7891 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7907 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7908 PyObject
*resultobj
= 0;
7909 wxDialog
*arg1
= (wxDialog
*) 0 ;
7913 PyObject
*swig_obj
[1] ;
7915 if (!args
) SWIG_fail
;
7917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7918 if (!SWIG_IsOK(res1
)) {
7919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7921 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 result
= (int)(arg1
)->ShowModal();
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= SWIG_From_int(static_cast< int >(result
));
7935 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
*resultobj
= 0;
7937 wxDialog
*arg1
= (wxDialog
*) 0 ;
7943 PyObject
* obj0
= 0 ;
7944 PyObject
* obj1
= 0 ;
7945 char * kwnames
[] = {
7946 (char *) "self",(char *) "retCode", NULL
7949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7951 if (!SWIG_IsOK(res1
)) {
7952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7954 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7956 if (!SWIG_IsOK(ecode2
)) {
7957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7959 arg2
= static_cast< int >(val2
);
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 (arg1
)->EndModal(arg2
);
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= SWIG_Py_Void();
7973 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
*resultobj
= 0;
7975 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7976 SwigValueWrapper
<wxVisualAttributes
> result
;
7979 PyObject
* obj0
= 0 ;
7980 char * kwnames
[] = {
7981 (char *) "variant", NULL
7984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7986 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7987 if (!SWIG_IsOK(ecode1
)) {
7988 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7990 arg1
= static_cast< wxWindowVariant
>(val1
);
7993 if (!wxPyCheckForApp()) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8006 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8009 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8010 return SWIG_Py_Void();
8013 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8014 return SWIG_Python_InitShadowInstance(args
);
8017 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
= 0;
8019 wxWindow
*arg1
= (wxWindow
*) 0 ;
8020 int arg2
= (int) (int)-1 ;
8021 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8022 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8023 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8024 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8025 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8026 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8027 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8028 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8029 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8030 wxMiniFrame
*result
= 0 ;
8035 bool temp3
= false ;
8040 bool temp7
= false ;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8043 PyObject
* obj2
= 0 ;
8044 PyObject
* obj3
= 0 ;
8045 PyObject
* obj4
= 0 ;
8046 PyObject
* obj5
= 0 ;
8047 PyObject
* obj6
= 0 ;
8048 char * kwnames
[] = {
8049 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8054 if (!SWIG_IsOK(res1
)) {
8055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8057 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8060 if (!SWIG_IsOK(ecode2
)) {
8061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8063 arg2
= static_cast< int >(val2
);
8067 arg3
= wxString_in_helper(obj2
);
8068 if (arg3
== NULL
) SWIG_fail
;
8075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8085 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8086 if (!SWIG_IsOK(ecode6
)) {
8087 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8089 arg6
= static_cast< long >(val6
);
8093 arg7
= wxString_in_helper(obj6
);
8094 if (arg7
== NULL
) SWIG_fail
;
8099 if (!wxPyCheckForApp()) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8128 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8129 PyObject
*resultobj
= 0;
8130 wxMiniFrame
*result
= 0 ;
8132 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8134 if (!wxPyCheckForApp()) SWIG_fail
;
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 result
= (wxMiniFrame
*)new wxMiniFrame();
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8147 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
= 0;
8149 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8150 wxWindow
*arg2
= (wxWindow
*) 0 ;
8151 int arg3
= (int) (int)-1 ;
8152 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8153 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8154 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8155 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8156 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8157 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8158 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8159 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8160 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8168 bool temp4
= false ;
8173 bool temp8
= false ;
8174 PyObject
* obj0
= 0 ;
8175 PyObject
* obj1
= 0 ;
8176 PyObject
* obj2
= 0 ;
8177 PyObject
* obj3
= 0 ;
8178 PyObject
* obj4
= 0 ;
8179 PyObject
* obj5
= 0 ;
8180 PyObject
* obj6
= 0 ;
8181 PyObject
* obj7
= 0 ;
8182 char * kwnames
[] = {
8183 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8188 if (!SWIG_IsOK(res1
)) {
8189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8191 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8193 if (!SWIG_IsOK(res2
)) {
8194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8199 if (!SWIG_IsOK(ecode3
)) {
8200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8202 arg3
= static_cast< int >(val3
);
8206 arg4
= wxString_in_helper(obj3
);
8207 if (arg4
== NULL
) SWIG_fail
;
8214 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8220 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8224 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8225 if (!SWIG_IsOK(ecode7
)) {
8226 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8228 arg7
= static_cast< long >(val7
);
8232 arg8
= wxString_in_helper(obj7
);
8233 if (arg8
== NULL
) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8268 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8271 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8272 return SWIG_Py_Void();
8275 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8276 return SWIG_Python_InitShadowInstance(args
);
8279 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
= 0;
8281 wxBitmap
*arg1
= 0 ;
8282 wxWindow
*arg2
= (wxWindow
*) 0 ;
8284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8288 long arg6
= (long) wxNO_BORDER
;
8289 wxSplashScreenWindow
*result
= 0 ;
8300 PyObject
* obj0
= 0 ;
8301 PyObject
* obj1
= 0 ;
8302 PyObject
* obj2
= 0 ;
8303 PyObject
* obj3
= 0 ;
8304 PyObject
* obj4
= 0 ;
8305 PyObject
* obj5
= 0 ;
8306 char * kwnames
[] = {
8307 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8311 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8312 if (!SWIG_IsOK(res1
)) {
8313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8318 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8320 if (!SWIG_IsOK(res2
)) {
8321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8323 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8324 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8325 if (!SWIG_IsOK(ecode3
)) {
8326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8328 arg3
= static_cast< int >(val3
);
8332 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8338 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8342 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8343 if (!SWIG_IsOK(ecode6
)) {
8344 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8346 arg6
= static_cast< long >(val6
);
8349 if (!wxPyCheckForApp()) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8362 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
= 0;
8364 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8365 wxBitmap
*arg2
= 0 ;
8370 PyObject
* obj0
= 0 ;
8371 PyObject
* obj1
= 0 ;
8372 char * kwnames
[] = {
8373 (char *) "self",(char *) "bitmap", NULL
8376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8378 if (!SWIG_IsOK(res1
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8381 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8383 if (!SWIG_IsOK(res2
)) {
8384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8389 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_Py_Void();
8403 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8404 PyObject
*resultobj
= 0;
8405 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8406 wxBitmap
*result
= 0 ;
8409 PyObject
*swig_obj
[1] ;
8411 if (!args
) SWIG_fail
;
8413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8414 if (!SWIG_IsOK(res1
)) {
8415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8417 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8422 result
= (wxBitmap
*) &_result_ref
;
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8428 wxBitmap
* resultptr
= new wxBitmap(*result
);
8429 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8437 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8439 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8440 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8441 return SWIG_Py_Void();
8444 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8445 return SWIG_Python_InitShadowInstance(args
);
8448 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
= 0;
8450 wxBitmap
*arg1
= 0 ;
8453 wxWindow
*arg4
= (wxWindow
*) 0 ;
8454 int arg5
= (int) -1 ;
8455 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8456 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8457 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8458 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8459 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8460 wxSplashScreen
*result
= 0 ;
8475 PyObject
* obj0
= 0 ;
8476 PyObject
* obj1
= 0 ;
8477 PyObject
* obj2
= 0 ;
8478 PyObject
* obj3
= 0 ;
8479 PyObject
* obj4
= 0 ;
8480 PyObject
* obj5
= 0 ;
8481 PyObject
* obj6
= 0 ;
8482 PyObject
* obj7
= 0 ;
8483 char * kwnames
[] = {
8484 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8488 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8489 if (!SWIG_IsOK(res1
)) {
8490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8495 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8496 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8497 if (!SWIG_IsOK(ecode2
)) {
8498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8500 arg2
= static_cast< long >(val2
);
8501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8502 if (!SWIG_IsOK(ecode3
)) {
8503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8505 arg3
= static_cast< int >(val3
);
8506 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8507 if (!SWIG_IsOK(res4
)) {
8508 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8510 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8512 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8513 if (!SWIG_IsOK(ecode5
)) {
8514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8516 arg5
= static_cast< int >(val5
);
8521 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8527 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8531 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8532 if (!SWIG_IsOK(ecode8
)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8535 arg8
= static_cast< long >(val8
);
8538 if (!wxPyCheckForApp()) SWIG_fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8551 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8552 PyObject
*resultobj
= 0;
8553 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8557 PyObject
*swig_obj
[1] ;
8559 if (!args
) SWIG_fail
;
8561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8562 if (!SWIG_IsOK(res1
)) {
8563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8565 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8568 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8572 resultobj
= SWIG_From_long(static_cast< long >(result
));
8579 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8580 PyObject
*resultobj
= 0;
8581 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8582 wxSplashScreenWindow
*result
= 0 ;
8585 PyObject
*swig_obj
[1] ;
8587 if (!args
) SWIG_fail
;
8589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8590 if (!SWIG_IsOK(res1
)) {
8591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8593 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8607 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8608 PyObject
*resultobj
= 0;
8609 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8613 PyObject
*swig_obj
[1] ;
8615 if (!args
) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8621 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 resultobj
= SWIG_From_int(static_cast< int >(result
));
8635 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8638 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8639 return SWIG_Py_Void();
8642 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8643 return SWIG_Python_InitShadowInstance(args
);
8646 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
= 0;
8648 wxWindow
*arg1
= (wxWindow
*) 0 ;
8649 int arg2
= (int) -1 ;
8650 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8651 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8652 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8653 wxStatusBar
*result
= 0 ;
8660 bool temp4
= false ;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8663 PyObject
* obj2
= 0 ;
8664 PyObject
* obj3
= 0 ;
8665 char * kwnames
[] = {
8666 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8671 if (!SWIG_IsOK(res1
)) {
8672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8674 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8677 if (!SWIG_IsOK(ecode2
)) {
8678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8680 arg2
= static_cast< int >(val2
);
8683 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8684 if (!SWIG_IsOK(ecode3
)) {
8685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8687 arg3
= static_cast< long >(val3
);
8691 arg4
= wxString_in_helper(obj3
);
8692 if (arg4
== NULL
) SWIG_fail
;
8697 if (!wxPyCheckForApp()) SWIG_fail
;
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8718 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8719 PyObject
*resultobj
= 0;
8720 wxStatusBar
*result
= 0 ;
8722 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8724 if (!wxPyCheckForApp()) SWIG_fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 result
= (wxStatusBar
*)new wxStatusBar();
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8737 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
= 0;
8739 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8740 wxWindow
*arg2
= (wxWindow
*) 0 ;
8741 int arg3
= (int) -1 ;
8742 long arg4
= (long) wxST_SIZEGRIP
;
8743 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8744 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8754 bool temp5
= false ;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8757 PyObject
* obj2
= 0 ;
8758 PyObject
* obj3
= 0 ;
8759 PyObject
* obj4
= 0 ;
8760 char * kwnames
[] = {
8761 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8766 if (!SWIG_IsOK(res1
)) {
8767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8769 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8770 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8771 if (!SWIG_IsOK(res2
)) {
8772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8774 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8776 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8777 if (!SWIG_IsOK(ecode3
)) {
8778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8780 arg3
= static_cast< int >(val3
);
8783 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8784 if (!SWIG_IsOK(ecode4
)) {
8785 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8787 arg4
= static_cast< long >(val4
);
8791 arg5
= wxString_in_helper(obj4
);
8792 if (arg5
== NULL
) SWIG_fail
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8799 wxPyEndAllowThreads(__tstate
);
8800 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8819 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
= 0;
8821 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8822 int arg2
= (int) 1 ;
8827 PyObject
* obj0
= 0 ;
8828 PyObject
* obj1
= 0 ;
8829 char * kwnames
[] = {
8830 (char *) "self",(char *) "number", NULL
8833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8835 if (!SWIG_IsOK(res1
)) {
8836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8838 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8841 if (!SWIG_IsOK(ecode2
)) {
8842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8844 arg2
= static_cast< int >(val2
);
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 (arg1
)->SetFieldsCount(arg2
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 resultobj
= SWIG_Py_Void();
8859 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8860 PyObject
*resultobj
= 0;
8861 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8865 PyObject
*swig_obj
[1] ;
8867 if (!args
) SWIG_fail
;
8869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8870 if (!SWIG_IsOK(res1
)) {
8871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8873 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 resultobj
= SWIG_From_int(static_cast< int >(result
));
8887 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
= 0;
8889 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8890 wxString
*arg2
= 0 ;
8891 int arg3
= (int) 0 ;
8894 bool temp2
= false ;
8897 PyObject
* obj0
= 0 ;
8898 PyObject
* obj1
= 0 ;
8899 PyObject
* obj2
= 0 ;
8900 char * kwnames
[] = {
8901 (char *) "self",(char *) "text",(char *) "number", NULL
8904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8906 if (!SWIG_IsOK(res1
)) {
8907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8909 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8911 arg2
= wxString_in_helper(obj1
);
8912 if (arg2
== NULL
) SWIG_fail
;
8916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8917 if (!SWIG_IsOK(ecode3
)) {
8918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8920 arg3
= static_cast< int >(val3
);
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8928 resultobj
= SWIG_Py_Void();
8943 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
= 0;
8945 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8946 int arg2
= (int) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 char * kwnames
[] = {
8955 (char *) "self",(char *) "number", NULL
8958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8960 if (!SWIG_IsOK(res1
)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8963 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8966 if (!SWIG_IsOK(ecode2
)) {
8967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8969 arg2
= static_cast< int >(val2
);
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8990 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
= 0;
8992 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8993 wxString
*arg2
= 0 ;
8994 int arg3
= (int) 0 ;
8997 bool temp2
= false ;
9000 PyObject
* obj0
= 0 ;
9001 PyObject
* obj1
= 0 ;
9002 PyObject
* obj2
= 0 ;
9003 char * kwnames
[] = {
9004 (char *) "self",(char *) "text",(char *) "number", NULL
9007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9009 if (!SWIG_IsOK(res1
)) {
9010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9012 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9014 arg2
= wxString_in_helper(obj1
);
9015 if (arg2
== NULL
) SWIG_fail
;
9019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9020 if (!SWIG_IsOK(ecode3
)) {
9021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9023 arg3
= static_cast< int >(val3
);
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 resultobj
= SWIG_Py_Void();
9046 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
= 0;
9048 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9049 int arg2
= (int) 0 ;
9054 PyObject
* obj0
= 0 ;
9055 PyObject
* obj1
= 0 ;
9056 char * kwnames
[] = {
9057 (char *) "self",(char *) "number", NULL
9060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9062 if (!SWIG_IsOK(res1
)) {
9063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9065 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9068 if (!SWIG_IsOK(ecode2
)) {
9069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9071 arg2
= static_cast< int >(val2
);
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 (arg1
)->PopStatusText(arg2
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= SWIG_Py_Void();
9086 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
= 0;
9088 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9090 int *arg3
= (int *) 0 ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 char * kwnames
[] = {
9096 (char *) "self",(char *) "widths", NULL
9099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9101 if (!SWIG_IsOK(res1
)) {
9102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9104 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9106 arg2
= PyList_Size(obj1
);
9107 arg3
= int_LIST_helper(obj1
);
9108 if (arg3
== NULL
) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 resultobj
= SWIG_Py_Void();
9118 if (arg3
) delete [] arg3
;
9123 if (arg3
) delete [] arg3
;
9129 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9130 PyObject
*resultobj
= 0;
9131 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9133 int *arg3
= (int *) 0 ;
9136 PyObject
* obj0
= 0 ;
9137 PyObject
* obj1
= 0 ;
9138 char * kwnames
[] = {
9139 (char *) "self",(char *) "styles", NULL
9142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9144 if (!SWIG_IsOK(res1
)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9147 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9149 arg2
= PyList_Size(obj1
);
9150 arg3
= int_LIST_helper(obj1
);
9151 if (arg3
== NULL
) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= SWIG_Py_Void();
9161 if (arg3
) delete [] arg3
;
9166 if (arg3
) delete [] arg3
;
9172 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
= 0;
9174 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9181 PyObject
* obj0
= 0 ;
9182 PyObject
* obj1
= 0 ;
9183 char * kwnames
[] = {
9184 (char *) "self",(char *) "i", NULL
9187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9189 if (!SWIG_IsOK(res1
)) {
9190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9192 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9194 if (!SWIG_IsOK(ecode2
)) {
9195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9197 arg2
= static_cast< int >(val2
);
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9211 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
= 0;
9213 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9219 PyObject
* obj0
= 0 ;
9220 PyObject
* obj1
= 0 ;
9221 char * kwnames
[] = {
9222 (char *) "self",(char *) "height", NULL
9225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9227 if (!SWIG_IsOK(res1
)) {
9228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9230 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9232 if (!SWIG_IsOK(ecode2
)) {
9233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9235 arg2
= static_cast< int >(val2
);
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 (arg1
)->SetMinHeight(arg2
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= SWIG_Py_Void();
9249 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9250 PyObject
*resultobj
= 0;
9251 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9255 PyObject
*swig_obj
[1] ;
9257 if (!args
) SWIG_fail
;
9259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9260 if (!SWIG_IsOK(res1
)) {
9261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9263 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_From_int(static_cast< int >(result
));
9277 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9278 PyObject
*resultobj
= 0;
9279 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9283 PyObject
*swig_obj
[1] ;
9285 if (!args
) SWIG_fail
;
9287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9288 if (!SWIG_IsOK(res1
)) {
9289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9291 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= SWIG_From_int(static_cast< int >(result
));
9305 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
= 0;
9307 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9308 SwigValueWrapper
<wxVisualAttributes
> result
;
9311 PyObject
* obj0
= 0 ;
9312 char * kwnames
[] = {
9313 (char *) "variant", NULL
9316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9318 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9319 if (!SWIG_IsOK(ecode1
)) {
9320 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9322 arg1
= static_cast< wxWindowVariant
>(val1
);
9325 if (!wxPyCheckForApp()) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9338 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9341 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9342 return SWIG_Py_Void();
9345 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9346 return SWIG_Python_InitShadowInstance(args
);
9349 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9350 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9355 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9356 PyObject
*pyobj
= 0;
9360 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9362 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9369 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
= 0;
9371 wxWindow
*arg1
= (wxWindow
*) 0 ;
9372 int arg2
= (int) -1 ;
9373 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9374 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9375 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9376 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9377 long arg5
= (long) wxSP_3D
;
9378 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9379 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9380 wxSplitterWindow
*result
= 0 ;
9389 bool temp6
= false ;
9390 PyObject
* obj0
= 0 ;
9391 PyObject
* obj1
= 0 ;
9392 PyObject
* obj2
= 0 ;
9393 PyObject
* obj3
= 0 ;
9394 PyObject
* obj4
= 0 ;
9395 PyObject
* obj5
= 0 ;
9396 char * kwnames
[] = {
9397 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9402 if (!SWIG_IsOK(res1
)) {
9403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9405 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9408 if (!SWIG_IsOK(ecode2
)) {
9409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9411 arg2
= static_cast< int >(val2
);
9416 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9422 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9426 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9427 if (!SWIG_IsOK(ecode5
)) {
9428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9430 arg5
= static_cast< long >(val5
);
9434 arg6
= wxString_in_helper(obj5
);
9435 if (arg6
== NULL
) SWIG_fail
;
9440 if (!wxPyCheckForApp()) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9461 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9462 PyObject
*resultobj
= 0;
9463 wxSplitterWindow
*result
= 0 ;
9465 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9467 if (!wxPyCheckForApp()) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9480 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
= 0;
9482 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9483 wxWindow
*arg2
= (wxWindow
*) 0 ;
9484 int arg3
= (int) -1 ;
9485 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9486 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9487 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9488 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9489 long arg6
= (long) wxSP_3D
;
9490 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9491 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9503 bool temp7
= false ;
9504 PyObject
* obj0
= 0 ;
9505 PyObject
* obj1
= 0 ;
9506 PyObject
* obj2
= 0 ;
9507 PyObject
* obj3
= 0 ;
9508 PyObject
* obj4
= 0 ;
9509 PyObject
* obj5
= 0 ;
9510 PyObject
* obj6
= 0 ;
9511 char * kwnames
[] = {
9512 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9517 if (!SWIG_IsOK(res1
)) {
9518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9520 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9521 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9522 if (!SWIG_IsOK(res2
)) {
9523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9525 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9528 if (!SWIG_IsOK(ecode3
)) {
9529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9531 arg3
= static_cast< int >(val3
);
9536 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9542 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9546 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9547 if (!SWIG_IsOK(ecode6
)) {
9548 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9550 arg6
= static_cast< long >(val6
);
9554 arg7
= wxString_in_helper(obj6
);
9555 if (arg7
== NULL
) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9582 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9583 PyObject
*resultobj
= 0;
9584 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9585 wxWindow
*result
= 0 ;
9588 PyObject
*swig_obj
[1] ;
9590 if (!args
) SWIG_fail
;
9592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9593 if (!SWIG_IsOK(res1
)) {
9594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9596 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9600 wxPyEndAllowThreads(__tstate
);
9601 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= wxPyMake_wxObject(result
, 0);
9612 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9613 PyObject
*resultobj
= 0;
9614 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9615 wxWindow
*result
= 0 ;
9618 PyObject
*swig_obj
[1] ;
9620 if (!args
) SWIG_fail
;
9622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9623 if (!SWIG_IsOK(res1
)) {
9624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9626 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= wxPyMake_wxObject(result
, 0);
9642 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
= 0;
9644 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9652 char * kwnames
[] = {
9653 (char *) "self",(char *) "mode", NULL
9656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9658 if (!SWIG_IsOK(res1
)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9661 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9663 if (!SWIG_IsOK(ecode2
)) {
9664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9666 arg2
= static_cast< int >(val2
);
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 (arg1
)->SetSplitMode(arg2
);
9670 wxPyEndAllowThreads(__tstate
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= SWIG_Py_Void();
9680 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9681 PyObject
*resultobj
= 0;
9682 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9686 PyObject
*swig_obj
[1] ;
9688 if (!args
) SWIG_fail
;
9690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9691 if (!SWIG_IsOK(res1
)) {
9692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9694 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_From_int(static_cast< int >(result
));
9708 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
= 0;
9710 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9711 wxWindow
*arg2
= (wxWindow
*) 0 ;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9718 char * kwnames
[] = {
9719 (char *) "self",(char *) "window", NULL
9722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9724 if (!SWIG_IsOK(res1
)) {
9725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9727 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9729 if (!SWIG_IsOK(res2
)) {
9730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9732 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 (arg1
)->Initialize(arg2
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_Py_Void();
9746 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
= 0;
9748 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9749 wxWindow
*arg2
= (wxWindow
*) 0 ;
9750 wxWindow
*arg3
= (wxWindow
*) 0 ;
9751 int arg4
= (int) 0 ;
9761 PyObject
* obj0
= 0 ;
9762 PyObject
* obj1
= 0 ;
9763 PyObject
* obj2
= 0 ;
9764 PyObject
* obj3
= 0 ;
9765 char * kwnames
[] = {
9766 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9771 if (!SWIG_IsOK(res1
)) {
9772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9774 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9776 if (!SWIG_IsOK(res2
)) {
9777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9779 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9780 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9781 if (!SWIG_IsOK(res3
)) {
9782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9784 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9787 if (!SWIG_IsOK(ecode4
)) {
9788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9790 arg4
= static_cast< int >(val4
);
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9807 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
= 0;
9809 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9810 wxWindow
*arg2
= (wxWindow
*) 0 ;
9811 wxWindow
*arg3
= (wxWindow
*) 0 ;
9812 int arg4
= (int) 0 ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9824 PyObject
* obj2
= 0 ;
9825 PyObject
* obj3
= 0 ;
9826 char * kwnames
[] = {
9827 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9832 if (!SWIG_IsOK(res1
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9835 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9836 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9837 if (!SWIG_IsOK(res2
)) {
9838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9840 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9841 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9842 if (!SWIG_IsOK(res3
)) {
9843 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9845 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9847 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9848 if (!SWIG_IsOK(ecode4
)) {
9849 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9851 arg4
= static_cast< int >(val4
);
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9868 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
= 0;
9870 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9871 wxWindow
*arg2
= (wxWindow
*) NULL
;
9877 PyObject
* obj0
= 0 ;
9878 PyObject
* obj1
= 0 ;
9879 char * kwnames
[] = {
9880 (char *) "self",(char *) "toRemove", NULL
9883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9885 if (!SWIG_IsOK(res1
)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9888 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9891 if (!SWIG_IsOK(res2
)) {
9892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9894 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= (bool)(arg1
)->Unsplit(arg2
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9911 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
= 0;
9913 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9914 wxWindow
*arg2
= (wxWindow
*) 0 ;
9915 wxWindow
*arg3
= (wxWindow
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9924 PyObject
* obj1
= 0 ;
9925 PyObject
* obj2
= 0 ;
9926 char * kwnames
[] = {
9927 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9932 if (!SWIG_IsOK(res1
)) {
9933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9935 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9937 if (!SWIG_IsOK(res2
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9940 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9941 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9942 if (!SWIG_IsOK(res3
)) {
9943 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9945 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9961 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9962 PyObject
*resultobj
= 0;
9963 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9966 PyObject
*swig_obj
[1] ;
9968 if (!args
) SWIG_fail
;
9970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9971 if (!SWIG_IsOK(res1
)) {
9972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9974 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 (arg1
)->UpdateSize();
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_Py_Void();
9988 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9989 PyObject
*resultobj
= 0;
9990 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9994 PyObject
*swig_obj
[1] ;
9996 if (!args
) SWIG_fail
;
9998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9999 if (!SWIG_IsOK(res1
)) {
10000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10002 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10018 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
= 0;
10020 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10026 PyObject
* obj0
= 0 ;
10027 PyObject
* obj1
= 0 ;
10028 char * kwnames
[] = {
10029 (char *) "self",(char *) "width", NULL
10032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10034 if (!SWIG_IsOK(res1
)) {
10035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10037 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10039 if (!SWIG_IsOK(ecode2
)) {
10040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10042 arg2
= static_cast< int >(val2
);
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 (arg1
)->SetSashSize(arg2
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= SWIG_Py_Void();
10056 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
= 0;
10058 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 char * kwnames
[] = {
10067 (char *) "self",(char *) "width", NULL
10070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10072 if (!SWIG_IsOK(res1
)) {
10073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10075 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10077 if (!SWIG_IsOK(ecode2
)) {
10078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10080 arg2
= static_cast< int >(val2
);
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 (arg1
)->SetBorderSize(arg2
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10087 resultobj
= SWIG_Py_Void();
10094 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10095 PyObject
*resultobj
= 0;
10096 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10100 PyObject
*swig_obj
[1] ;
10102 if (!args
) SWIG_fail
;
10103 swig_obj
[0] = args
;
10104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10105 if (!SWIG_IsOK(res1
)) {
10106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10108 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_From_int(static_cast< int >(result
));
10122 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10123 PyObject
*resultobj
= 0;
10124 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10128 PyObject
*swig_obj
[1] ;
10130 if (!args
) SWIG_fail
;
10131 swig_obj
[0] = args
;
10132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10133 if (!SWIG_IsOK(res1
)) {
10134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10136 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_From_int(static_cast< int >(result
));
10150 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
= 0;
10152 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10154 bool arg3
= (bool) true ;
10161 PyObject
* obj0
= 0 ;
10162 PyObject
* obj1
= 0 ;
10163 PyObject
* obj2
= 0 ;
10164 char * kwnames
[] = {
10165 (char *) "self",(char *) "position",(char *) "redraw", NULL
10168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10170 if (!SWIG_IsOK(res1
)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10173 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10175 if (!SWIG_IsOK(ecode2
)) {
10176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10178 arg2
= static_cast< int >(val2
);
10180 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10181 if (!SWIG_IsOK(ecode3
)) {
10182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10184 arg3
= static_cast< bool >(val3
);
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 (arg1
)->SetSashPosition(arg2
,arg3
);
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 resultobj
= SWIG_Py_Void();
10199 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10200 PyObject
*resultobj
= 0;
10201 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10205 PyObject
*swig_obj
[1] ;
10207 if (!args
) SWIG_fail
;
10208 swig_obj
[0] = args
;
10209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10210 if (!SWIG_IsOK(res1
)) {
10211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10213 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_From_int(static_cast< int >(result
));
10227 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
= 0;
10229 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10235 PyObject
* obj0
= 0 ;
10236 PyObject
* obj1
= 0 ;
10237 char * kwnames
[] = {
10238 (char *) "self",(char *) "gravity", NULL
10241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10243 if (!SWIG_IsOK(res1
)) {
10244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10246 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10247 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10248 if (!SWIG_IsOK(ecode2
)) {
10249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10251 arg2
= static_cast< double >(val2
);
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 (arg1
)->SetSashGravity(arg2
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= SWIG_Py_Void();
10265 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10266 PyObject
*resultobj
= 0;
10267 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10271 PyObject
*swig_obj
[1] ;
10273 if (!args
) SWIG_fail
;
10274 swig_obj
[0] = args
;
10275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10276 if (!SWIG_IsOK(res1
)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10279 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= SWIG_From_double(static_cast< double >(result
));
10293 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
= 0;
10295 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10301 PyObject
* obj0
= 0 ;
10302 PyObject
* obj1
= 0 ;
10303 char * kwnames
[] = {
10304 (char *) "self",(char *) "min", NULL
10307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10309 if (!SWIG_IsOK(res1
)) {
10310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10312 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10314 if (!SWIG_IsOK(ecode2
)) {
10315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10317 arg2
= static_cast< int >(val2
);
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 (arg1
)->SetMinimumPaneSize(arg2
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_Py_Void();
10331 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10332 PyObject
*resultobj
= 0;
10333 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10337 PyObject
*swig_obj
[1] ;
10339 if (!args
) SWIG_fail
;
10340 swig_obj
[0] = args
;
10341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10342 if (!SWIG_IsOK(res1
)) {
10343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10345 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_From_int(static_cast< int >(result
));
10359 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
= 0;
10361 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10364 int arg4
= (int) 5 ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 PyObject
* obj2
= 0 ;
10377 PyObject
* obj3
= 0 ;
10378 char * kwnames
[] = {
10379 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10384 if (!SWIG_IsOK(res1
)) {
10385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10387 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10389 if (!SWIG_IsOK(ecode2
)) {
10390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10392 arg2
= static_cast< int >(val2
);
10393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10394 if (!SWIG_IsOK(ecode3
)) {
10395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10397 arg3
= static_cast< int >(val3
);
10399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10400 if (!SWIG_IsOK(ecode4
)) {
10401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10403 arg4
= static_cast< int >(val4
);
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10420 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10421 PyObject
*resultobj
= 0;
10422 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10425 PyObject
*swig_obj
[1] ;
10427 if (!args
) SWIG_fail
;
10428 swig_obj
[0] = args
;
10429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10430 if (!SWIG_IsOK(res1
)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10433 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 (arg1
)->SizeWindows();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_Py_Void();
10447 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
= 0;
10449 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 char * kwnames
[] = {
10458 (char *) "self",(char *) "needUpdating", NULL
10461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10463 if (!SWIG_IsOK(res1
)) {
10464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10466 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10467 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10468 if (!SWIG_IsOK(ecode2
)) {
10469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10471 arg2
= static_cast< bool >(val2
);
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 (arg1
)->SetNeedUpdating(arg2
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= SWIG_Py_Void();
10485 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10486 PyObject
*resultobj
= 0;
10487 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10491 PyObject
*swig_obj
[1] ;
10493 if (!args
) SWIG_fail
;
10494 swig_obj
[0] = args
;
10495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10496 if (!SWIG_IsOK(res1
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10499 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10515 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
= 0;
10517 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10518 SwigValueWrapper
<wxVisualAttributes
> result
;
10521 PyObject
* obj0
= 0 ;
10522 char * kwnames
[] = {
10523 (char *) "variant", NULL
10526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10528 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10529 if (!SWIG_IsOK(ecode1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10532 arg1
= static_cast< wxWindowVariant
>(val1
);
10535 if (!wxPyCheckForApp()) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10548 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10551 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10552 return SWIG_Py_Void();
10555 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10556 return SWIG_Python_InitShadowInstance(args
);
10559 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
= 0;
10561 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10562 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10563 wxSplitterEvent
*result
= 0 ;
10568 PyObject
* obj0
= 0 ;
10569 PyObject
* obj1
= 0 ;
10570 char * kwnames
[] = {
10571 (char *) "type",(char *) "splitter", NULL
10574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10576 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10577 if (!SWIG_IsOK(ecode1
)) {
10578 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10580 arg1
= static_cast< wxEventType
>(val1
);
10583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10584 if (!SWIG_IsOK(res2
)) {
10585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10587 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10602 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
= 0;
10604 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 char * kwnames
[] = {
10613 (char *) "self",(char *) "pos", NULL
10616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10618 if (!SWIG_IsOK(res1
)) {
10619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10621 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10623 if (!SWIG_IsOK(ecode2
)) {
10624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10626 arg2
= static_cast< int >(val2
);
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 (arg1
)->SetSashPosition(arg2
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 resultobj
= SWIG_Py_Void();
10640 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10641 PyObject
*resultobj
= 0;
10642 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10646 PyObject
*swig_obj
[1] ;
10648 if (!args
) SWIG_fail
;
10649 swig_obj
[0] = args
;
10650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10651 if (!SWIG_IsOK(res1
)) {
10652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10654 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= SWIG_From_int(static_cast< int >(result
));
10668 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10669 PyObject
*resultobj
= 0;
10670 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10671 wxWindow
*result
= 0 ;
10674 PyObject
*swig_obj
[1] ;
10676 if (!args
) SWIG_fail
;
10677 swig_obj
[0] = args
;
10678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10679 if (!SWIG_IsOK(res1
)) {
10680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10682 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10685 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10690 resultobj
= wxPyMake_wxObject(result
, 0);
10698 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10699 PyObject
*resultobj
= 0;
10700 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10704 PyObject
*swig_obj
[1] ;
10706 if (!args
) SWIG_fail
;
10707 swig_obj
[0] = args
;
10708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10709 if (!SWIG_IsOK(res1
)) {
10710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10712 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= SWIG_From_int(static_cast< int >(result
));
10726 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10727 PyObject
*resultobj
= 0;
10728 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10732 PyObject
*swig_obj
[1] ;
10734 if (!args
) SWIG_fail
;
10735 swig_obj
[0] = args
;
10736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10737 if (!SWIG_IsOK(res1
)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10740 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_From_int(static_cast< int >(result
));
10754 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10757 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10758 return SWIG_Py_Void();
10761 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10762 return SWIG_Python_InitShadowInstance(args
);
10765 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10766 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10771 SWIGINTERN PyObject
*SashNameStr_get(void) {
10772 PyObject
*pyobj
= 0;
10776 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10778 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10785 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10786 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10791 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10792 PyObject
*pyobj
= 0;
10796 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10798 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10805 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
= 0;
10807 wxWindow
*arg1
= (wxWindow
*) 0 ;
10808 int arg2
= (int) -1 ;
10809 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10810 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10811 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10812 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10813 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10814 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10815 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10816 wxSashWindow
*result
= 0 ;
10825 bool temp6
= false ;
10826 PyObject
* obj0
= 0 ;
10827 PyObject
* obj1
= 0 ;
10828 PyObject
* obj2
= 0 ;
10829 PyObject
* obj3
= 0 ;
10830 PyObject
* obj4
= 0 ;
10831 PyObject
* obj5
= 0 ;
10832 char * kwnames
[] = {
10833 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10838 if (!SWIG_IsOK(res1
)) {
10839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10841 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10844 if (!SWIG_IsOK(ecode2
)) {
10845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10847 arg2
= static_cast< int >(val2
);
10852 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10858 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10862 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10863 if (!SWIG_IsOK(ecode5
)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10866 arg5
= static_cast< long >(val5
);
10870 arg6
= wxString_in_helper(obj5
);
10871 if (arg6
== NULL
) SWIG_fail
;
10876 if (!wxPyCheckForApp()) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10897 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10898 PyObject
*resultobj
= 0;
10899 wxSashWindow
*result
= 0 ;
10901 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10903 if (!wxPyCheckForApp()) SWIG_fail
;
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 result
= (wxSashWindow
*)new wxSashWindow();
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10916 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
= 0;
10918 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10919 wxWindow
*arg2
= (wxWindow
*) 0 ;
10920 int arg3
= (int) -1 ;
10921 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10922 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10923 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10924 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10925 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10926 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10927 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10939 bool temp7
= false ;
10940 PyObject
* obj0
= 0 ;
10941 PyObject
* obj1
= 0 ;
10942 PyObject
* obj2
= 0 ;
10943 PyObject
* obj3
= 0 ;
10944 PyObject
* obj4
= 0 ;
10945 PyObject
* obj5
= 0 ;
10946 PyObject
* obj6
= 0 ;
10947 char * kwnames
[] = {
10948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10953 if (!SWIG_IsOK(res1
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10956 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10957 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10958 if (!SWIG_IsOK(res2
)) {
10959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10961 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10964 if (!SWIG_IsOK(ecode3
)) {
10965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10967 arg3
= static_cast< int >(val3
);
10972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10982 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10983 if (!SWIG_IsOK(ecode6
)) {
10984 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10986 arg6
= static_cast< long >(val6
);
10990 arg7
= wxString_in_helper(obj6
);
10991 if (arg7
== NULL
) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11018 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
= 0;
11020 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11021 wxSashEdgePosition arg2
;
11029 PyObject
* obj0
= 0 ;
11030 PyObject
* obj1
= 0 ;
11031 PyObject
* obj2
= 0 ;
11032 char * kwnames
[] = {
11033 (char *) "self",(char *) "edge",(char *) "sash", NULL
11036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11038 if (!SWIG_IsOK(res1
)) {
11039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11041 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11043 if (!SWIG_IsOK(ecode2
)) {
11044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11046 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11047 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11048 if (!SWIG_IsOK(ecode3
)) {
11049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11051 arg3
= static_cast< bool >(val3
);
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->SetSashVisible(arg2
,arg3
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= SWIG_Py_Void();
11065 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
= 0;
11067 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11068 wxSashEdgePosition arg2
;
11074 PyObject
* obj0
= 0 ;
11075 PyObject
* obj1
= 0 ;
11076 char * kwnames
[] = {
11077 (char *) "self",(char *) "edge", NULL
11080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11082 if (!SWIG_IsOK(res1
)) {
11083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11085 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11087 if (!SWIG_IsOK(ecode2
)) {
11088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11090 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11106 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
= 0;
11108 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11109 wxSashEdgePosition arg2
;
11117 PyObject
* obj0
= 0 ;
11118 PyObject
* obj1
= 0 ;
11119 PyObject
* obj2
= 0 ;
11120 char * kwnames
[] = {
11121 (char *) "self",(char *) "edge",(char *) "border", NULL
11124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11126 if (!SWIG_IsOK(res1
)) {
11127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11129 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11131 if (!SWIG_IsOK(ecode2
)) {
11132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11134 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11135 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11136 if (!SWIG_IsOK(ecode3
)) {
11137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11139 arg3
= static_cast< bool >(val3
);
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 (arg1
)->SetSashBorder(arg2
,arg3
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= SWIG_Py_Void();
11153 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
= 0;
11155 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11156 wxSashEdgePosition arg2
;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 char * kwnames
[] = {
11165 (char *) "self",(char *) "edge", NULL
11168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11170 if (!SWIG_IsOK(res1
)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11173 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11175 if (!SWIG_IsOK(ecode2
)) {
11176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11178 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11194 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
= 0;
11196 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11197 wxSashEdgePosition arg2
;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 char * kwnames
[] = {
11206 (char *) "self",(char *) "edge", NULL
11209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11211 if (!SWIG_IsOK(res1
)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11214 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11216 if (!SWIG_IsOK(ecode2
)) {
11217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11219 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 resultobj
= SWIG_From_int(static_cast< int >(result
));
11233 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
= 0;
11235 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 char * kwnames
[] = {
11244 (char *) "self",(char *) "width", NULL
11247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11249 if (!SWIG_IsOK(res1
)) {
11250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11252 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11254 if (!SWIG_IsOK(ecode2
)) {
11255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11257 arg2
= static_cast< int >(val2
);
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 (arg1
)->SetDefaultBorderSize(arg2
);
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= SWIG_Py_Void();
11271 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11272 PyObject
*resultobj
= 0;
11273 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11277 PyObject
*swig_obj
[1] ;
11279 if (!args
) SWIG_fail
;
11280 swig_obj
[0] = args
;
11281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11282 if (!SWIG_IsOK(res1
)) {
11283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11285 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= SWIG_From_int(static_cast< int >(result
));
11299 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
= 0;
11301 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 char * kwnames
[] = {
11310 (char *) "self",(char *) "width", NULL
11313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11315 if (!SWIG_IsOK(res1
)) {
11316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11318 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11320 if (!SWIG_IsOK(ecode2
)) {
11321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11323 arg2
= static_cast< int >(val2
);
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 (arg1
)->SetExtraBorderSize(arg2
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 resultobj
= SWIG_Py_Void();
11337 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11338 PyObject
*resultobj
= 0;
11339 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11343 PyObject
*swig_obj
[1] ;
11345 if (!args
) SWIG_fail
;
11346 swig_obj
[0] = args
;
11347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11348 if (!SWIG_IsOK(res1
)) {
11349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11351 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= SWIG_From_int(static_cast< int >(result
));
11365 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
= 0;
11367 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 char * kwnames
[] = {
11376 (char *) "self",(char *) "min", NULL
11379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11381 if (!SWIG_IsOK(res1
)) {
11382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11384 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11386 if (!SWIG_IsOK(ecode2
)) {
11387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11389 arg2
= static_cast< int >(val2
);
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 (arg1
)->SetMinimumSizeX(arg2
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= SWIG_Py_Void();
11403 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
= 0;
11405 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11411 PyObject
* obj0
= 0 ;
11412 PyObject
* obj1
= 0 ;
11413 char * kwnames
[] = {
11414 (char *) "self",(char *) "min", NULL
11417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11419 if (!SWIG_IsOK(res1
)) {
11420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11422 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11424 if (!SWIG_IsOK(ecode2
)) {
11425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11427 arg2
= static_cast< int >(val2
);
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 (arg1
)->SetMinimumSizeY(arg2
);
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 resultobj
= SWIG_Py_Void();
11441 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11442 PyObject
*resultobj
= 0;
11443 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11447 PyObject
*swig_obj
[1] ;
11449 if (!args
) SWIG_fail
;
11450 swig_obj
[0] = args
;
11451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11452 if (!SWIG_IsOK(res1
)) {
11453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11455 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_From_int(static_cast< int >(result
));
11469 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11470 PyObject
*resultobj
= 0;
11471 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11475 PyObject
*swig_obj
[1] ;
11477 if (!args
) SWIG_fail
;
11478 swig_obj
[0] = args
;
11479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11480 if (!SWIG_IsOK(res1
)) {
11481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11483 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11486 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= SWIG_From_int(static_cast< int >(result
));
11497 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
= 0;
11499 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11505 PyObject
* obj0
= 0 ;
11506 PyObject
* obj1
= 0 ;
11507 char * kwnames
[] = {
11508 (char *) "self",(char *) "max", NULL
11511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11513 if (!SWIG_IsOK(res1
)) {
11514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11516 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11518 if (!SWIG_IsOK(ecode2
)) {
11519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11521 arg2
= static_cast< int >(val2
);
11523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 (arg1
)->SetMaximumSizeX(arg2
);
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11528 resultobj
= SWIG_Py_Void();
11535 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
= 0;
11537 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11543 PyObject
* obj0
= 0 ;
11544 PyObject
* obj1
= 0 ;
11545 char * kwnames
[] = {
11546 (char *) "self",(char *) "max", NULL
11549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11551 if (!SWIG_IsOK(res1
)) {
11552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11554 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11556 if (!SWIG_IsOK(ecode2
)) {
11557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11559 arg2
= static_cast< int >(val2
);
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 (arg1
)->SetMaximumSizeY(arg2
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= SWIG_Py_Void();
11573 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11574 PyObject
*resultobj
= 0;
11575 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11579 PyObject
*swig_obj
[1] ;
11581 if (!args
) SWIG_fail
;
11582 swig_obj
[0] = args
;
11583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11584 if (!SWIG_IsOK(res1
)) {
11585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11587 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= SWIG_From_int(static_cast< int >(result
));
11601 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11602 PyObject
*resultobj
= 0;
11603 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11607 PyObject
*swig_obj
[1] ;
11609 if (!args
) SWIG_fail
;
11610 swig_obj
[0] = args
;
11611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11612 if (!SWIG_IsOK(res1
)) {
11613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11615 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= SWIG_From_int(static_cast< int >(result
));
11629 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
= 0;
11631 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11634 int arg4
= (int) 2 ;
11635 wxSashEdgePosition result
;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 PyObject
* obj2
= 0 ;
11647 PyObject
* obj3
= 0 ;
11648 char * kwnames
[] = {
11649 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11654 if (!SWIG_IsOK(res1
)) {
11655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11657 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11659 if (!SWIG_IsOK(ecode2
)) {
11660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11662 arg2
= static_cast< int >(val2
);
11663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11664 if (!SWIG_IsOK(ecode3
)) {
11665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11667 arg3
= static_cast< int >(val3
);
11669 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11670 if (!SWIG_IsOK(ecode4
)) {
11671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11673 arg4
= static_cast< int >(val4
);
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= SWIG_From_int(static_cast< int >(result
));
11688 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11689 PyObject
*resultobj
= 0;
11690 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11693 PyObject
*swig_obj
[1] ;
11695 if (!args
) SWIG_fail
;
11696 swig_obj
[0] = args
;
11697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11698 if (!SWIG_IsOK(res1
)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11701 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 (arg1
)->SizeWindows();
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11708 resultobj
= SWIG_Py_Void();
11715 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11717 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11718 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11719 return SWIG_Py_Void();
11722 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11723 return SWIG_Python_InitShadowInstance(args
);
11726 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
= 0;
11728 int arg1
= (int) 0 ;
11729 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11730 wxSashEvent
*result
= 0 ;
11735 PyObject
* obj0
= 0 ;
11736 PyObject
* obj1
= 0 ;
11737 char * kwnames
[] = {
11738 (char *) "id",(char *) "edge", NULL
11741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11743 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11744 if (!SWIG_IsOK(ecode1
)) {
11745 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11747 arg1
= static_cast< int >(val1
);
11750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11751 if (!SWIG_IsOK(ecode2
)) {
11752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11754 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11769 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
= 0;
11771 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11772 wxSashEdgePosition arg2
;
11777 PyObject
* obj0
= 0 ;
11778 PyObject
* obj1
= 0 ;
11779 char * kwnames
[] = {
11780 (char *) "self",(char *) "edge", NULL
11783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11785 if (!SWIG_IsOK(res1
)) {
11786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11788 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11790 if (!SWIG_IsOK(ecode2
)) {
11791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11793 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 (arg1
)->SetEdge(arg2
);
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= SWIG_Py_Void();
11807 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11808 PyObject
*resultobj
= 0;
11809 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11810 wxSashEdgePosition result
;
11813 PyObject
*swig_obj
[1] ;
11815 if (!args
) SWIG_fail
;
11816 swig_obj
[0] = args
;
11817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11818 if (!SWIG_IsOK(res1
)) {
11819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11821 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 resultobj
= SWIG_From_int(static_cast< int >(result
));
11835 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
= 0;
11837 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11842 PyObject
* obj0
= 0 ;
11843 PyObject
* obj1
= 0 ;
11844 char * kwnames
[] = {
11845 (char *) "self",(char *) "rect", NULL
11848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11850 if (!SWIG_IsOK(res1
)) {
11851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11853 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11856 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= SWIG_Py_Void();
11871 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11872 PyObject
*resultobj
= 0;
11873 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11877 PyObject
*swig_obj
[1] ;
11879 if (!args
) SWIG_fail
;
11880 swig_obj
[0] = args
;
11881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11882 if (!SWIG_IsOK(res1
)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11885 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11899 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
= 0;
11901 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11902 wxSashDragStatus arg2
;
11907 PyObject
* obj0
= 0 ;
11908 PyObject
* obj1
= 0 ;
11909 char * kwnames
[] = {
11910 (char *) "self",(char *) "status", NULL
11913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11915 if (!SWIG_IsOK(res1
)) {
11916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11918 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11920 if (!SWIG_IsOK(ecode2
)) {
11921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11923 arg2
= static_cast< wxSashDragStatus
>(val2
);
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 (arg1
)->SetDragStatus(arg2
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11930 resultobj
= SWIG_Py_Void();
11937 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11938 PyObject
*resultobj
= 0;
11939 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11940 wxSashDragStatus result
;
11943 PyObject
*swig_obj
[1] ;
11945 if (!args
) SWIG_fail
;
11946 swig_obj
[0] = args
;
11947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11948 if (!SWIG_IsOK(res1
)) {
11949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11951 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= SWIG_From_int(static_cast< int >(result
));
11965 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11968 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11969 return SWIG_Py_Void();
11972 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11973 return SWIG_Python_InitShadowInstance(args
);
11976 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
*resultobj
= 0;
11978 int arg1
= (int) 0 ;
11979 wxQueryLayoutInfoEvent
*result
= 0 ;
11982 PyObject
* obj0
= 0 ;
11983 char * kwnames
[] = {
11984 (char *) "id", NULL
11987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11989 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11990 if (!SWIG_IsOK(ecode1
)) {
11991 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11993 arg1
= static_cast< int >(val1
);
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12008 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
*resultobj
= 0;
12010 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 PyObject
* obj1
= 0 ;
12018 char * kwnames
[] = {
12019 (char *) "self",(char *) "length", NULL
12022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12024 if (!SWIG_IsOK(res1
)) {
12025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12027 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12029 if (!SWIG_IsOK(ecode2
)) {
12030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12032 arg2
= static_cast< int >(val2
);
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 (arg1
)->SetRequestedLength(arg2
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= SWIG_Py_Void();
12046 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12047 PyObject
*resultobj
= 0;
12048 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12052 PyObject
*swig_obj
[1] ;
12054 if (!args
) SWIG_fail
;
12055 swig_obj
[0] = args
;
12056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12057 if (!SWIG_IsOK(res1
)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12060 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_From_int(static_cast< int >(result
));
12074 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
= 0;
12076 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 PyObject
* obj1
= 0 ;
12084 char * kwnames
[] = {
12085 (char *) "self",(char *) "flags", NULL
12088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12090 if (!SWIG_IsOK(res1
)) {
12091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12093 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12095 if (!SWIG_IsOK(ecode2
)) {
12096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12098 arg2
= static_cast< int >(val2
);
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 (arg1
)->SetFlags(arg2
);
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= SWIG_Py_Void();
12112 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12113 PyObject
*resultobj
= 0;
12114 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12118 PyObject
*swig_obj
[1] ;
12120 if (!args
) SWIG_fail
;
12121 swig_obj
[0] = args
;
12122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12123 if (!SWIG_IsOK(res1
)) {
12124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12126 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= SWIG_From_int(static_cast< int >(result
));
12140 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
= 0;
12142 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 PyObject
* obj1
= 0 ;
12149 char * kwnames
[] = {
12150 (char *) "self",(char *) "size", NULL
12153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12155 if (!SWIG_IsOK(res1
)) {
12156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12158 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12161 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 (arg1
)->SetSize((wxSize
const &)*arg2
);
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= SWIG_Py_Void();
12176 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12177 PyObject
*resultobj
= 0;
12178 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12182 PyObject
*swig_obj
[1] ;
12184 if (!args
) SWIG_fail
;
12185 swig_obj
[0] = args
;
12186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12187 if (!SWIG_IsOK(res1
)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12190 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12204 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
= 0;
12206 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12207 wxLayoutOrientation arg2
;
12212 PyObject
* obj0
= 0 ;
12213 PyObject
* obj1
= 0 ;
12214 char * kwnames
[] = {
12215 (char *) "self",(char *) "orient", NULL
12218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12223 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12225 if (!SWIG_IsOK(ecode2
)) {
12226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12228 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 (arg1
)->SetOrientation(arg2
);
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_Py_Void();
12242 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12243 PyObject
*resultobj
= 0;
12244 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12245 wxLayoutOrientation result
;
12248 PyObject
*swig_obj
[1] ;
12250 if (!args
) SWIG_fail
;
12251 swig_obj
[0] = args
;
12252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12253 if (!SWIG_IsOK(res1
)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12256 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= SWIG_From_int(static_cast< int >(result
));
12270 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
= 0;
12272 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12273 wxLayoutAlignment arg2
;
12278 PyObject
* obj0
= 0 ;
12279 PyObject
* obj1
= 0 ;
12280 char * kwnames
[] = {
12281 (char *) "self",(char *) "align", NULL
12284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12286 if (!SWIG_IsOK(res1
)) {
12287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12289 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12291 if (!SWIG_IsOK(ecode2
)) {
12292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12294 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 (arg1
)->SetAlignment(arg2
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_Py_Void();
12308 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12309 PyObject
*resultobj
= 0;
12310 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12311 wxLayoutAlignment result
;
12314 PyObject
*swig_obj
[1] ;
12316 if (!args
) SWIG_fail
;
12317 swig_obj
[0] = args
;
12318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12319 if (!SWIG_IsOK(res1
)) {
12320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12322 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= SWIG_From_int(static_cast< int >(result
));
12336 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12339 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12340 return SWIG_Py_Void();
12343 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12344 return SWIG_Python_InitShadowInstance(args
);
12347 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
= 0;
12349 int arg1
= (int) 0 ;
12350 wxCalculateLayoutEvent
*result
= 0 ;
12353 PyObject
* obj0
= 0 ;
12354 char * kwnames
[] = {
12355 (char *) "id", NULL
12358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12360 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12361 if (!SWIG_IsOK(ecode1
)) {
12362 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12364 arg1
= static_cast< int >(val1
);
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12379 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
= 0;
12381 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12387 PyObject
* obj0
= 0 ;
12388 PyObject
* obj1
= 0 ;
12389 char * kwnames
[] = {
12390 (char *) "self",(char *) "flags", NULL
12393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12395 if (!SWIG_IsOK(res1
)) {
12396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12398 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12400 if (!SWIG_IsOK(ecode2
)) {
12401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12403 arg2
= static_cast< int >(val2
);
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 (arg1
)->SetFlags(arg2
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= SWIG_Py_Void();
12417 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12418 PyObject
*resultobj
= 0;
12419 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12423 PyObject
*swig_obj
[1] ;
12425 if (!args
) SWIG_fail
;
12426 swig_obj
[0] = args
;
12427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12428 if (!SWIG_IsOK(res1
)) {
12429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12431 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= SWIG_From_int(static_cast< int >(result
));
12445 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
= 0;
12447 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 PyObject
* obj1
= 0 ;
12454 char * kwnames
[] = {
12455 (char *) "self",(char *) "rect", NULL
12458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12460 if (!SWIG_IsOK(res1
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12463 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12466 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 (arg1
)->SetRect((wxRect
const &)*arg2
);
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= SWIG_Py_Void();
12481 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12482 PyObject
*resultobj
= 0;
12483 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12487 PyObject
*swig_obj
[1] ;
12489 if (!args
) SWIG_fail
;
12490 swig_obj
[0] = args
;
12491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12492 if (!SWIG_IsOK(res1
)) {
12493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12495 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12509 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12511 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12512 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12513 return SWIG_Py_Void();
12516 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12517 return SWIG_Python_InitShadowInstance(args
);
12520 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
= 0;
12522 wxWindow
*arg1
= (wxWindow
*) 0 ;
12523 int arg2
= (int) -1 ;
12524 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12525 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12526 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12527 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12528 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12529 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12530 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12531 wxSashLayoutWindow
*result
= 0 ;
12540 bool temp6
= false ;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 PyObject
* obj2
= 0 ;
12544 PyObject
* obj3
= 0 ;
12545 PyObject
* obj4
= 0 ;
12546 PyObject
* obj5
= 0 ;
12547 char * kwnames
[] = {
12548 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12553 if (!SWIG_IsOK(res1
)) {
12554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12556 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12559 if (!SWIG_IsOK(ecode2
)) {
12560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12562 arg2
= static_cast< int >(val2
);
12567 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12573 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12577 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12578 if (!SWIG_IsOK(ecode5
)) {
12579 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12581 arg5
= static_cast< long >(val5
);
12585 arg6
= wxString_in_helper(obj5
);
12586 if (arg6
== NULL
) SWIG_fail
;
12591 if (!wxPyCheckForApp()) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12612 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12613 PyObject
*resultobj
= 0;
12614 wxSashLayoutWindow
*result
= 0 ;
12616 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12618 if (!wxPyCheckForApp()) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12631 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
*resultobj
= 0;
12633 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12634 wxWindow
*arg2
= (wxWindow
*) 0 ;
12635 int arg3
= (int) -1 ;
12636 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12637 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12638 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12639 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12640 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12641 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12642 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12654 bool temp7
= false ;
12655 PyObject
* obj0
= 0 ;
12656 PyObject
* obj1
= 0 ;
12657 PyObject
* obj2
= 0 ;
12658 PyObject
* obj3
= 0 ;
12659 PyObject
* obj4
= 0 ;
12660 PyObject
* obj5
= 0 ;
12661 PyObject
* obj6
= 0 ;
12662 char * kwnames
[] = {
12663 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12668 if (!SWIG_IsOK(res1
)) {
12669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12671 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12673 if (!SWIG_IsOK(res2
)) {
12674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12676 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12679 if (!SWIG_IsOK(ecode3
)) {
12680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12682 arg3
= static_cast< int >(val3
);
12687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12697 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12698 if (!SWIG_IsOK(ecode6
)) {
12699 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12701 arg6
= static_cast< long >(val6
);
12705 arg7
= wxString_in_helper(obj6
);
12706 if (arg7
== NULL
) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12733 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12734 PyObject
*resultobj
= 0;
12735 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12736 wxLayoutAlignment result
;
12739 PyObject
*swig_obj
[1] ;
12741 if (!args
) SWIG_fail
;
12742 swig_obj
[0] = args
;
12743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12744 if (!SWIG_IsOK(res1
)) {
12745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12747 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 resultobj
= SWIG_From_int(static_cast< int >(result
));
12761 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12762 PyObject
*resultobj
= 0;
12763 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12764 wxLayoutOrientation result
;
12767 PyObject
*swig_obj
[1] ;
12769 if (!args
) SWIG_fail
;
12770 swig_obj
[0] = args
;
12771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12772 if (!SWIG_IsOK(res1
)) {
12773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12775 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= SWIG_From_int(static_cast< int >(result
));
12789 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
= 0;
12791 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12792 wxLayoutAlignment arg2
;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 char * kwnames
[] = {
12800 (char *) "self",(char *) "alignment", NULL
12803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12805 if (!SWIG_IsOK(res1
)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12808 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12810 if (!SWIG_IsOK(ecode2
)) {
12811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12813 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 (arg1
)->SetAlignment(arg2
);
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= SWIG_Py_Void();
12827 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12828 PyObject
*resultobj
= 0;
12829 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 PyObject
* obj1
= 0 ;
12836 char * kwnames
[] = {
12837 (char *) "self",(char *) "size", NULL
12840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12842 if (!SWIG_IsOK(res1
)) {
12843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12845 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12848 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= SWIG_Py_Void();
12863 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
= 0;
12865 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12866 wxLayoutOrientation arg2
;
12871 PyObject
* obj0
= 0 ;
12872 PyObject
* obj1
= 0 ;
12873 char * kwnames
[] = {
12874 (char *) "self",(char *) "orientation", NULL
12877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12879 if (!SWIG_IsOK(res1
)) {
12880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12882 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12884 if (!SWIG_IsOK(ecode2
)) {
12885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12887 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12890 (arg1
)->SetOrientation(arg2
);
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= SWIG_Py_Void();
12901 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12904 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12905 return SWIG_Py_Void();
12908 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12909 return SWIG_Python_InitShadowInstance(args
);
12912 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12913 PyObject
*resultobj
= 0;
12914 wxLayoutAlgorithm
*result
= 0 ;
12916 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12930 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12931 PyObject
*resultobj
= 0;
12932 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12935 PyObject
*swig_obj
[1] ;
12937 if (!args
) SWIG_fail
;
12938 swig_obj
[0] = args
;
12939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12940 if (!SWIG_IsOK(res1
)) {
12941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12943 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_Py_Void();
12958 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
= 0;
12960 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12961 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12962 wxRect
*arg3
= (wxRect
*) NULL
;
12970 PyObject
* obj0
= 0 ;
12971 PyObject
* obj1
= 0 ;
12972 PyObject
* obj2
= 0 ;
12973 char * kwnames
[] = {
12974 (char *) "self",(char *) "frame",(char *) "rect", NULL
12977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12979 if (!SWIG_IsOK(res1
)) {
12980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12982 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12983 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12984 if (!SWIG_IsOK(res2
)) {
12985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12987 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12989 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12990 if (!SWIG_IsOK(res3
)) {
12991 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12993 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13010 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
= 0;
13012 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13013 wxFrame
*arg2
= (wxFrame
*) 0 ;
13014 wxWindow
*arg3
= (wxWindow
*) NULL
;
13022 PyObject
* obj0
= 0 ;
13023 PyObject
* obj1
= 0 ;
13024 PyObject
* obj2
= 0 ;
13025 char * kwnames
[] = {
13026 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13031 if (!SWIG_IsOK(res1
)) {
13032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13034 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13035 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13036 if (!SWIG_IsOK(res2
)) {
13037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13039 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13041 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13042 if (!SWIG_IsOK(res3
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13045 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13062 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
= 0;
13064 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13065 wxWindow
*arg2
= (wxWindow
*) 0 ;
13066 wxWindow
*arg3
= (wxWindow
*) NULL
;
13074 PyObject
* obj0
= 0 ;
13075 PyObject
* obj1
= 0 ;
13076 PyObject
* obj2
= 0 ;
13077 char * kwnames
[] = {
13078 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13083 if (!SWIG_IsOK(res1
)) {
13084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13086 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13087 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13088 if (!SWIG_IsOK(res2
)) {
13089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13091 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13093 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13094 if (!SWIG_IsOK(res3
)) {
13095 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13097 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13114 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13117 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13118 return SWIG_Py_Void();
13121 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13122 return SWIG_Python_InitShadowInstance(args
);
13125 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
= 0;
13127 wxWindow
*arg1
= (wxWindow
*) 0 ;
13128 int arg2
= (int) wxBORDER_NONE
;
13129 wxPopupWindow
*result
= 0 ;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 char * kwnames
[] = {
13137 (char *) "parent",(char *) "flags", NULL
13140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13142 if (!SWIG_IsOK(res1
)) {
13143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13145 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13148 if (!SWIG_IsOK(ecode2
)) {
13149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13151 arg2
= static_cast< int >(val2
);
13154 if (!wxPyCheckForApp()) SWIG_fail
;
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13167 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13168 PyObject
*resultobj
= 0;
13169 wxPopupWindow
*result
= 0 ;
13171 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13173 if (!wxPyCheckForApp()) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (wxPopupWindow
*)new wxPopupWindow();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13186 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
= 0;
13188 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13189 wxWindow
*arg2
= (wxWindow
*) 0 ;
13190 int arg3
= (int) wxBORDER_NONE
;
13198 PyObject
* obj0
= 0 ;
13199 PyObject
* obj1
= 0 ;
13200 PyObject
* obj2
= 0 ;
13201 char * kwnames
[] = {
13202 (char *) "self",(char *) "parent",(char *) "flags", NULL
13205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13207 if (!SWIG_IsOK(res1
)) {
13208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13210 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13211 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13212 if (!SWIG_IsOK(res2
)) {
13213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13215 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13218 if (!SWIG_IsOK(ecode3
)) {
13219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13221 arg3
= static_cast< int >(val3
);
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13238 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
= 0;
13240 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13241 wxPoint
*arg2
= 0 ;
13247 PyObject
* obj0
= 0 ;
13248 PyObject
* obj1
= 0 ;
13249 PyObject
* obj2
= 0 ;
13250 char * kwnames
[] = {
13251 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13256 if (!SWIG_IsOK(res1
)) {
13257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13259 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13262 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13266 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= SWIG_Py_Void();
13281 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13284 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13285 return SWIG_Py_Void();
13288 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13289 return SWIG_Python_InitShadowInstance(args
);
13292 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
= 0;
13294 wxWindow
*arg1
= (wxWindow
*) 0 ;
13295 int arg2
= (int) wxBORDER_NONE
;
13296 wxPyPopupTransientWindow
*result
= 0 ;
13301 PyObject
* obj0
= 0 ;
13302 PyObject
* obj1
= 0 ;
13303 char * kwnames
[] = {
13304 (char *) "parent",(char *) "style", NULL
13307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13309 if (!SWIG_IsOK(res1
)) {
13310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13312 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13315 if (!SWIG_IsOK(ecode2
)) {
13316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13318 arg2
= static_cast< int >(val2
);
13321 if (!wxPyCheckForApp()) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13334 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13335 PyObject
*resultobj
= 0;
13336 wxPyPopupTransientWindow
*result
= 0 ;
13338 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13340 if (!wxPyCheckForApp()) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13353 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
= 0;
13355 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13356 PyObject
*arg2
= (PyObject
*) 0 ;
13357 PyObject
*arg3
= (PyObject
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 PyObject
* obj2
= 0 ;
13363 char * kwnames
[] = {
13364 (char *) "self",(char *) "self",(char *) "_class", NULL
13367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13369 if (!SWIG_IsOK(res1
)) {
13370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13372 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= SWIG_Py_Void();
13388 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13389 PyObject
*resultobj
= 0;
13390 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13391 wxWindow
*arg2
= (wxWindow
*) NULL
;
13396 PyObject
* obj0
= 0 ;
13397 PyObject
* obj1
= 0 ;
13398 char * kwnames
[] = {
13399 (char *) "self",(char *) "focus", NULL
13402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13404 if (!SWIG_IsOK(res1
)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13407 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13410 if (!SWIG_IsOK(res2
)) {
13411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13413 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 (arg1
)->Popup(arg2
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 resultobj
= SWIG_Py_Void();
13428 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13429 PyObject
*resultobj
= 0;
13430 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13433 PyObject
*swig_obj
[1] ;
13435 if (!args
) SWIG_fail
;
13436 swig_obj
[0] = args
;
13437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13438 if (!SWIG_IsOK(res1
)) {
13439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13441 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13448 resultobj
= SWIG_Py_Void();
13455 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13458 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13459 return SWIG_Py_Void();
13462 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13463 return SWIG_Python_InitShadowInstance(args
);
13466 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
= 0;
13468 wxWindow
*arg1
= (wxWindow
*) 0 ;
13469 wxString
*arg2
= 0 ;
13470 int arg3
= (int) 100 ;
13471 wxRect
*arg4
= (wxRect
*) NULL
;
13472 wxTipWindow
*result
= 0 ;
13475 bool temp2
= false ;
13480 PyObject
* obj0
= 0 ;
13481 PyObject
* obj1
= 0 ;
13482 PyObject
* obj2
= 0 ;
13483 PyObject
* obj3
= 0 ;
13484 char * kwnames
[] = {
13485 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13490 if (!SWIG_IsOK(res1
)) {
13491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13493 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13495 arg2
= wxString_in_helper(obj1
);
13496 if (arg2
== NULL
) SWIG_fail
;
13500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13501 if (!SWIG_IsOK(ecode3
)) {
13502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13504 arg3
= static_cast< int >(val3
);
13507 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13508 if (!SWIG_IsOK(res4
)) {
13509 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13511 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13514 if (!wxPyCheckForApp()) SWIG_fail
;
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13535 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
= 0;
13537 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13542 PyObject
* obj0
= 0 ;
13543 PyObject
* obj1
= 0 ;
13544 char * kwnames
[] = {
13545 (char *) "self",(char *) "rectBound", NULL
13548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13550 if (!SWIG_IsOK(res1
)) {
13551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13553 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13556 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= SWIG_Py_Void();
13571 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13572 PyObject
*resultobj
= 0;
13573 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13576 PyObject
*swig_obj
[1] ;
13578 if (!args
) SWIG_fail
;
13579 swig_obj
[0] = args
;
13580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13581 if (!SWIG_IsOK(res1
)) {
13582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13584 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= SWIG_Py_Void();
13598 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13601 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13602 return SWIG_Py_Void();
13605 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13606 return SWIG_Python_InitShadowInstance(args
);
13609 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
= 0;
13611 wxWindow
*arg1
= (wxWindow
*) 0 ;
13612 int arg2
= (int) wxID_ANY
;
13613 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13614 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13615 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13616 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13617 long arg5
= (long) 0 ;
13618 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13619 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13620 wxPyVScrolledWindow
*result
= 0 ;
13629 bool temp6
= false ;
13630 PyObject
* obj0
= 0 ;
13631 PyObject
* obj1
= 0 ;
13632 PyObject
* obj2
= 0 ;
13633 PyObject
* obj3
= 0 ;
13634 PyObject
* obj4
= 0 ;
13635 PyObject
* obj5
= 0 ;
13636 char * kwnames
[] = {
13637 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13642 if (!SWIG_IsOK(res1
)) {
13643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13645 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13648 if (!SWIG_IsOK(ecode2
)) {
13649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13651 arg2
= static_cast< int >(val2
);
13656 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13662 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13666 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13667 if (!SWIG_IsOK(ecode5
)) {
13668 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13670 arg5
= static_cast< long >(val5
);
13674 arg6
= wxString_in_helper(obj5
);
13675 if (arg6
== NULL
) SWIG_fail
;
13680 if (!wxPyCheckForApp()) SWIG_fail
;
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13701 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13702 PyObject
*resultobj
= 0;
13703 wxPyVScrolledWindow
*result
= 0 ;
13705 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13707 if (!wxPyCheckForApp()) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13720 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
= 0;
13722 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13723 PyObject
*arg2
= (PyObject
*) 0 ;
13724 PyObject
*arg3
= (PyObject
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 PyObject
* obj2
= 0 ;
13730 char * kwnames
[] = {
13731 (char *) "self",(char *) "self",(char *) "_class", NULL
13734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13736 if (!SWIG_IsOK(res1
)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13739 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= SWIG_Py_Void();
13755 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
= 0;
13757 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13758 wxWindow
*arg2
= (wxWindow
*) 0 ;
13759 int arg3
= (int) wxID_ANY
;
13760 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13761 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13762 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13763 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13764 long arg6
= (long) 0 ;
13765 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13766 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13778 bool temp7
= false ;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 PyObject
* obj2
= 0 ;
13782 PyObject
* obj3
= 0 ;
13783 PyObject
* obj4
= 0 ;
13784 PyObject
* obj5
= 0 ;
13785 PyObject
* obj6
= 0 ;
13786 char * kwnames
[] = {
13787 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13792 if (!SWIG_IsOK(res1
)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13795 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13797 if (!SWIG_IsOK(res2
)) {
13798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13800 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13803 if (!SWIG_IsOK(ecode3
)) {
13804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13806 arg3
= static_cast< int >(val3
);
13811 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13817 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13821 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13822 if (!SWIG_IsOK(ecode6
)) {
13823 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13825 arg6
= static_cast< long >(val6
);
13829 arg7
= wxString_in_helper(obj6
);
13830 if (arg7
== NULL
) SWIG_fail
;
13835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13836 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13857 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13858 PyObject
*resultobj
= 0;
13859 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13865 PyObject
* obj0
= 0 ;
13866 PyObject
* obj1
= 0 ;
13867 char * kwnames
[] = {
13868 (char *) "self",(char *) "count", NULL
13871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13873 if (!SWIG_IsOK(res1
)) {
13874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13876 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13877 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13878 if (!SWIG_IsOK(ecode2
)) {
13879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13881 arg2
= static_cast< size_t >(val2
);
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 (arg1
)->SetLineCount(arg2
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13888 resultobj
= SWIG_Py_Void();
13895 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
= 0;
13897 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13904 PyObject
* obj0
= 0 ;
13905 PyObject
* obj1
= 0 ;
13906 char * kwnames
[] = {
13907 (char *) "self",(char *) "line", NULL
13910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13912 if (!SWIG_IsOK(res1
)) {
13913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13915 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13916 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13917 if (!SWIG_IsOK(ecode2
)) {
13918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13920 arg2
= static_cast< size_t >(val2
);
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13936 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
= 0;
13938 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13944 PyObject
* obj0
= 0 ;
13945 PyObject
* obj1
= 0 ;
13946 char * kwnames
[] = {
13947 (char *) "self",(char *) "line", NULL
13950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13952 if (!SWIG_IsOK(res1
)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13955 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13956 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13957 if (!SWIG_IsOK(ecode2
)) {
13958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13960 arg2
= static_cast< size_t >(val2
);
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 (arg1
)->RefreshLine(arg2
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= SWIG_Py_Void();
13974 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
= 0;
13976 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13985 PyObject
* obj0
= 0 ;
13986 PyObject
* obj1
= 0 ;
13987 PyObject
* obj2
= 0 ;
13988 char * kwnames
[] = {
13989 (char *) "self",(char *) "from",(char *) "to", NULL
13992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13994 if (!SWIG_IsOK(res1
)) {
13995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13997 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13998 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13999 if (!SWIG_IsOK(ecode2
)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14002 arg2
= static_cast< size_t >(val2
);
14003 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14004 if (!SWIG_IsOK(ecode3
)) {
14005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14007 arg3
= static_cast< size_t >(val3
);
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 (arg1
)->RefreshLines(arg2
,arg3
);
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= SWIG_Py_Void();
14021 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
= 0;
14023 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14033 PyObject
* obj0
= 0 ;
14034 PyObject
* obj1
= 0 ;
14035 PyObject
* obj2
= 0 ;
14036 char * kwnames
[] = {
14037 (char *) "self",(char *) "x",(char *) "y", NULL
14040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14042 if (!SWIG_IsOK(res1
)) {
14043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14045 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14047 if (!SWIG_IsOK(ecode2
)) {
14048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14050 arg2
= static_cast< int >(val2
);
14051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14052 if (!SWIG_IsOK(ecode3
)) {
14053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14055 arg3
= static_cast< int >(val3
);
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= SWIG_From_int(static_cast< int >(result
));
14069 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
= 0;
14071 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14072 wxPoint
*arg2
= 0 ;
14077 PyObject
* obj0
= 0 ;
14078 PyObject
* obj1
= 0 ;
14079 char * kwnames
[] = {
14080 (char *) "self",(char *) "pt", NULL
14083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14085 if (!SWIG_IsOK(res1
)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14088 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14091 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_From_int(static_cast< int >(result
));
14106 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14107 PyObject
*resultobj
= 0;
14108 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14111 PyObject
*swig_obj
[1] ;
14113 if (!args
) SWIG_fail
;
14114 swig_obj
[0] = args
;
14115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14116 if (!SWIG_IsOK(res1
)) {
14117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14119 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14122 (arg1
)->RefreshAll();
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= SWIG_Py_Void();
14133 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14134 PyObject
*resultobj
= 0;
14135 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14139 PyObject
*swig_obj
[1] ;
14141 if (!args
) SWIG_fail
;
14142 swig_obj
[0] = args
;
14143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14144 if (!SWIG_IsOK(res1
)) {
14145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14147 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14150 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14161 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14162 PyObject
*resultobj
= 0;
14163 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14167 PyObject
*swig_obj
[1] ;
14169 if (!args
) SWIG_fail
;
14170 swig_obj
[0] = args
;
14171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14172 if (!SWIG_IsOK(res1
)) {
14173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14175 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14189 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14190 PyObject
*resultobj
= 0;
14191 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14195 PyObject
*swig_obj
[1] ;
14197 if (!args
) SWIG_fail
;
14198 swig_obj
[0] = args
;
14199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14200 if (!SWIG_IsOK(res1
)) {
14201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14203 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14217 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
= 0;
14219 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14226 PyObject
* obj0
= 0 ;
14227 PyObject
* obj1
= 0 ;
14228 char * kwnames
[] = {
14229 (char *) "self",(char *) "line", NULL
14232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14234 if (!SWIG_IsOK(res1
)) {
14235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14237 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14238 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14239 if (!SWIG_IsOK(ecode2
)) {
14240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14242 arg2
= static_cast< size_t >(val2
);
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14258 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14259 PyObject
*resultobj
= 0;
14260 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14264 PyObject
*swig_obj
[1] ;
14266 if (!args
) SWIG_fail
;
14267 swig_obj
[0] = args
;
14268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14269 if (!SWIG_IsOK(res1
)) {
14270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14272 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14286 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14287 PyObject
*resultobj
= 0;
14288 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14292 PyObject
*swig_obj
[1] ;
14294 if (!args
) SWIG_fail
;
14295 swig_obj
[0] = args
;
14296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14297 if (!SWIG_IsOK(res1
)) {
14298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14300 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14314 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
= 0;
14316 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14318 bool arg3
= (bool) false ;
14326 PyObject
* obj0
= 0 ;
14327 PyObject
* obj1
= 0 ;
14328 PyObject
* obj2
= 0 ;
14329 char * kwnames
[] = {
14330 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14335 if (!SWIG_IsOK(res1
)) {
14336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14338 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14339 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14340 if (!SWIG_IsOK(ecode2
)) {
14341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14343 arg2
= static_cast< size_t >(val2
);
14345 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14346 if (!SWIG_IsOK(ecode3
)) {
14347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14349 arg3
= static_cast< bool >(val3
);
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14364 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
= 0;
14366 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14376 PyObject
* obj0
= 0 ;
14377 PyObject
* obj1
= 0 ;
14378 PyObject
* obj2
= 0 ;
14379 char * kwnames
[] = {
14380 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14385 if (!SWIG_IsOK(res1
)) {
14386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14388 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14389 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14390 if (!SWIG_IsOK(ecode2
)) {
14391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14393 arg2
= static_cast< size_t >(val2
);
14394 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14395 if (!SWIG_IsOK(ecode3
)) {
14396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14398 arg3
= static_cast< size_t >(val3
);
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= SWIG_From_int(static_cast< int >(result
));
14412 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14415 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14416 return SWIG_Py_Void();
14419 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14420 return SWIG_Python_InitShadowInstance(args
);
14423 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14424 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14429 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14430 PyObject
*pyobj
= 0;
14434 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14436 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14443 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
= 0;
14445 wxWindow
*arg1
= (wxWindow
*) 0 ;
14446 int arg2
= (int) wxID_ANY
;
14447 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14448 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14449 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14450 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14451 long arg5
= (long) 0 ;
14452 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14453 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14454 wxPyVListBox
*result
= 0 ;
14463 bool temp6
= false ;
14464 PyObject
* obj0
= 0 ;
14465 PyObject
* obj1
= 0 ;
14466 PyObject
* obj2
= 0 ;
14467 PyObject
* obj3
= 0 ;
14468 PyObject
* obj4
= 0 ;
14469 PyObject
* obj5
= 0 ;
14470 char * kwnames
[] = {
14471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14476 if (!SWIG_IsOK(res1
)) {
14477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14479 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14482 if (!SWIG_IsOK(ecode2
)) {
14483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14485 arg2
= static_cast< int >(val2
);
14490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14496 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14500 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14501 if (!SWIG_IsOK(ecode5
)) {
14502 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14504 arg5
= static_cast< long >(val5
);
14508 arg6
= wxString_in_helper(obj5
);
14509 if (arg6
== NULL
) SWIG_fail
;
14514 if (!wxPyCheckForApp()) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14535 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14536 PyObject
*resultobj
= 0;
14537 wxPyVListBox
*result
= 0 ;
14539 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14541 if (!wxPyCheckForApp()) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (wxPyVListBox
*)new wxPyVListBox();
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14554 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
= 0;
14556 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14557 PyObject
*arg2
= (PyObject
*) 0 ;
14558 PyObject
*arg3
= (PyObject
*) 0 ;
14561 PyObject
* obj0
= 0 ;
14562 PyObject
* obj1
= 0 ;
14563 PyObject
* obj2
= 0 ;
14564 char * kwnames
[] = {
14565 (char *) "self",(char *) "self",(char *) "_class", NULL
14568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14570 if (!SWIG_IsOK(res1
)) {
14571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14573 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= SWIG_Py_Void();
14589 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
= 0;
14591 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14592 wxWindow
*arg2
= (wxWindow
*) 0 ;
14593 int arg3
= (int) wxID_ANY
;
14594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14598 long arg6
= (long) 0 ;
14599 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14600 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14612 bool temp7
= false ;
14613 PyObject
* obj0
= 0 ;
14614 PyObject
* obj1
= 0 ;
14615 PyObject
* obj2
= 0 ;
14616 PyObject
* obj3
= 0 ;
14617 PyObject
* obj4
= 0 ;
14618 PyObject
* obj5
= 0 ;
14619 PyObject
* obj6
= 0 ;
14620 char * kwnames
[] = {
14621 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14626 if (!SWIG_IsOK(res1
)) {
14627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14629 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14631 if (!SWIG_IsOK(res2
)) {
14632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14634 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14637 if (!SWIG_IsOK(ecode3
)) {
14638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14640 arg3
= static_cast< int >(val3
);
14645 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14651 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14655 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14656 if (!SWIG_IsOK(ecode6
)) {
14657 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14659 arg6
= static_cast< long >(val6
);
14663 arg7
= wxString_in_helper(obj6
);
14664 if (arg7
== NULL
) SWIG_fail
;
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14691 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14692 PyObject
*resultobj
= 0;
14693 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14697 PyObject
*swig_obj
[1] ;
14699 if (!args
) SWIG_fail
;
14700 swig_obj
[0] = args
;
14701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14702 if (!SWIG_IsOK(res1
)) {
14703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14705 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14719 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14720 PyObject
*resultobj
= 0;
14721 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14725 PyObject
*swig_obj
[1] ;
14727 if (!args
) SWIG_fail
;
14728 swig_obj
[0] = args
;
14729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14730 if (!SWIG_IsOK(res1
)) {
14731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14733 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14749 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14750 PyObject
*resultobj
= 0;
14751 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14755 PyObject
*swig_obj
[1] ;
14757 if (!args
) SWIG_fail
;
14758 swig_obj
[0] = args
;
14759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14760 if (!SWIG_IsOK(res1
)) {
14761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14763 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= SWIG_From_int(static_cast< int >(result
));
14777 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
= 0;
14779 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14786 PyObject
* obj0
= 0 ;
14787 PyObject
* obj1
= 0 ;
14788 char * kwnames
[] = {
14789 (char *) "self",(char *) "item", NULL
14792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14794 if (!SWIG_IsOK(res1
)) {
14795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14797 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14798 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14799 if (!SWIG_IsOK(ecode2
)) {
14800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14802 arg2
= static_cast< size_t >(val2
);
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14818 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14819 PyObject
*resultobj
= 0;
14820 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14827 PyObject
* obj0
= 0 ;
14828 PyObject
* obj1
= 0 ;
14829 char * kwnames
[] = {
14830 (char *) "self",(char *) "item", NULL
14833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14835 if (!SWIG_IsOK(res1
)) {
14836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14838 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14839 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14840 if (!SWIG_IsOK(ecode2
)) {
14841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14843 arg2
= static_cast< size_t >(val2
);
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14847 wxPyEndAllowThreads(__tstate
);
14848 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14859 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14860 PyObject
*resultobj
= 0;
14861 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14865 PyObject
*swig_obj
[1] ;
14867 if (!args
) SWIG_fail
;
14868 swig_obj
[0] = args
;
14869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14870 if (!SWIG_IsOK(res1
)) {
14871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14873 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14880 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14887 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14888 PyObject
*resultobj
= 0;
14889 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14890 PyObject
*result
= 0 ;
14893 PyObject
*swig_obj
[1] ;
14895 if (!args
) SWIG_fail
;
14896 swig_obj
[0] = args
;
14897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14898 if (!SWIG_IsOK(res1
)) {
14899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14901 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= result
;
14915 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
= 0;
14917 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14918 unsigned long arg2
;
14919 PyObject
*result
= 0 ;
14922 unsigned long val2
;
14924 PyObject
* obj0
= 0 ;
14925 PyObject
* obj1
= 0 ;
14926 char * kwnames
[] = {
14927 (char *) "self",(char *) "cookie", NULL
14930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14932 if (!SWIG_IsOK(res1
)) {
14933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14935 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14936 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14937 if (!SWIG_IsOK(ecode2
)) {
14938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14940 arg2
= static_cast< unsigned long >(val2
);
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= result
;
14954 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14955 PyObject
*resultobj
= 0;
14956 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14960 PyObject
*swig_obj
[1] ;
14962 if (!args
) SWIG_fail
;
14963 swig_obj
[0] = args
;
14964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14965 if (!SWIG_IsOK(res1
)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14968 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14975 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14982 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14983 PyObject
*resultobj
= 0;
14984 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14985 wxColour
*result
= 0 ;
14988 PyObject
*swig_obj
[1] ;
14990 if (!args
) SWIG_fail
;
14991 swig_obj
[0] = args
;
14992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14993 if (!SWIG_IsOK(res1
)) {
14994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14996 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
15001 result
= (wxColour
*) &_result_ref
;
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15013 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
= 0;
15015 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 PyObject
* obj1
= 0 ;
15023 char * kwnames
[] = {
15024 (char *) "self",(char *) "count", NULL
15027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15029 if (!SWIG_IsOK(res1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15032 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15033 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15034 if (!SWIG_IsOK(ecode2
)) {
15035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15037 arg2
= static_cast< size_t >(val2
);
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 (arg1
)->SetItemCount(arg2
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= SWIG_Py_Void();
15051 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15052 PyObject
*resultobj
= 0;
15053 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15056 PyObject
*swig_obj
[1] ;
15058 if (!args
) SWIG_fail
;
15059 swig_obj
[0] = args
;
15060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15061 if (!SWIG_IsOK(res1
)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15064 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= SWIG_Py_Void();
15078 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
= 0;
15080 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15086 PyObject
* obj0
= 0 ;
15087 PyObject
* obj1
= 0 ;
15088 char * kwnames
[] = {
15089 (char *) "self",(char *) "selection", NULL
15092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15094 if (!SWIG_IsOK(res1
)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15097 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15099 if (!SWIG_IsOK(ecode2
)) {
15100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15102 arg2
= static_cast< int >(val2
);
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 (arg1
)->SetSelection(arg2
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= SWIG_Py_Void();
15116 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
= 0;
15118 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15120 bool arg3
= (bool) true ;
15128 PyObject
* obj0
= 0 ;
15129 PyObject
* obj1
= 0 ;
15130 PyObject
* obj2
= 0 ;
15131 char * kwnames
[] = {
15132 (char *) "self",(char *) "item",(char *) "select", NULL
15135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15137 if (!SWIG_IsOK(res1
)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15140 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15141 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15142 if (!SWIG_IsOK(ecode2
)) {
15143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15145 arg2
= static_cast< size_t >(val2
);
15147 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15148 if (!SWIG_IsOK(ecode3
)) {
15149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15151 arg3
= static_cast< bool >(val3
);
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15168 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
= 0;
15170 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15180 PyObject
* obj0
= 0 ;
15181 PyObject
* obj1
= 0 ;
15182 PyObject
* obj2
= 0 ;
15183 char * kwnames
[] = {
15184 (char *) "self",(char *) "from",(char *) "to", NULL
15187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15189 if (!SWIG_IsOK(res1
)) {
15190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15192 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15193 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15194 if (!SWIG_IsOK(ecode2
)) {
15195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15197 arg2
= static_cast< size_t >(val2
);
15198 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15199 if (!SWIG_IsOK(ecode3
)) {
15200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15202 arg3
= static_cast< size_t >(val3
);
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15218 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
= 0;
15220 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15226 PyObject
* obj0
= 0 ;
15227 PyObject
* obj1
= 0 ;
15228 char * kwnames
[] = {
15229 (char *) "self",(char *) "item", NULL
15232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15234 if (!SWIG_IsOK(res1
)) {
15235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15237 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15238 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15239 if (!SWIG_IsOK(ecode2
)) {
15240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15242 arg2
= static_cast< size_t >(val2
);
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 (arg1
)->Toggle(arg2
);
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= SWIG_Py_Void();
15256 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15257 PyObject
*resultobj
= 0;
15258 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15262 PyObject
*swig_obj
[1] ;
15264 if (!args
) SWIG_fail
;
15265 swig_obj
[0] = args
;
15266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15267 if (!SWIG_IsOK(res1
)) {
15268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15270 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= (bool)(arg1
)->SelectAll();
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15286 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15287 PyObject
*resultobj
= 0;
15288 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15292 PyObject
*swig_obj
[1] ;
15294 if (!args
) SWIG_fail
;
15295 swig_obj
[0] = args
;
15296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15297 if (!SWIG_IsOK(res1
)) {
15298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15300 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= (bool)(arg1
)->DeselectAll();
15304 wxPyEndAllowThreads(__tstate
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15316 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
= 0;
15318 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15319 wxPoint
*arg2
= 0 ;
15323 PyObject
* obj0
= 0 ;
15324 PyObject
* obj1
= 0 ;
15325 char * kwnames
[] = {
15326 (char *) "self",(char *) "pt", NULL
15329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15331 if (!SWIG_IsOK(res1
)) {
15332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15334 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15337 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15345 resultobj
= SWIG_Py_Void();
15352 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
= 0;
15354 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 PyObject
* obj2
= 0 ;
15366 char * kwnames
[] = {
15367 (char *) "self",(char *) "x",(char *) "y", NULL
15370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15372 if (!SWIG_IsOK(res1
)) {
15373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15375 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15377 if (!SWIG_IsOK(ecode2
)) {
15378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15380 arg2
= static_cast< int >(val2
);
15381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15382 if (!SWIG_IsOK(ecode3
)) {
15383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15385 arg3
= static_cast< int >(val3
);
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 (arg1
)->SetMargins(arg2
,arg3
);
15389 wxPyEndAllowThreads(__tstate
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= SWIG_Py_Void();
15399 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15400 PyObject
*resultobj
= 0;
15401 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15402 wxColour
*arg2
= 0 ;
15406 PyObject
* obj0
= 0 ;
15407 PyObject
* obj1
= 0 ;
15408 char * kwnames
[] = {
15409 (char *) "self",(char *) "col", NULL
15412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15414 if (!SWIG_IsOK(res1
)) {
15415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15417 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= SWIG_Py_Void();
15435 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
= 0;
15437 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 PyObject
* obj2
= 0 ;
15451 PyObject
* obj3
= 0 ;
15452 char * kwnames
[] = {
15453 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15458 if (!SWIG_IsOK(res1
)) {
15459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15461 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15463 if (!SWIG_IsOK(res2
)) {
15464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15469 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15472 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15474 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15475 if (!SWIG_IsOK(ecode4
)) {
15476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15478 arg4
= static_cast< size_t >(val4
);
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= SWIG_Py_Void();
15492 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
= 0;
15494 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 PyObject
* obj1
= 0 ;
15507 PyObject
* obj2
= 0 ;
15508 PyObject
* obj3
= 0 ;
15509 char * kwnames
[] = {
15510 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15515 if (!SWIG_IsOK(res1
)) {
15516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15518 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15519 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15520 if (!SWIG_IsOK(res2
)) {
15521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15526 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15529 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15531 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15532 if (!SWIG_IsOK(ecode4
)) {
15533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15535 arg4
= static_cast< size_t >(val4
);
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= SWIG_Py_Void();
15549 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15552 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15553 return SWIG_Py_Void();
15556 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15557 return SWIG_Python_InitShadowInstance(args
);
15560 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
= 0;
15562 wxWindow
*arg1
= (wxWindow
*) 0 ;
15563 int arg2
= (int) wxID_ANY
;
15564 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15565 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15566 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15567 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15568 long arg5
= (long) 0 ;
15569 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15570 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15571 wxPyHtmlListBox
*result
= 0 ;
15580 bool temp6
= false ;
15581 PyObject
* obj0
= 0 ;
15582 PyObject
* obj1
= 0 ;
15583 PyObject
* obj2
= 0 ;
15584 PyObject
* obj3
= 0 ;
15585 PyObject
* obj4
= 0 ;
15586 PyObject
* obj5
= 0 ;
15587 char * kwnames
[] = {
15588 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15593 if (!SWIG_IsOK(res1
)) {
15594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15599 if (!SWIG_IsOK(ecode2
)) {
15600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15602 arg2
= static_cast< int >(val2
);
15607 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15613 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15617 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15618 if (!SWIG_IsOK(ecode5
)) {
15619 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15621 arg5
= static_cast< long >(val5
);
15625 arg6
= wxString_in_helper(obj5
);
15626 if (arg6
== NULL
) SWIG_fail
;
15631 if (!wxPyCheckForApp()) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15652 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15653 PyObject
*resultobj
= 0;
15654 wxPyHtmlListBox
*result
= 0 ;
15656 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15658 if (!wxPyCheckForApp()) SWIG_fail
;
15659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15660 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15671 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
= 0;
15673 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15674 PyObject
*arg2
= (PyObject
*) 0 ;
15675 PyObject
*arg3
= (PyObject
*) 0 ;
15678 PyObject
* obj0
= 0 ;
15679 PyObject
* obj1
= 0 ;
15680 PyObject
* obj2
= 0 ;
15681 char * kwnames
[] = {
15682 (char *) "self",(char *) "self",(char *) "_class", NULL
15685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15687 if (!SWIG_IsOK(res1
)) {
15688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15690 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= SWIG_Py_Void();
15706 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
= 0;
15708 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15709 wxWindow
*arg2
= (wxWindow
*) 0 ;
15710 int arg3
= (int) wxID_ANY
;
15711 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15712 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15713 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15714 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15715 long arg6
= (long) 0 ;
15716 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15717 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15729 bool temp7
= false ;
15730 PyObject
* obj0
= 0 ;
15731 PyObject
* obj1
= 0 ;
15732 PyObject
* obj2
= 0 ;
15733 PyObject
* obj3
= 0 ;
15734 PyObject
* obj4
= 0 ;
15735 PyObject
* obj5
= 0 ;
15736 PyObject
* obj6
= 0 ;
15737 char * kwnames
[] = {
15738 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15743 if (!SWIG_IsOK(res1
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15746 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15748 if (!SWIG_IsOK(res2
)) {
15749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15751 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15754 if (!SWIG_IsOK(ecode3
)) {
15755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15757 arg3
= static_cast< int >(val3
);
15762 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15768 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15772 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15773 if (!SWIG_IsOK(ecode6
)) {
15774 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15776 arg6
= static_cast< long >(val6
);
15780 arg7
= wxString_in_helper(obj6
);
15781 if (arg7
== NULL
) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15808 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
= 0;
15810 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15816 PyObject
* obj0
= 0 ;
15817 PyObject
* obj1
= 0 ;
15818 char * kwnames
[] = {
15819 (char *) "self",(char *) "count", NULL
15822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15824 if (!SWIG_IsOK(res1
)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15827 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15828 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15829 if (!SWIG_IsOK(ecode2
)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15832 arg2
= static_cast< size_t >(val2
);
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 (arg1
)->SetItemCount(arg2
);
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15839 resultobj
= SWIG_Py_Void();
15846 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15847 PyObject
*resultobj
= 0;
15848 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15849 wxFileSystem
*result
= 0 ;
15852 PyObject
*swig_obj
[1] ;
15854 if (!args
) SWIG_fail
;
15855 swig_obj
[0] = args
;
15856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15857 if (!SWIG_IsOK(res1
)) {
15858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15860 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15865 result
= (wxFileSystem
*) &_result_ref
;
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15877 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
= 0;
15879 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15881 wxHtmlLinkInfo
*arg3
= 0 ;
15888 PyObject
* obj0
= 0 ;
15889 PyObject
* obj1
= 0 ;
15890 PyObject
* obj2
= 0 ;
15891 char * kwnames
[] = {
15892 (char *) "self",(char *) "n",(char *) "link", NULL
15895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15897 if (!SWIG_IsOK(res1
)) {
15898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15900 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15901 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15902 if (!SWIG_IsOK(ecode2
)) {
15903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15905 arg2
= static_cast< size_t >(val2
);
15906 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15907 if (!SWIG_IsOK(res3
)) {
15908 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15913 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= SWIG_Py_Void();
15927 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15930 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15931 return SWIG_Py_Void();
15934 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15935 return SWIG_Python_InitShadowInstance(args
);
15938 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
15939 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
15944 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
15945 PyObject
*pyobj
= 0;
15949 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15951 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15958 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
= 0;
15960 wxWindow
*arg1
= (wxWindow
*) 0 ;
15961 int arg2
= (int) -1 ;
15962 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15963 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15964 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15965 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15966 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
15967 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
15968 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
15969 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15970 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15971 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
15972 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15973 wxSimpleHtmlListBox
*result
= 0 ;
15980 bool temp5
= false ;
15985 bool temp8
= false ;
15986 PyObject
* obj0
= 0 ;
15987 PyObject
* obj1
= 0 ;
15988 PyObject
* obj2
= 0 ;
15989 PyObject
* obj3
= 0 ;
15990 PyObject
* obj4
= 0 ;
15991 PyObject
* obj5
= 0 ;
15992 PyObject
* obj6
= 0 ;
15993 PyObject
* obj7
= 0 ;
15994 char * kwnames
[] = {
15995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
15999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16000 if (!SWIG_IsOK(res1
)) {
16001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16003 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16006 if (!SWIG_IsOK(ecode2
)) {
16007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
16009 arg2
= static_cast< int >(val2
);
16014 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16020 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16025 if (! PySequence_Check(obj4
)) {
16026 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16029 arg5
= new wxArrayString
;
16031 int i
, len
=PySequence_Length(obj4
);
16032 for (i
=0; i
<len
; i
++) {
16033 PyObject
* item
= PySequence_GetItem(obj4
, i
);
16034 wxString
* s
= wxString_in_helper(item
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16043 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16044 if (!SWIG_IsOK(ecode6
)) {
16045 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
16047 arg6
= static_cast< long >(val6
);
16050 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16051 if (!SWIG_IsOK(res7
)) {
16052 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
16057 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16061 arg8
= wxString_in_helper(obj7
);
16062 if (arg8
== NULL
) SWIG_fail
;
16067 if (!wxPyCheckForApp()) SWIG_fail
;
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16069 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
16075 if (temp5
) delete arg5
;
16084 if (temp5
) delete arg5
;
16094 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16095 PyObject
*resultobj
= 0;
16096 wxSimpleHtmlListBox
*result
= 0 ;
16098 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
16100 if (!wxPyCheckForApp()) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
16113 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
= 0;
16115 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
16116 wxWindow
*arg2
= (wxWindow
*) 0 ;
16117 int arg3
= (int) -1 ;
16118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16122 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16123 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16124 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
16125 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16126 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16127 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
16128 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16138 bool temp6
= false ;
16143 bool temp9
= false ;
16144 PyObject
* obj0
= 0 ;
16145 PyObject
* obj1
= 0 ;
16146 PyObject
* obj2
= 0 ;
16147 PyObject
* obj3
= 0 ;
16148 PyObject
* obj4
= 0 ;
16149 PyObject
* obj5
= 0 ;
16150 PyObject
* obj6
= 0 ;
16151 PyObject
* obj7
= 0 ;
16152 PyObject
* obj8
= 0 ;
16153 char * kwnames
[] = {
16154 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
16158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
16159 if (!SWIG_IsOK(res1
)) {
16160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16162 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
16163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16164 if (!SWIG_IsOK(res2
)) {
16165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16167 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16170 if (!SWIG_IsOK(ecode3
)) {
16171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16173 arg3
= static_cast< int >(val3
);
16178 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16184 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16189 if (! PySequence_Check(obj5
)) {
16190 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16193 arg6
= new wxArrayString
;
16195 int i
, len
=PySequence_Length(obj5
);
16196 for (i
=0; i
<len
; i
++) {
16197 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16198 wxString
* s
= wxString_in_helper(item
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16207 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16208 if (!SWIG_IsOK(ecode7
)) {
16209 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16211 arg7
= static_cast< long >(val7
);
16214 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16215 if (!SWIG_IsOK(res8
)) {
16216 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16221 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16225 arg9
= wxString_in_helper(obj8
);
16226 if (arg9
== NULL
) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16240 if (temp6
) delete arg6
;
16249 if (temp6
) delete arg6
;
16259 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16262 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
16263 return SWIG_Py_Void();
16266 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16267 return SWIG_Python_InitShadowInstance(args
);
16270 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16271 PyObject
*resultobj
= 0;
16272 wxPyTaskBarIcon
*result
= 0 ;
16274 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16276 if (!wxPyCheckForApp()) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16289 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16290 PyObject
*resultobj
= 0;
16291 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16294 PyObject
*swig_obj
[1] ;
16296 if (!args
) SWIG_fail
;
16297 swig_obj
[0] = args
;
16298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16299 if (!SWIG_IsOK(res1
)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16302 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= SWIG_Py_Void();
16317 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
= 0;
16319 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16320 PyObject
*arg2
= (PyObject
*) 0 ;
16321 PyObject
*arg3
= (PyObject
*) 0 ;
16322 int arg4
= (int) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 PyObject
* obj2
= 0 ;
16330 PyObject
* obj3
= 0 ;
16331 char * kwnames
[] = {
16332 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16337 if (!SWIG_IsOK(res1
)) {
16338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16340 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16344 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16345 if (!SWIG_IsOK(ecode4
)) {
16346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16348 arg4
= static_cast< int >(val4
);
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16356 resultobj
= SWIG_Py_Void();
16363 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16364 PyObject
*resultobj
= 0;
16365 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16368 PyObject
*swig_obj
[1] ;
16370 if (!args
) SWIG_fail
;
16371 swig_obj
[0] = args
;
16372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16373 if (!SWIG_IsOK(res1
)) {
16374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16376 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16379 wxPyTaskBarIcon_Destroy(arg1
);
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 resultobj
= SWIG_Py_Void();
16390 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16391 PyObject
*resultobj
= 0;
16392 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16396 PyObject
*swig_obj
[1] ;
16398 if (!args
) SWIG_fail
;
16399 swig_obj
[0] = args
;
16400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16401 if (!SWIG_IsOK(res1
)) {
16402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16404 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16420 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16421 PyObject
*resultobj
= 0;
16422 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16426 PyObject
*swig_obj
[1] ;
16428 if (!args
) SWIG_fail
;
16429 swig_obj
[0] = args
;
16430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16431 if (!SWIG_IsOK(res1
)) {
16432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16434 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16450 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
= 0;
16452 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16454 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16455 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16461 bool temp3
= false ;
16462 PyObject
* obj0
= 0 ;
16463 PyObject
* obj1
= 0 ;
16464 PyObject
* obj2
= 0 ;
16465 char * kwnames
[] = {
16466 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16471 if (!SWIG_IsOK(res1
)) {
16472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16474 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16475 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16476 if (!SWIG_IsOK(res2
)) {
16477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16482 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16485 arg3
= wxString_in_helper(obj2
);
16486 if (arg3
== NULL
) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16513 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16514 PyObject
*resultobj
= 0;
16515 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16519 PyObject
*swig_obj
[1] ;
16521 if (!args
) SWIG_fail
;
16522 swig_obj
[0] = args
;
16523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16524 if (!SWIG_IsOK(res1
)) {
16525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16527 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 result
= (bool)(arg1
)->RemoveIcon();
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16543 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
= 0;
16545 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16546 wxMenu
*arg2
= (wxMenu
*) 0 ;
16552 PyObject
* obj0
= 0 ;
16553 PyObject
* obj1
= 0 ;
16554 char * kwnames
[] = {
16555 (char *) "self",(char *) "menu", NULL
16558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16560 if (!SWIG_IsOK(res1
)) {
16561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16563 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16564 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16565 if (!SWIG_IsOK(res2
)) {
16566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16568 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16571 result
= (bool)(arg1
)->PopupMenu(arg2
);
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16584 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16587 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16588 return SWIG_Py_Void();
16591 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16592 return SWIG_Python_InitShadowInstance(args
);
16595 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
= 0;
16598 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16599 wxTaskBarIconEvent
*result
= 0 ;
16604 PyObject
* obj0
= 0 ;
16605 PyObject
* obj1
= 0 ;
16606 char * kwnames
[] = {
16607 (char *) "evtType",(char *) "tbIcon", NULL
16610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16611 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16612 if (!SWIG_IsOK(ecode1
)) {
16613 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16615 arg1
= static_cast< wxEventType
>(val1
);
16616 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16617 if (!SWIG_IsOK(res2
)) {
16618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16620 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16634 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16637 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16638 return SWIG_Py_Void();
16641 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16642 return SWIG_Python_InitShadowInstance(args
);
16645 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16646 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16651 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16652 PyObject
*pyobj
= 0;
16656 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16658 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16665 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16666 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16671 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16672 PyObject
*pyobj
= 0;
16676 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16678 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16685 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16686 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16691 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16692 PyObject
*pyobj
= 0;
16696 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16698 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16705 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16706 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16711 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16712 PyObject
*pyobj
= 0;
16716 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16718 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16725 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16726 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16731 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16732 PyObject
*pyobj
= 0;
16736 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16738 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16745 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16746 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16751 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16752 PyObject
*pyobj
= 0;
16756 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16758 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16765 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16766 PyObject
*resultobj
= 0;
16767 wxColourData
*result
= 0 ;
16769 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= (wxColourData
*)new wxColourData();
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16783 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16784 PyObject
*resultobj
= 0;
16785 wxColourData
*arg1
= (wxColourData
*) 0 ;
16788 PyObject
*swig_obj
[1] ;
16790 if (!args
) SWIG_fail
;
16791 swig_obj
[0] = args
;
16792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16793 if (!SWIG_IsOK(res1
)) {
16794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16796 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= SWIG_Py_Void();
16811 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16812 PyObject
*resultobj
= 0;
16813 wxColourData
*arg1
= (wxColourData
*) 0 ;
16817 PyObject
*swig_obj
[1] ;
16819 if (!args
) SWIG_fail
;
16820 swig_obj
[0] = args
;
16821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16822 if (!SWIG_IsOK(res1
)) {
16823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16825 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (bool)(arg1
)->GetChooseFull();
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16841 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16842 PyObject
*resultobj
= 0;
16843 wxColourData
*arg1
= (wxColourData
*) 0 ;
16847 PyObject
*swig_obj
[1] ;
16849 if (!args
) SWIG_fail
;
16850 swig_obj
[0] = args
;
16851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16852 if (!SWIG_IsOK(res1
)) {
16853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16855 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= (arg1
)->GetColour();
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16869 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
= 0;
16871 wxColourData
*arg1
= (wxColourData
*) 0 ;
16878 PyObject
* obj0
= 0 ;
16879 PyObject
* obj1
= 0 ;
16880 char * kwnames
[] = {
16881 (char *) "self",(char *) "i", NULL
16884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16886 if (!SWIG_IsOK(res1
)) {
16887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16889 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16891 if (!SWIG_IsOK(ecode2
)) {
16892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16894 arg2
= static_cast< int >(val2
);
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (arg1
)->GetCustomColour(arg2
);
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16908 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
= 0;
16910 wxColourData
*arg1
= (wxColourData
*) 0 ;
16916 PyObject
* obj0
= 0 ;
16917 PyObject
* obj1
= 0 ;
16918 char * kwnames
[] = {
16919 (char *) "self",(char *) "flag", NULL
16922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16924 if (!SWIG_IsOK(res1
)) {
16925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16927 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16929 if (!SWIG_IsOK(ecode2
)) {
16930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16932 arg2
= static_cast< int >(val2
);
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 (arg1
)->SetChooseFull(arg2
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= SWIG_Py_Void();
16946 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
= 0;
16948 wxColourData
*arg1
= (wxColourData
*) 0 ;
16949 wxColour
*arg2
= 0 ;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 char * kwnames
[] = {
16956 (char *) "self",(char *) "colour", NULL
16959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16961 if (!SWIG_IsOK(res1
)) {
16962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16964 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16967 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 (arg1
)->SetColour((wxColour
const &)*arg2
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 resultobj
= SWIG_Py_Void();
16982 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
= 0;
16984 wxColourData
*arg1
= (wxColourData
*) 0 ;
16986 wxColour
*arg3
= 0 ;
16992 PyObject
* obj0
= 0 ;
16993 PyObject
* obj1
= 0 ;
16994 PyObject
* obj2
= 0 ;
16995 char * kwnames
[] = {
16996 (char *) "self",(char *) "i",(char *) "colour", NULL
16999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17001 if (!SWIG_IsOK(res1
)) {
17002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
17004 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
17005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17006 if (!SWIG_IsOK(ecode2
)) {
17007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
17009 arg2
= static_cast< int >(val2
);
17012 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
17017 wxPyEndAllowThreads(__tstate
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= SWIG_Py_Void();
17027 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17030 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
17031 return SWIG_Py_Void();
17034 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17035 return SWIG_Python_InitShadowInstance(args
);
17038 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
= 0;
17040 wxWindow
*arg1
= (wxWindow
*) 0 ;
17041 wxColourData
*arg2
= (wxColourData
*) NULL
;
17042 wxColourDialog
*result
= 0 ;
17047 PyObject
* obj0
= 0 ;
17048 PyObject
* obj1
= 0 ;
17049 char * kwnames
[] = {
17050 (char *) "parent",(char *) "data", NULL
17053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17055 if (!SWIG_IsOK(res1
)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17058 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17060 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
17061 if (!SWIG_IsOK(res2
)) {
17062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
17064 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
17067 if (!wxPyCheckForApp()) SWIG_fail
;
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
17080 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17081 PyObject
*resultobj
= 0;
17082 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
17083 wxColourData
*result
= 0 ;
17086 PyObject
*swig_obj
[1] ;
17088 if (!args
) SWIG_fail
;
17089 swig_obj
[0] = args
;
17090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
17091 if (!SWIG_IsOK(res1
)) {
17092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17094 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 wxColourData
&_result_ref
= (arg1
)->GetColourData();
17099 result
= (wxColourData
*) &_result_ref
;
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
17111 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17114 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
17115 return SWIG_Py_Void();
17118 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17119 return SWIG_Python_InitShadowInstance(args
);
17122 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
= 0;
17124 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
17125 wxColour
const &arg2_defvalue
= wxNullColour
;
17126 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17127 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17128 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17133 bool temp3
= false ;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 PyObject
* obj2
= 0 ;
17137 char * kwnames
[] = {
17138 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17144 if (!SWIG_IsOK(res1
)) {
17145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17147 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17152 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17157 arg3
= wxString_in_helper(obj2
);
17158 if (arg3
== NULL
) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17183 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
= 0;
17185 wxWindow
*arg1
= (wxWindow
*) 0 ;
17186 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
17187 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17188 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17189 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17190 long arg4
= (long) wxDD_DEFAULT_STYLE
;
17191 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17192 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17193 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17194 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17195 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
17196 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17197 wxDirDialog
*result
= 0 ;
17200 bool temp2
= false ;
17201 bool temp3
= false ;
17206 bool temp7
= false ;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 PyObject
* obj2
= 0 ;
17210 PyObject
* obj3
= 0 ;
17211 PyObject
* obj4
= 0 ;
17212 PyObject
* obj5
= 0 ;
17213 PyObject
* obj6
= 0 ;
17214 char * kwnames
[] = {
17215 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17220 if (!SWIG_IsOK(res1
)) {
17221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17226 arg2
= wxString_in_helper(obj1
);
17227 if (arg2
== NULL
) SWIG_fail
;
17233 arg3
= wxString_in_helper(obj2
);
17234 if (arg3
== NULL
) SWIG_fail
;
17239 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17240 if (!SWIG_IsOK(ecode4
)) {
17241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17243 arg4
= static_cast< long >(val4
);
17248 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17254 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17259 arg7
= wxString_in_helper(obj6
);
17260 if (arg7
== NULL
) SWIG_fail
;
17265 if (!wxPyCheckForApp()) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17302 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17303 PyObject
*resultobj
= 0;
17304 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17308 PyObject
*swig_obj
[1] ;
17310 if (!args
) SWIG_fail
;
17311 swig_obj
[0] = args
;
17312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17313 if (!SWIG_IsOK(res1
)) {
17314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17316 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 result
= (arg1
)->GetPath();
17320 wxPyEndAllowThreads(__tstate
);
17321 if (PyErr_Occurred()) SWIG_fail
;
17325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17336 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17337 PyObject
*resultobj
= 0;
17338 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17342 PyObject
*swig_obj
[1] ;
17344 if (!args
) SWIG_fail
;
17345 swig_obj
[0] = args
;
17346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17347 if (!SWIG_IsOK(res1
)) {
17348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17350 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= (arg1
)->GetMessage();
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17370 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
= 0;
17372 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17373 wxString
*arg2
= 0 ;
17376 bool temp2
= false ;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 char * kwnames
[] = {
17380 (char *) "self",(char *) "message", NULL
17383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17385 if (!SWIG_IsOK(res1
)) {
17386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17388 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17390 arg2
= wxString_in_helper(obj1
);
17391 if (arg2
== NULL
) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 (arg1
)->SetMessage((wxString
const &)*arg2
);
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17400 resultobj
= SWIG_Py_Void();
17415 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
= 0;
17417 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17418 wxString
*arg2
= 0 ;
17421 bool temp2
= false ;
17422 PyObject
* obj0
= 0 ;
17423 PyObject
* obj1
= 0 ;
17424 char * kwnames
[] = {
17425 (char *) "self",(char *) "path", NULL
17428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17430 if (!SWIG_IsOK(res1
)) {
17431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17433 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17435 arg2
= wxString_in_helper(obj1
);
17436 if (arg2
== NULL
) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 (arg1
)->SetPath((wxString
const &)*arg2
);
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= SWIG_Py_Void();
17460 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17463 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17464 return SWIG_Py_Void();
17467 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17468 return SWIG_Python_InitShadowInstance(args
);
17471 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
= 0;
17473 wxWindow
*arg1
= (wxWindow
*) 0 ;
17474 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17475 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17476 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17477 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17478 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17479 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17480 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17481 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17482 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17483 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17484 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17485 wxFileDialog
*result
= 0 ;
17488 bool temp2
= false ;
17489 bool temp3
= false ;
17490 bool temp4
= false ;
17491 bool temp5
= false ;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 PyObject
* obj2
= 0 ;
17498 PyObject
* obj3
= 0 ;
17499 PyObject
* obj4
= 0 ;
17500 PyObject
* obj5
= 0 ;
17501 PyObject
* obj6
= 0 ;
17502 char * kwnames
[] = {
17503 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17508 if (!SWIG_IsOK(res1
)) {
17509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17511 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17514 arg2
= wxString_in_helper(obj1
);
17515 if (arg2
== NULL
) SWIG_fail
;
17521 arg3
= wxString_in_helper(obj2
);
17522 if (arg3
== NULL
) SWIG_fail
;
17528 arg4
= wxString_in_helper(obj3
);
17529 if (arg4
== NULL
) SWIG_fail
;
17535 arg5
= wxString_in_helper(obj4
);
17536 if (arg5
== NULL
) SWIG_fail
;
17541 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17542 if (!SWIG_IsOK(ecode6
)) {
17543 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17545 arg6
= static_cast< long >(val6
);
17550 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17554 if (!wxPyCheckForApp()) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17599 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
= 0;
17601 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17602 wxString
*arg2
= 0 ;
17605 bool temp2
= false ;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 char * kwnames
[] = {
17609 (char *) "self",(char *) "message", NULL
17612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17614 if (!SWIG_IsOK(res1
)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17617 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17619 arg2
= wxString_in_helper(obj1
);
17620 if (arg2
== NULL
) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 (arg1
)->SetMessage((wxString
const &)*arg2
);
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= SWIG_Py_Void();
17644 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
= 0;
17646 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17647 wxString
*arg2
= 0 ;
17650 bool temp2
= false ;
17651 PyObject
* obj0
= 0 ;
17652 PyObject
* obj1
= 0 ;
17653 char * kwnames
[] = {
17654 (char *) "self",(char *) "path", NULL
17657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17659 if (!SWIG_IsOK(res1
)) {
17660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17662 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17664 arg2
= wxString_in_helper(obj1
);
17665 if (arg2
== NULL
) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 (arg1
)->SetPath((wxString
const &)*arg2
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= SWIG_Py_Void();
17689 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17690 PyObject
*resultobj
= 0;
17691 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17692 wxString
*arg2
= 0 ;
17695 bool temp2
= false ;
17696 PyObject
* obj0
= 0 ;
17697 PyObject
* obj1
= 0 ;
17698 char * kwnames
[] = {
17699 (char *) "self",(char *) "dir", NULL
17702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17704 if (!SWIG_IsOK(res1
)) {
17705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17707 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17709 arg2
= wxString_in_helper(obj1
);
17710 if (arg2
== NULL
) SWIG_fail
;
17714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17715 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= SWIG_Py_Void();
17734 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
= 0;
17736 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17737 wxString
*arg2
= 0 ;
17740 bool temp2
= false ;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 char * kwnames
[] = {
17744 (char *) "self",(char *) "name", NULL
17747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17749 if (!SWIG_IsOK(res1
)) {
17750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17752 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17754 arg2
= wxString_in_helper(obj1
);
17755 if (arg2
== NULL
) SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 (arg1
)->SetFilename((wxString
const &)*arg2
);
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 resultobj
= SWIG_Py_Void();
17779 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17780 PyObject
*resultobj
= 0;
17781 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17782 wxString
*arg2
= 0 ;
17785 bool temp2
= false ;
17786 PyObject
* obj0
= 0 ;
17787 PyObject
* obj1
= 0 ;
17788 char * kwnames
[] = {
17789 (char *) "self",(char *) "wildCard", NULL
17792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17794 if (!SWIG_IsOK(res1
)) {
17795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17797 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17799 arg2
= wxString_in_helper(obj1
);
17800 if (arg2
== NULL
) SWIG_fail
;
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= SWIG_Py_Void();
17824 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
= 0;
17826 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17832 PyObject
* obj0
= 0 ;
17833 PyObject
* obj1
= 0 ;
17834 char * kwnames
[] = {
17835 (char *) "self",(char *) "filterIndex", NULL
17838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17840 if (!SWIG_IsOK(res1
)) {
17841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17843 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17845 if (!SWIG_IsOK(ecode2
)) {
17846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17848 arg2
= static_cast< int >(val2
);
17850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17851 (arg1
)->SetFilterIndex(arg2
);
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 resultobj
= SWIG_Py_Void();
17862 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17863 PyObject
*resultobj
= 0;
17864 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17868 PyObject
*swig_obj
[1] ;
17870 if (!args
) SWIG_fail
;
17871 swig_obj
[0] = args
;
17872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17873 if (!SWIG_IsOK(res1
)) {
17874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17876 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17896 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17897 PyObject
*resultobj
= 0;
17898 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17902 PyObject
*swig_obj
[1] ;
17904 if (!args
) SWIG_fail
;
17905 swig_obj
[0] = args
;
17906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17907 if (!SWIG_IsOK(res1
)) {
17908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17910 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17930 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17931 PyObject
*resultobj
= 0;
17932 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17936 PyObject
*swig_obj
[1] ;
17938 if (!args
) SWIG_fail
;
17939 swig_obj
[0] = args
;
17940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17941 if (!SWIG_IsOK(res1
)) {
17942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17944 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17964 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17965 PyObject
*resultobj
= 0;
17966 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17970 PyObject
*swig_obj
[1] ;
17972 if (!args
) SWIG_fail
;
17973 swig_obj
[0] = args
;
17974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17975 if (!SWIG_IsOK(res1
)) {
17976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17978 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17998 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17999 PyObject
*resultobj
= 0;
18000 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18004 PyObject
*swig_obj
[1] ;
18006 if (!args
) SWIG_fail
;
18007 swig_obj
[0] = args
;
18008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18009 if (!SWIG_IsOK(res1
)) {
18010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18012 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18032 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18033 PyObject
*resultobj
= 0;
18034 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18038 PyObject
*swig_obj
[1] ;
18040 if (!args
) SWIG_fail
;
18041 swig_obj
[0] = args
;
18042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18043 if (!SWIG_IsOK(res1
)) {
18044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
18046 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 resultobj
= SWIG_From_int(static_cast< int >(result
));
18060 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18061 PyObject
*resultobj
= 0;
18062 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18063 PyObject
*result
= 0 ;
18066 PyObject
*swig_obj
[1] ;
18068 if (!args
) SWIG_fail
;
18069 swig_obj
[0] = args
;
18070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18071 if (!SWIG_IsOK(res1
)) {
18072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18074 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= result
;
18088 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18089 PyObject
*resultobj
= 0;
18090 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
18091 PyObject
*result
= 0 ;
18094 PyObject
*swig_obj
[1] ;
18096 if (!args
) SWIG_fail
;
18097 swig_obj
[0] = args
;
18098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
18099 if (!SWIG_IsOK(res1
)) {
18100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18102 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= result
;
18116 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18119 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
18120 return SWIG_Py_Void();
18123 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18124 return SWIG_Python_InitShadowInstance(args
);
18127 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
= 0;
18129 wxWindow
*arg1
= (wxWindow
*) 0 ;
18130 wxString
*arg2
= 0 ;
18131 wxString
*arg3
= 0 ;
18132 int arg4
= (int) 0 ;
18133 wxString
*arg5
= (wxString
*) NULL
;
18134 long arg6
= (long) wxCHOICEDLG_STYLE
;
18135 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18136 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18137 wxMultiChoiceDialog
*result
= 0 ;
18140 bool temp2
= false ;
18141 bool temp3
= false ;
18145 PyObject
* obj0
= 0 ;
18146 PyObject
* obj1
= 0 ;
18147 PyObject
* obj2
= 0 ;
18148 PyObject
* obj3
= 0 ;
18149 PyObject
* obj4
= 0 ;
18150 PyObject
* obj5
= 0 ;
18151 char * kwnames
[] = {
18152 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18157 if (!SWIG_IsOK(res1
)) {
18158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18160 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18162 arg2
= wxString_in_helper(obj1
);
18163 if (arg2
== NULL
) SWIG_fail
;
18167 arg3
= wxString_in_helper(obj2
);
18168 if (arg3
== NULL
) SWIG_fail
;
18173 arg4
= PyList_Size(obj3
);
18174 arg5
= wxString_LIST_helper(obj3
);
18175 if (arg5
== NULL
) SWIG_fail
;
18179 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18180 if (!SWIG_IsOK(ecode6
)) {
18181 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18183 arg6
= static_cast< long >(val6
);
18188 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18192 if (!wxPyCheckForApp()) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18208 if (arg5
) delete [] arg5
;
18221 if (arg5
) delete [] arg5
;
18227 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
= 0;
18229 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18230 wxArrayInt
*arg2
= 0 ;
18233 bool temp2
= false ;
18234 PyObject
* obj0
= 0 ;
18235 PyObject
* obj1
= 0 ;
18236 char * kwnames
[] = {
18237 (char *) "self",(char *) "selections", NULL
18240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18242 if (!SWIG_IsOK(res1
)) {
18243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18245 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18247 if (! PySequence_Check(obj1
)) {
18248 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18251 arg2
= new wxArrayInt
;
18253 int i
, len
=PySequence_Length(obj1
);
18254 for (i
=0; i
<len
; i
++) {
18255 PyObject
* item
= PySequence_GetItem(obj1
, i
);
18256 PyObject
* number
= PyNumber_Int(item
);
18258 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18261 arg2
->Add(PyInt_AS_LONG(number
));
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= SWIG_Py_Void();
18274 if (temp2
) delete arg2
;
18279 if (temp2
) delete arg2
;
18285 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18286 PyObject
*resultobj
= 0;
18287 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18288 PyObject
*result
= 0 ;
18291 PyObject
*swig_obj
[1] ;
18293 if (!args
) SWIG_fail
;
18294 swig_obj
[0] = args
;
18295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18296 if (!SWIG_IsOK(res1
)) {
18297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18299 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= result
;
18313 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18316 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18317 return SWIG_Py_Void();
18320 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18321 return SWIG_Python_InitShadowInstance(args
);
18324 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
= 0;
18326 wxWindow
*arg1
= (wxWindow
*) 0 ;
18327 wxString
*arg2
= 0 ;
18328 wxString
*arg3
= 0 ;
18330 wxString
*arg5
= (wxString
*) 0 ;
18331 long arg6
= (long) wxCHOICEDLG_STYLE
;
18332 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18333 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18334 wxSingleChoiceDialog
*result
= 0 ;
18337 bool temp2
= false ;
18338 bool temp3
= false ;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 PyObject
* obj2
= 0 ;
18345 PyObject
* obj3
= 0 ;
18346 PyObject
* obj4
= 0 ;
18347 PyObject
* obj5
= 0 ;
18348 char * kwnames
[] = {
18349 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18354 if (!SWIG_IsOK(res1
)) {
18355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18359 arg2
= wxString_in_helper(obj1
);
18360 if (arg2
== NULL
) SWIG_fail
;
18364 arg3
= wxString_in_helper(obj2
);
18365 if (arg3
== NULL
) SWIG_fail
;
18369 arg4
= PyList_Size(obj3
);
18370 arg5
= wxString_LIST_helper(obj3
);
18371 if (arg5
== NULL
) SWIG_fail
;
18374 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18375 if (!SWIG_IsOK(ecode6
)) {
18376 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18378 arg6
= static_cast< long >(val6
);
18383 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18387 if (!wxPyCheckForApp()) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18403 if (arg5
) delete [] arg5
;
18416 if (arg5
) delete [] arg5
;
18422 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18423 PyObject
*resultobj
= 0;
18424 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18428 PyObject
*swig_obj
[1] ;
18430 if (!args
) SWIG_fail
;
18431 swig_obj
[0] = args
;
18432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18433 if (!SWIG_IsOK(res1
)) {
18434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18436 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (int)(arg1
)->GetSelection();
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= SWIG_From_int(static_cast< int >(result
));
18450 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18451 PyObject
*resultobj
= 0;
18452 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18456 PyObject
*swig_obj
[1] ;
18458 if (!args
) SWIG_fail
;
18459 swig_obj
[0] = args
;
18460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18461 if (!SWIG_IsOK(res1
)) {
18462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18464 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= (arg1
)->GetStringSelection();
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18484 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
= 0;
18486 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18492 PyObject
* obj0
= 0 ;
18493 PyObject
* obj1
= 0 ;
18494 char * kwnames
[] = {
18495 (char *) "self",(char *) "sel", NULL
18498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18500 if (!SWIG_IsOK(res1
)) {
18501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18503 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18505 if (!SWIG_IsOK(ecode2
)) {
18506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18508 arg2
= static_cast< int >(val2
);
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 (arg1
)->SetSelection(arg2
);
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 resultobj
= SWIG_Py_Void();
18522 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18525 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18526 return SWIG_Py_Void();
18529 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18530 return SWIG_Python_InitShadowInstance(args
);
18533 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
= 0;
18535 wxWindow
*arg1
= (wxWindow
*) 0 ;
18536 wxString
*arg2
= 0 ;
18537 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18538 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18539 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18540 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18541 long arg5
= (long) wxTextEntryDialogStyle
;
18542 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18543 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18544 wxTextEntryDialog
*result
= 0 ;
18547 bool temp2
= false ;
18548 bool temp3
= false ;
18549 bool temp4
= false ;
18553 PyObject
* obj0
= 0 ;
18554 PyObject
* obj1
= 0 ;
18555 PyObject
* obj2
= 0 ;
18556 PyObject
* obj3
= 0 ;
18557 PyObject
* obj4
= 0 ;
18558 PyObject
* obj5
= 0 ;
18559 char * kwnames
[] = {
18560 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18565 if (!SWIG_IsOK(res1
)) {
18566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18568 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18570 arg2
= wxString_in_helper(obj1
);
18571 if (arg2
== NULL
) SWIG_fail
;
18576 arg3
= wxString_in_helper(obj2
);
18577 if (arg3
== NULL
) SWIG_fail
;
18583 arg4
= wxString_in_helper(obj3
);
18584 if (arg4
== NULL
) SWIG_fail
;
18589 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18590 if (!SWIG_IsOK(ecode5
)) {
18591 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18593 arg5
= static_cast< long >(val5
);
18598 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18602 if (!wxPyCheckForApp()) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18639 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18640 PyObject
*resultobj
= 0;
18641 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18645 PyObject
*swig_obj
[1] ;
18647 if (!args
) SWIG_fail
;
18648 swig_obj
[0] = args
;
18649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18650 if (!SWIG_IsOK(res1
)) {
18651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18653 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (arg1
)->GetValue();
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18673 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
= 0;
18675 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18676 wxString
*arg2
= 0 ;
18679 bool temp2
= false ;
18680 PyObject
* obj0
= 0 ;
18681 PyObject
* obj1
= 0 ;
18682 char * kwnames
[] = {
18683 (char *) "self",(char *) "value", NULL
18686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18688 if (!SWIG_IsOK(res1
)) {
18689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18691 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18693 arg2
= wxString_in_helper(obj1
);
18694 if (arg2
== NULL
) SWIG_fail
;
18698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18699 (arg1
)->SetValue((wxString
const &)*arg2
);
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 resultobj
= SWIG_Py_Void();
18718 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18721 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18722 return SWIG_Py_Void();
18725 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18726 return SWIG_Python_InitShadowInstance(args
);
18729 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18730 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18735 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18736 PyObject
*pyobj
= 0;
18740 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18742 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18749 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
= 0;
18751 wxWindow
*arg1
= (wxWindow
*) 0 ;
18752 wxString
*arg2
= 0 ;
18753 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18754 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18755 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18756 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18757 long arg5
= (long) wxTextEntryDialogStyle
;
18758 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18759 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18760 wxPasswordEntryDialog
*result
= 0 ;
18763 bool temp2
= false ;
18764 bool temp3
= false ;
18765 bool temp4
= false ;
18769 PyObject
* obj0
= 0 ;
18770 PyObject
* obj1
= 0 ;
18771 PyObject
* obj2
= 0 ;
18772 PyObject
* obj3
= 0 ;
18773 PyObject
* obj4
= 0 ;
18774 PyObject
* obj5
= 0 ;
18775 char * kwnames
[] = {
18776 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18781 if (!SWIG_IsOK(res1
)) {
18782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18784 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18786 arg2
= wxString_in_helper(obj1
);
18787 if (arg2
== NULL
) SWIG_fail
;
18792 arg3
= wxString_in_helper(obj2
);
18793 if (arg3
== NULL
) SWIG_fail
;
18799 arg4
= wxString_in_helper(obj3
);
18800 if (arg4
== NULL
) SWIG_fail
;
18805 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18806 if (!SWIG_IsOK(ecode5
)) {
18807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18809 arg5
= static_cast< long >(val5
);
18814 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18854 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18857 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18858 return SWIG_Py_Void();
18861 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18862 return SWIG_Python_InitShadowInstance(args
);
18865 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
= 0;
18867 wxWindow
*arg1
= (wxWindow
*) 0 ;
18868 wxString
*arg2
= 0 ;
18869 wxString
*arg3
= 0 ;
18870 wxString
*arg4
= 0 ;
18874 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18875 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18876 wxNumberEntryDialog
*result
= 0 ;
18879 bool temp2
= false ;
18880 bool temp3
= false ;
18881 bool temp4
= false ;
18889 PyObject
* obj0
= 0 ;
18890 PyObject
* obj1
= 0 ;
18891 PyObject
* obj2
= 0 ;
18892 PyObject
* obj3
= 0 ;
18893 PyObject
* obj4
= 0 ;
18894 PyObject
* obj5
= 0 ;
18895 PyObject
* obj6
= 0 ;
18896 PyObject
* obj7
= 0 ;
18897 char * kwnames
[] = {
18898 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18903 if (!SWIG_IsOK(res1
)) {
18904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18906 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18908 arg2
= wxString_in_helper(obj1
);
18909 if (arg2
== NULL
) SWIG_fail
;
18913 arg3
= wxString_in_helper(obj2
);
18914 if (arg3
== NULL
) SWIG_fail
;
18918 arg4
= wxString_in_helper(obj3
);
18919 if (arg4
== NULL
) SWIG_fail
;
18922 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18923 if (!SWIG_IsOK(ecode5
)) {
18924 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18926 arg5
= static_cast< long >(val5
);
18927 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18928 if (!SWIG_IsOK(ecode6
)) {
18929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18931 arg6
= static_cast< long >(val6
);
18932 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18933 if (!SWIG_IsOK(ecode7
)) {
18934 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18936 arg7
= static_cast< long >(val7
);
18940 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18944 if (!wxPyCheckForApp()) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18947 wxPyEndAllowThreads(__tstate
);
18948 if (PyErr_Occurred()) SWIG_fail
;
18950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18981 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18982 PyObject
*resultobj
= 0;
18983 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18987 PyObject
*swig_obj
[1] ;
18989 if (!args
) SWIG_fail
;
18990 swig_obj
[0] = args
;
18991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18992 if (!SWIG_IsOK(res1
)) {
18993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18995 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 result
= (long)(arg1
)->GetValue();
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= SWIG_From_long(static_cast< long >(result
));
19009 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19012 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
19013 return SWIG_Py_Void();
19016 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19017 return SWIG_Python_InitShadowInstance(args
);
19020 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19021 PyObject
*resultobj
= 0;
19022 wxFontData
*result
= 0 ;
19024 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 result
= (wxFontData
*)new wxFontData();
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
19038 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19039 PyObject
*resultobj
= 0;
19040 wxFontData
*arg1
= (wxFontData
*) 0 ;
19043 PyObject
*swig_obj
[1] ;
19045 if (!args
) SWIG_fail
;
19046 swig_obj
[0] = args
;
19047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
19048 if (!SWIG_IsOK(res1
)) {
19049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
19051 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19059 resultobj
= SWIG_Py_Void();
19066 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
= 0;
19068 wxFontData
*arg1
= (wxFontData
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char * kwnames
[] = {
19077 (char *) "self",(char *) "enable", NULL
19080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19082 if (!SWIG_IsOK(res1
)) {
19083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19085 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19086 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19087 if (!SWIG_IsOK(ecode2
)) {
19088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19090 arg2
= static_cast< bool >(val2
);
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 (arg1
)->EnableEffects(arg2
);
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= SWIG_Py_Void();
19104 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19105 PyObject
*resultobj
= 0;
19106 wxFontData
*arg1
= (wxFontData
*) 0 ;
19110 PyObject
*swig_obj
[1] ;
19112 if (!args
) SWIG_fail
;
19113 swig_obj
[0] = args
;
19114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19115 if (!SWIG_IsOK(res1
)) {
19116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19118 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (bool)(arg1
)->GetAllowSymbols();
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19134 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19135 PyObject
*resultobj
= 0;
19136 wxFontData
*arg1
= (wxFontData
*) 0 ;
19140 PyObject
*swig_obj
[1] ;
19142 if (!args
) SWIG_fail
;
19143 swig_obj
[0] = args
;
19144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19145 if (!SWIG_IsOK(res1
)) {
19146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19148 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 result
= (arg1
)->GetColour();
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
19162 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19163 PyObject
*resultobj
= 0;
19164 wxFontData
*arg1
= (wxFontData
*) 0 ;
19168 PyObject
*swig_obj
[1] ;
19170 if (!args
) SWIG_fail
;
19171 swig_obj
[0] = args
;
19172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19173 if (!SWIG_IsOK(res1
)) {
19174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19176 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 result
= (arg1
)->GetChosenFont();
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19190 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19191 PyObject
*resultobj
= 0;
19192 wxFontData
*arg1
= (wxFontData
*) 0 ;
19196 PyObject
*swig_obj
[1] ;
19198 if (!args
) SWIG_fail
;
19199 swig_obj
[0] = args
;
19200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19201 if (!SWIG_IsOK(res1
)) {
19202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19204 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 result
= (bool)(arg1
)->GetEnableEffects();
19208 wxPyEndAllowThreads(__tstate
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19220 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19221 PyObject
*resultobj
= 0;
19222 wxFontData
*arg1
= (wxFontData
*) 0 ;
19226 PyObject
*swig_obj
[1] ;
19228 if (!args
) SWIG_fail
;
19229 swig_obj
[0] = args
;
19230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19231 if (!SWIG_IsOK(res1
)) {
19232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19234 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 result
= (arg1
)->GetInitialFont();
19238 wxPyEndAllowThreads(__tstate
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19248 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19249 PyObject
*resultobj
= 0;
19250 wxFontData
*arg1
= (wxFontData
*) 0 ;
19254 PyObject
*swig_obj
[1] ;
19256 if (!args
) SWIG_fail
;
19257 swig_obj
[0] = args
;
19258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19259 if (!SWIG_IsOK(res1
)) {
19260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19262 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 result
= (bool)(arg1
)->GetShowHelp();
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19278 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
= 0;
19280 wxFontData
*arg1
= (wxFontData
*) 0 ;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 char * kwnames
[] = {
19289 (char *) "self",(char *) "allowSymbols", NULL
19292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19294 if (!SWIG_IsOK(res1
)) {
19295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19297 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19298 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19299 if (!SWIG_IsOK(ecode2
)) {
19300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19302 arg2
= static_cast< bool >(val2
);
19304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 (arg1
)->SetAllowSymbols(arg2
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 resultobj
= SWIG_Py_Void();
19316 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
= 0;
19318 wxFontData
*arg1
= (wxFontData
*) 0 ;
19324 PyObject
* obj0
= 0 ;
19325 PyObject
* obj1
= 0 ;
19326 char * kwnames
[] = {
19327 (char *) "self",(char *) "font", NULL
19330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19332 if (!SWIG_IsOK(res1
)) {
19333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19335 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19337 if (!SWIG_IsOK(res2
)) {
19338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19343 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 resultobj
= SWIG_Py_Void();
19357 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
= 0;
19359 wxFontData
*arg1
= (wxFontData
*) 0 ;
19360 wxColour
*arg2
= 0 ;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 char * kwnames
[] = {
19367 (char *) "self",(char *) "colour", NULL
19370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19372 if (!SWIG_IsOK(res1
)) {
19373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19375 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19378 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 (arg1
)->SetColour((wxColour
const &)*arg2
);
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 resultobj
= SWIG_Py_Void();
19393 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
= 0;
19395 wxFontData
*arg1
= (wxFontData
*) 0 ;
19401 PyObject
* obj0
= 0 ;
19402 PyObject
* obj1
= 0 ;
19403 char * kwnames
[] = {
19404 (char *) "self",(char *) "font", NULL
19407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19409 if (!SWIG_IsOK(res1
)) {
19410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19412 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19414 if (!SWIG_IsOK(res2
)) {
19415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19420 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19424 wxPyEndAllowThreads(__tstate
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19427 resultobj
= SWIG_Py_Void();
19434 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
= 0;
19436 wxFontData
*arg1
= (wxFontData
*) 0 ;
19445 PyObject
* obj0
= 0 ;
19446 PyObject
* obj1
= 0 ;
19447 PyObject
* obj2
= 0 ;
19448 char * kwnames
[] = {
19449 (char *) "self",(char *) "min",(char *) "max", NULL
19452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19454 if (!SWIG_IsOK(res1
)) {
19455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19457 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19459 if (!SWIG_IsOK(ecode2
)) {
19460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19462 arg2
= static_cast< int >(val2
);
19463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19464 if (!SWIG_IsOK(ecode3
)) {
19465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19467 arg3
= static_cast< int >(val3
);
19469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 (arg1
)->SetRange(arg2
,arg3
);
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19474 resultobj
= SWIG_Py_Void();
19481 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
= 0;
19483 wxFontData
*arg1
= (wxFontData
*) 0 ;
19489 PyObject
* obj0
= 0 ;
19490 PyObject
* obj1
= 0 ;
19491 char * kwnames
[] = {
19492 (char *) "self",(char *) "showHelp", NULL
19495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19497 if (!SWIG_IsOK(res1
)) {
19498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19500 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19501 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19502 if (!SWIG_IsOK(ecode2
)) {
19503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19505 arg2
= static_cast< bool >(val2
);
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 (arg1
)->SetShowHelp(arg2
);
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= SWIG_Py_Void();
19519 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19522 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19523 return SWIG_Py_Void();
19526 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19527 return SWIG_Python_InitShadowInstance(args
);
19530 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
= 0;
19532 wxWindow
*arg1
= (wxWindow
*) 0 ;
19533 wxFontData
*arg2
= 0 ;
19534 wxFontDialog
*result
= 0 ;
19539 PyObject
* obj0
= 0 ;
19540 PyObject
* obj1
= 0 ;
19541 char * kwnames
[] = {
19542 (char *) "parent",(char *) "data", NULL
19545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19547 if (!SWIG_IsOK(res1
)) {
19548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19550 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19551 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19552 if (!SWIG_IsOK(res2
)) {
19553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19558 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19560 if (!wxPyCheckForApp()) SWIG_fail
;
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19573 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19574 PyObject
*resultobj
= 0;
19575 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19576 wxFontData
*result
= 0 ;
19579 PyObject
*swig_obj
[1] ;
19581 if (!args
) SWIG_fail
;
19582 swig_obj
[0] = args
;
19583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19584 if (!SWIG_IsOK(res1
)) {
19585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19587 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19592 result
= (wxFontData
*) &_result_ref
;
19594 wxPyEndAllowThreads(__tstate
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19604 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19606 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19607 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19608 return SWIG_Py_Void();
19611 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19612 return SWIG_Python_InitShadowInstance(args
);
19615 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
= 0;
19617 wxWindow
*arg1
= (wxWindow
*) NULL
;
19618 wxFont
const &arg2_defvalue
= wxNullFont
;
19619 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19620 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19621 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19627 bool temp3
= false ;
19628 PyObject
* obj0
= 0 ;
19629 PyObject
* obj1
= 0 ;
19630 PyObject
* obj2
= 0 ;
19631 char * kwnames
[] = {
19632 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19638 if (!SWIG_IsOK(res1
)) {
19639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19641 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19645 if (!SWIG_IsOK(res2
)) {
19646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19651 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19655 arg3
= wxString_in_helper(obj2
);
19656 if (arg3
== NULL
) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19681 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
= 0;
19683 wxWindow
*arg1
= (wxWindow
*) 0 ;
19684 wxString
*arg2
= 0 ;
19685 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19686 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19687 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19688 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19689 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19690 wxMessageDialog
*result
= 0 ;
19693 bool temp2
= false ;
19694 bool temp3
= false ;
19698 PyObject
* obj0
= 0 ;
19699 PyObject
* obj1
= 0 ;
19700 PyObject
* obj2
= 0 ;
19701 PyObject
* obj3
= 0 ;
19702 PyObject
* obj4
= 0 ;
19703 char * kwnames
[] = {
19704 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19709 if (!SWIG_IsOK(res1
)) {
19710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19712 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19714 arg2
= wxString_in_helper(obj1
);
19715 if (arg2
== NULL
) SWIG_fail
;
19720 arg3
= wxString_in_helper(obj2
);
19721 if (arg3
== NULL
) SWIG_fail
;
19726 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19727 if (!SWIG_IsOK(ecode4
)) {
19728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19730 arg4
= static_cast< long >(val4
);
19735 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19739 if (!wxPyCheckForApp()) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19768 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19771 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19772 return SWIG_Py_Void();
19775 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19776 return SWIG_Python_InitShadowInstance(args
);
19779 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
= 0;
19781 wxString
*arg1
= 0 ;
19782 wxString
*arg2
= 0 ;
19783 int arg3
= (int) 100 ;
19784 wxWindow
*arg4
= (wxWindow
*) NULL
;
19785 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19786 wxProgressDialog
*result
= 0 ;
19787 bool temp1
= false ;
19788 bool temp2
= false ;
19795 PyObject
* obj0
= 0 ;
19796 PyObject
* obj1
= 0 ;
19797 PyObject
* obj2
= 0 ;
19798 PyObject
* obj3
= 0 ;
19799 PyObject
* obj4
= 0 ;
19800 char * kwnames
[] = {
19801 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19806 arg1
= wxString_in_helper(obj0
);
19807 if (arg1
== NULL
) SWIG_fail
;
19811 arg2
= wxString_in_helper(obj1
);
19812 if (arg2
== NULL
) SWIG_fail
;
19816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19817 if (!SWIG_IsOK(ecode3
)) {
19818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19820 arg3
= static_cast< int >(val3
);
19823 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19824 if (!SWIG_IsOK(res4
)) {
19825 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19827 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19830 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19831 if (!SWIG_IsOK(ecode5
)) {
19832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19834 arg5
= static_cast< int >(val5
);
19837 if (!wxPyCheckForApp()) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19840 wxPyEndAllowThreads(__tstate
);
19841 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19866 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19867 PyObject
*resultobj
= 0;
19868 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19870 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19871 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19872 bool *arg4
= (bool *) 0 ;
19878 bool temp3
= false ;
19880 int res4
= SWIG_TMPOBJ
;
19881 PyObject
* obj0
= 0 ;
19882 PyObject
* obj1
= 0 ;
19883 PyObject
* obj2
= 0 ;
19884 char * kwnames
[] = {
19885 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19891 if (!SWIG_IsOK(res1
)) {
19892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19894 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19896 if (!SWIG_IsOK(ecode2
)) {
19897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19899 arg2
= static_cast< int >(val2
);
19902 arg3
= wxString_in_helper(obj2
);
19903 if (arg3
== NULL
) SWIG_fail
;
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19909 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19916 if (SWIG_IsTmpObj(res4
)) {
19917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19919 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19936 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
= 0;
19938 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19939 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19940 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19941 bool *arg3
= (bool *) 0 ;
19945 bool temp2
= false ;
19947 int res3
= SWIG_TMPOBJ
;
19948 PyObject
* obj0
= 0 ;
19949 PyObject
* obj1
= 0 ;
19950 char * kwnames
[] = {
19951 (char *) "self",(char *) "newmsg", NULL
19955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19957 if (!SWIG_IsOK(res1
)) {
19958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19960 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19963 arg2
= wxString_in_helper(obj1
);
19964 if (arg2
== NULL
) SWIG_fail
;
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19977 if (SWIG_IsTmpObj(res3
)) {
19978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19980 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19997 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19998 PyObject
*resultobj
= 0;
19999 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
20002 PyObject
*swig_obj
[1] ;
20004 if (!args
) SWIG_fail
;
20005 swig_obj
[0] = args
;
20006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
20007 if (!SWIG_IsOK(res1
)) {
20008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
20010 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 resultobj
= SWIG_Py_Void();
20024 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20027 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
20028 return SWIG_Py_Void();
20031 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20032 return SWIG_Python_InitShadowInstance(args
);
20035 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
= 0;
20037 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20038 int arg2
= (int) 0 ;
20039 wxFindDialogEvent
*result
= 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 char * kwnames
[] = {
20047 (char *) "commandType",(char *) "id", NULL
20050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20052 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20053 if (!SWIG_IsOK(ecode1
)) {
20054 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20056 arg1
= static_cast< wxEventType
>(val1
);
20059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20060 if (!SWIG_IsOK(ecode2
)) {
20061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20063 arg2
= static_cast< int >(val2
);
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
20078 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20079 PyObject
*resultobj
= 0;
20080 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20084 PyObject
*swig_obj
[1] ;
20086 if (!args
) SWIG_fail
;
20087 swig_obj
[0] = args
;
20088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20089 if (!SWIG_IsOK(res1
)) {
20090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20092 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (int)(arg1
)->GetFlags();
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= SWIG_From_int(static_cast< int >(result
));
20106 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20107 PyObject
*resultobj
= 0;
20108 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20109 wxString
*result
= 0 ;
20112 PyObject
*swig_obj
[1] ;
20114 if (!args
) SWIG_fail
;
20115 swig_obj
[0] = args
;
20116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20117 if (!SWIG_IsOK(res1
)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20120 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 wxString
const &_result_ref
= (arg1
)->GetFindString();
20125 result
= (wxString
*) &_result_ref
;
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20132 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20134 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20143 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20144 PyObject
*resultobj
= 0;
20145 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20146 wxString
*result
= 0 ;
20149 PyObject
*swig_obj
[1] ;
20151 if (!args
) SWIG_fail
;
20152 swig_obj
[0] = args
;
20153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20154 if (!SWIG_IsOK(res1
)) {
20155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20157 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20162 result
= (wxString
*) &_result_ref
;
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20171 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20180 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20181 PyObject
*resultobj
= 0;
20182 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20183 wxFindReplaceDialog
*result
= 0 ;
20186 PyObject
*swig_obj
[1] ;
20188 if (!args
) SWIG_fail
;
20189 swig_obj
[0] = args
;
20190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20191 if (!SWIG_IsOK(res1
)) {
20192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20194 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20208 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
= 0;
20210 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20216 PyObject
* obj0
= 0 ;
20217 PyObject
* obj1
= 0 ;
20218 char * kwnames
[] = {
20219 (char *) "self",(char *) "flags", NULL
20222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20224 if (!SWIG_IsOK(res1
)) {
20225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20227 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20229 if (!SWIG_IsOK(ecode2
)) {
20230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20232 arg2
= static_cast< int >(val2
);
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 (arg1
)->SetFlags(arg2
);
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= SWIG_Py_Void();
20246 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
= 0;
20248 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20249 wxString
*arg2
= 0 ;
20252 bool temp2
= false ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 char * kwnames
[] = {
20256 (char *) "self",(char *) "str", NULL
20259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20261 if (!SWIG_IsOK(res1
)) {
20262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20264 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20266 arg2
= wxString_in_helper(obj1
);
20267 if (arg2
== NULL
) SWIG_fail
;
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 (arg1
)->SetFindString((wxString
const &)*arg2
);
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20276 resultobj
= SWIG_Py_Void();
20291 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
= 0;
20293 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20294 wxString
*arg2
= 0 ;
20297 bool temp2
= false ;
20298 PyObject
* obj0
= 0 ;
20299 PyObject
* obj1
= 0 ;
20300 char * kwnames
[] = {
20301 (char *) "self",(char *) "str", NULL
20304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20306 if (!SWIG_IsOK(res1
)) {
20307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20309 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20311 arg2
= wxString_in_helper(obj1
);
20312 if (arg2
== NULL
) SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20321 resultobj
= SWIG_Py_Void();
20336 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20339 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20340 return SWIG_Py_Void();
20343 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20344 return SWIG_Python_InitShadowInstance(args
);
20347 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
= 0;
20349 int arg1
= (int) 0 ;
20350 wxFindReplaceData
*result
= 0 ;
20353 PyObject
* obj0
= 0 ;
20354 char * kwnames
[] = {
20355 (char *) "flags", NULL
20358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20360 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20361 if (!SWIG_IsOK(ecode1
)) {
20362 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20364 arg1
= static_cast< int >(val1
);
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20379 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20380 PyObject
*resultobj
= 0;
20381 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20384 PyObject
*swig_obj
[1] ;
20386 if (!args
) SWIG_fail
;
20387 swig_obj
[0] = args
;
20388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20389 if (!SWIG_IsOK(res1
)) {
20390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20392 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= SWIG_Py_Void();
20407 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20408 PyObject
*resultobj
= 0;
20409 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20410 wxString
*result
= 0 ;
20413 PyObject
*swig_obj
[1] ;
20415 if (!args
) SWIG_fail
;
20416 swig_obj
[0] = args
;
20417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20418 if (!SWIG_IsOK(res1
)) {
20419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20421 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 wxString
const &_result_ref
= (arg1
)->GetFindString();
20426 result
= (wxString
*) &_result_ref
;
20428 wxPyEndAllowThreads(__tstate
);
20429 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20435 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20444 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20445 PyObject
*resultobj
= 0;
20446 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20447 wxString
*result
= 0 ;
20450 PyObject
*swig_obj
[1] ;
20452 if (!args
) SWIG_fail
;
20453 swig_obj
[0] = args
;
20454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20455 if (!SWIG_IsOK(res1
)) {
20456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20458 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20462 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20463 result
= (wxString
*) &_result_ref
;
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20470 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20472 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20481 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20482 PyObject
*resultobj
= 0;
20483 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20487 PyObject
*swig_obj
[1] ;
20489 if (!args
) SWIG_fail
;
20490 swig_obj
[0] = args
;
20491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20492 if (!SWIG_IsOK(res1
)) {
20493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20495 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 result
= (int)(arg1
)->GetFlags();
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20502 resultobj
= SWIG_From_int(static_cast< int >(result
));
20509 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
= 0;
20511 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20517 PyObject
* obj0
= 0 ;
20518 PyObject
* obj1
= 0 ;
20519 char * kwnames
[] = {
20520 (char *) "self",(char *) "flags", NULL
20523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20525 if (!SWIG_IsOK(res1
)) {
20526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20528 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20530 if (!SWIG_IsOK(ecode2
)) {
20531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20533 arg2
= static_cast< int >(val2
);
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 (arg1
)->SetFlags(arg2
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_Py_Void();
20547 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
= 0;
20549 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20550 wxString
*arg2
= 0 ;
20553 bool temp2
= false ;
20554 PyObject
* obj0
= 0 ;
20555 PyObject
* obj1
= 0 ;
20556 char * kwnames
[] = {
20557 (char *) "self",(char *) "str", NULL
20560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20562 if (!SWIG_IsOK(res1
)) {
20563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20565 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20567 arg2
= wxString_in_helper(obj1
);
20568 if (arg2
== NULL
) SWIG_fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 (arg1
)->SetFindString((wxString
const &)*arg2
);
20574 wxPyEndAllowThreads(__tstate
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20577 resultobj
= SWIG_Py_Void();
20592 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
= 0;
20594 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20595 wxString
*arg2
= 0 ;
20598 bool temp2
= false ;
20599 PyObject
* obj0
= 0 ;
20600 PyObject
* obj1
= 0 ;
20601 char * kwnames
[] = {
20602 (char *) "self",(char *) "str", NULL
20605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20607 if (!SWIG_IsOK(res1
)) {
20608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20610 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20612 arg2
= wxString_in_helper(obj1
);
20613 if (arg2
== NULL
) SWIG_fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20622 resultobj
= SWIG_Py_Void();
20637 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20640 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20641 return SWIG_Py_Void();
20644 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20645 return SWIG_Python_InitShadowInstance(args
);
20648 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20649 PyObject
*resultobj
= 0;
20650 wxWindow
*arg1
= (wxWindow
*) 0 ;
20651 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20652 wxString
*arg3
= 0 ;
20653 int arg4
= (int) 0 ;
20654 wxFindReplaceDialog
*result
= 0 ;
20659 bool temp3
= false ;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20664 PyObject
* obj2
= 0 ;
20665 PyObject
* obj3
= 0 ;
20666 char * kwnames
[] = {
20667 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20672 if (!SWIG_IsOK(res1
)) {
20673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20675 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20676 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20677 if (!SWIG_IsOK(res2
)) {
20678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20680 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20682 arg3
= wxString_in_helper(obj2
);
20683 if (arg3
== NULL
) SWIG_fail
;
20687 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20688 if (!SWIG_IsOK(ecode4
)) {
20689 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20691 arg4
= static_cast< int >(val4
);
20694 if (!wxPyCheckForApp()) SWIG_fail
;
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20715 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20716 PyObject
*resultobj
= 0;
20717 wxFindReplaceDialog
*result
= 0 ;
20719 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20721 if (!wxPyCheckForApp()) SWIG_fail
;
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20734 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
= 0;
20736 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20737 wxWindow
*arg2
= (wxWindow
*) 0 ;
20738 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20739 wxString
*arg4
= 0 ;
20740 int arg5
= (int) 0 ;
20748 bool temp4
= false ;
20751 PyObject
* obj0
= 0 ;
20752 PyObject
* obj1
= 0 ;
20753 PyObject
* obj2
= 0 ;
20754 PyObject
* obj3
= 0 ;
20755 PyObject
* obj4
= 0 ;
20756 char * kwnames
[] = {
20757 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20762 if (!SWIG_IsOK(res1
)) {
20763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20765 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20767 if (!SWIG_IsOK(res2
)) {
20768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20770 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20771 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20772 if (!SWIG_IsOK(res3
)) {
20773 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20775 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20777 arg4
= wxString_in_helper(obj3
);
20778 if (arg4
== NULL
) SWIG_fail
;
20782 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20783 if (!SWIG_IsOK(ecode5
)) {
20784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20786 arg5
= static_cast< int >(val5
);
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20811 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20812 PyObject
*resultobj
= 0;
20813 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20814 wxFindReplaceData
*result
= 0 ;
20817 PyObject
*swig_obj
[1] ;
20819 if (!args
) SWIG_fail
;
20820 swig_obj
[0] = args
;
20821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20822 if (!SWIG_IsOK(res1
)) {
20823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20825 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20839 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
= 0;
20841 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20842 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20849 char * kwnames
[] = {
20850 (char *) "self",(char *) "data", NULL
20853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20855 if (!SWIG_IsOK(res1
)) {
20856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20858 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20859 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20860 if (!SWIG_IsOK(res2
)) {
20861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20863 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 (arg1
)->SetData(arg2
);
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20870 resultobj
= SWIG_Py_Void();
20877 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20879 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20880 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20881 return SWIG_Py_Void();
20884 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20885 return SWIG_Python_InitShadowInstance(args
);
20888 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
= 0;
20890 wxWindow
*arg1
= (wxWindow
*) 0 ;
20891 int arg2
= (int) (int)-1 ;
20892 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20893 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20894 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20895 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20896 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20897 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20898 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20899 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20900 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20901 wxMDIParentFrame
*result
= 0 ;
20906 bool temp3
= false ;
20911 bool temp7
= false ;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 PyObject
* obj2
= 0 ;
20915 PyObject
* obj3
= 0 ;
20916 PyObject
* obj4
= 0 ;
20917 PyObject
* obj5
= 0 ;
20918 PyObject
* obj6
= 0 ;
20919 char * kwnames
[] = {
20920 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20925 if (!SWIG_IsOK(res1
)) {
20926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20931 if (!SWIG_IsOK(ecode2
)) {
20932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20934 arg2
= static_cast< int >(val2
);
20938 arg3
= wxString_in_helper(obj2
);
20939 if (arg3
== NULL
) SWIG_fail
;
20946 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20952 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20956 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20957 if (!SWIG_IsOK(ecode6
)) {
20958 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20960 arg6
= static_cast< long >(val6
);
20964 arg7
= wxString_in_helper(obj6
);
20965 if (arg7
== NULL
) SWIG_fail
;
20970 if (!wxPyCheckForApp()) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20999 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21000 PyObject
*resultobj
= 0;
21001 wxMDIParentFrame
*result
= 0 ;
21003 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
21005 if (!wxPyCheckForApp()) SWIG_fail
;
21006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21007 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
21018 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
= 0;
21020 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21021 wxWindow
*arg2
= (wxWindow
*) 0 ;
21022 int arg3
= (int) (int)-1 ;
21023 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21024 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21025 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21026 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21027 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21028 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21029 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
21030 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21031 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21039 bool temp4
= false ;
21044 bool temp8
= false ;
21045 PyObject
* obj0
= 0 ;
21046 PyObject
* obj1
= 0 ;
21047 PyObject
* obj2
= 0 ;
21048 PyObject
* obj3
= 0 ;
21049 PyObject
* obj4
= 0 ;
21050 PyObject
* obj5
= 0 ;
21051 PyObject
* obj6
= 0 ;
21052 PyObject
* obj7
= 0 ;
21053 char * kwnames
[] = {
21054 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21059 if (!SWIG_IsOK(res1
)) {
21060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21062 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21063 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21064 if (!SWIG_IsOK(res2
)) {
21065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21067 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21070 if (!SWIG_IsOK(ecode3
)) {
21071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21073 arg3
= static_cast< int >(val3
);
21077 arg4
= wxString_in_helper(obj3
);
21078 if (arg4
== NULL
) SWIG_fail
;
21085 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21091 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21095 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21096 if (!SWIG_IsOK(ecode7
)) {
21097 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21099 arg7
= static_cast< long >(val7
);
21103 arg8
= wxString_in_helper(obj7
);
21104 if (arg8
== NULL
) SWIG_fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21139 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21140 PyObject
*resultobj
= 0;
21141 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21144 PyObject
*swig_obj
[1] ;
21146 if (!args
) SWIG_fail
;
21147 swig_obj
[0] = args
;
21148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21149 if (!SWIG_IsOK(res1
)) {
21150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21152 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 (arg1
)->ActivateNext();
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21159 resultobj
= SWIG_Py_Void();
21166 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21167 PyObject
*resultobj
= 0;
21168 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21171 PyObject
*swig_obj
[1] ;
21173 if (!args
) SWIG_fail
;
21174 swig_obj
[0] = args
;
21175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21176 if (!SWIG_IsOK(res1
)) {
21177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21179 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 (arg1
)->ActivatePrevious();
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21186 resultobj
= SWIG_Py_Void();
21193 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21194 PyObject
*resultobj
= 0;
21195 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21198 PyObject
*swig_obj
[1] ;
21200 if (!args
) SWIG_fail
;
21201 swig_obj
[0] = args
;
21202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21203 if (!SWIG_IsOK(res1
)) {
21204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21206 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 (arg1
)->ArrangeIcons();
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 resultobj
= SWIG_Py_Void();
21220 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21221 PyObject
*resultobj
= 0;
21222 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21225 PyObject
*swig_obj
[1] ;
21227 if (!args
) SWIG_fail
;
21228 swig_obj
[0] = args
;
21229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21230 if (!SWIG_IsOK(res1
)) {
21231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21233 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 resultobj
= SWIG_Py_Void();
21247 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21248 PyObject
*resultobj
= 0;
21249 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21250 wxMDIChildFrame
*result
= 0 ;
21253 PyObject
*swig_obj
[1] ;
21255 if (!args
) SWIG_fail
;
21256 swig_obj
[0] = args
;
21257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21258 if (!SWIG_IsOK(res1
)) {
21259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21261 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21277 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21278 PyObject
*resultobj
= 0;
21279 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21280 wxMDIClientWindow
*result
= 0 ;
21283 PyObject
*swig_obj
[1] ;
21285 if (!args
) SWIG_fail
;
21286 swig_obj
[0] = args
;
21287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21288 if (!SWIG_IsOK(res1
)) {
21289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21291 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21299 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21307 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
= 0;
21309 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21310 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21315 PyObject
* obj0
= 0 ;
21316 PyObject
* obj1
= 0 ;
21317 char * kwnames
[] = {
21318 (char *) "self",(char *) "orient", NULL
21321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21323 if (!SWIG_IsOK(res1
)) {
21324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21326 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21329 if (!SWIG_IsOK(ecode2
)) {
21330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21332 arg2
= static_cast< wxOrientation
>(val2
);
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 (arg1
)->Tile(arg2
);
21337 wxPyEndAllowThreads(__tstate
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21340 resultobj
= SWIG_Py_Void();
21347 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21350 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21351 return SWIG_Py_Void();
21354 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21355 return SWIG_Python_InitShadowInstance(args
);
21358 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
= 0;
21360 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21361 int arg2
= (int) (int)-1 ;
21362 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21363 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21364 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21365 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21366 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21367 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21368 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21369 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21370 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21371 wxMDIChildFrame
*result
= 0 ;
21376 bool temp3
= false ;
21381 bool temp7
= false ;
21382 PyObject
* obj0
= 0 ;
21383 PyObject
* obj1
= 0 ;
21384 PyObject
* obj2
= 0 ;
21385 PyObject
* obj3
= 0 ;
21386 PyObject
* obj4
= 0 ;
21387 PyObject
* obj5
= 0 ;
21388 PyObject
* obj6
= 0 ;
21389 char * kwnames
[] = {
21390 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21395 if (!SWIG_IsOK(res1
)) {
21396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21398 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21401 if (!SWIG_IsOK(ecode2
)) {
21402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21404 arg2
= static_cast< int >(val2
);
21408 arg3
= wxString_in_helper(obj2
);
21409 if (arg3
== NULL
) SWIG_fail
;
21416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21426 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21427 if (!SWIG_IsOK(ecode6
)) {
21428 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21430 arg6
= static_cast< long >(val6
);
21434 arg7
= wxString_in_helper(obj6
);
21435 if (arg7
== NULL
) SWIG_fail
;
21440 if (!wxPyCheckForApp()) SWIG_fail
;
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21469 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21470 PyObject
*resultobj
= 0;
21471 wxMDIChildFrame
*result
= 0 ;
21473 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21475 if (!wxPyCheckForApp()) SWIG_fail
;
21476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21477 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21478 wxPyEndAllowThreads(__tstate
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21488 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
= 0;
21490 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21491 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21492 int arg3
= (int) (int)-1 ;
21493 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21494 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21495 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21496 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21497 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21498 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21499 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21500 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21501 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21509 bool temp4
= false ;
21514 bool temp8
= false ;
21515 PyObject
* obj0
= 0 ;
21516 PyObject
* obj1
= 0 ;
21517 PyObject
* obj2
= 0 ;
21518 PyObject
* obj3
= 0 ;
21519 PyObject
* obj4
= 0 ;
21520 PyObject
* obj5
= 0 ;
21521 PyObject
* obj6
= 0 ;
21522 PyObject
* obj7
= 0 ;
21523 char * kwnames
[] = {
21524 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21529 if (!SWIG_IsOK(res1
)) {
21530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21532 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21533 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21534 if (!SWIG_IsOK(res2
)) {
21535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21537 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21540 if (!SWIG_IsOK(ecode3
)) {
21541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21543 arg3
= static_cast< int >(val3
);
21547 arg4
= wxString_in_helper(obj3
);
21548 if (arg4
== NULL
) SWIG_fail
;
21555 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21561 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21565 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21566 if (!SWIG_IsOK(ecode7
)) {
21567 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21569 arg7
= static_cast< long >(val7
);
21573 arg8
= wxString_in_helper(obj7
);
21574 if (arg8
== NULL
) SWIG_fail
;
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21609 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21610 PyObject
*resultobj
= 0;
21611 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21614 PyObject
*swig_obj
[1] ;
21616 if (!args
) SWIG_fail
;
21617 swig_obj
[0] = args
;
21618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21619 if (!SWIG_IsOK(res1
)) {
21620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21622 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21625 (arg1
)->Activate();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21629 resultobj
= SWIG_Py_Void();
21636 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21638 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21639 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21640 return SWIG_Py_Void();
21643 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21644 return SWIG_Python_InitShadowInstance(args
);
21647 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
= 0;
21649 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21650 long arg2
= (long) 0 ;
21651 wxMDIClientWindow
*result
= 0 ;
21656 PyObject
* obj0
= 0 ;
21657 PyObject
* obj1
= 0 ;
21658 char * kwnames
[] = {
21659 (char *) "parent",(char *) "style", NULL
21662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21664 if (!SWIG_IsOK(res1
)) {
21665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21667 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21669 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21670 if (!SWIG_IsOK(ecode2
)) {
21671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21673 arg2
= static_cast< long >(val2
);
21676 if (!wxPyCheckForApp()) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21689 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21690 PyObject
*resultobj
= 0;
21691 wxMDIClientWindow
*result
= 0 ;
21693 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21695 if (!wxPyCheckForApp()) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21708 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
= 0;
21710 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21711 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21712 long arg3
= (long) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 PyObject
* obj2
= 0 ;
21723 char * kwnames
[] = {
21724 (char *) "self",(char *) "parent",(char *) "style", NULL
21727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21729 if (!SWIG_IsOK(res1
)) {
21730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21732 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21733 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21734 if (!SWIG_IsOK(res2
)) {
21735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21737 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21739 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21740 if (!SWIG_IsOK(ecode3
)) {
21741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21743 arg3
= static_cast< long >(val3
);
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21760 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21763 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21764 return SWIG_Py_Void();
21767 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21768 return SWIG_Python_InitShadowInstance(args
);
21771 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
= 0;
21773 wxWindow
*arg1
= (wxWindow
*) 0 ;
21774 int arg2
= (int) (int)-1 ;
21775 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21776 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21777 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21778 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21779 long arg5
= (long) 0 ;
21780 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21781 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21782 wxPyWindow
*result
= 0 ;
21791 bool temp6
= false ;
21792 PyObject
* obj0
= 0 ;
21793 PyObject
* obj1
= 0 ;
21794 PyObject
* obj2
= 0 ;
21795 PyObject
* obj3
= 0 ;
21796 PyObject
* obj4
= 0 ;
21797 PyObject
* obj5
= 0 ;
21798 char * kwnames
[] = {
21799 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21804 if (!SWIG_IsOK(res1
)) {
21805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21807 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21810 if (!SWIG_IsOK(ecode2
)) {
21811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21813 arg2
= static_cast< int >(val2
);
21818 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21824 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21828 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21829 if (!SWIG_IsOK(ecode5
)) {
21830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21832 arg5
= static_cast< long >(val5
);
21836 arg6
= wxString_in_helper(obj5
);
21837 if (arg6
== NULL
) SWIG_fail
;
21842 if (!wxPyCheckForApp()) SWIG_fail
;
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21863 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21864 PyObject
*resultobj
= 0;
21865 wxPyWindow
*result
= 0 ;
21867 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21869 if (!wxPyCheckForApp()) SWIG_fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 result
= (wxPyWindow
*)new wxPyWindow();
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21882 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
= 0;
21884 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21885 PyObject
*arg2
= (PyObject
*) 0 ;
21886 PyObject
*arg3
= (PyObject
*) 0 ;
21889 PyObject
* obj0
= 0 ;
21890 PyObject
* obj1
= 0 ;
21891 PyObject
* obj2
= 0 ;
21892 char * kwnames
[] = {
21893 (char *) "self",(char *) "self",(char *) "_class", NULL
21896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21898 if (!SWIG_IsOK(res1
)) {
21899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21901 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21906 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21910 resultobj
= SWIG_Py_Void();
21917 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
= 0;
21919 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21920 wxDC
*arg2
= (wxDC
*) 0 ;
21926 PyObject
* obj0
= 0 ;
21927 PyObject
* obj1
= 0 ;
21928 char * kwnames
[] = {
21929 (char *) "self",(char *) "dc", NULL
21932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21934 if (!SWIG_IsOK(res1
)) {
21935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21937 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21939 if (!SWIG_IsOK(res2
)) {
21940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21942 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21945 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21958 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21959 PyObject
*resultobj
= 0;
21960 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21975 PyObject
* obj0
= 0 ;
21976 PyObject
* obj1
= 0 ;
21977 PyObject
* obj2
= 0 ;
21978 PyObject
* obj3
= 0 ;
21979 PyObject
* obj4
= 0 ;
21980 char * kwnames
[] = {
21981 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21986 if (!SWIG_IsOK(res1
)) {
21987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21989 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21991 if (!SWIG_IsOK(ecode2
)) {
21992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21994 arg2
= static_cast< int >(val2
);
21995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21996 if (!SWIG_IsOK(ecode3
)) {
21997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21999 arg3
= static_cast< int >(val3
);
22000 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22001 if (!SWIG_IsOK(ecode4
)) {
22002 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22004 arg4
= static_cast< int >(val4
);
22005 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22006 if (!SWIG_IsOK(ecode5
)) {
22007 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22009 arg5
= static_cast< int >(val5
);
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 resultobj
= SWIG_Py_Void();
22023 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
= 0;
22025 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22030 int arg6
= (int) wxSIZE_AUTO
;
22043 PyObject
* obj0
= 0 ;
22044 PyObject
* obj1
= 0 ;
22045 PyObject
* obj2
= 0 ;
22046 PyObject
* obj3
= 0 ;
22047 PyObject
* obj4
= 0 ;
22048 PyObject
* obj5
= 0 ;
22049 char * kwnames
[] = {
22050 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22055 if (!SWIG_IsOK(res1
)) {
22056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22058 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22060 if (!SWIG_IsOK(ecode2
)) {
22061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22063 arg2
= static_cast< int >(val2
);
22064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22065 if (!SWIG_IsOK(ecode3
)) {
22066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22068 arg3
= static_cast< int >(val3
);
22069 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22070 if (!SWIG_IsOK(ecode4
)) {
22071 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22073 arg4
= static_cast< int >(val4
);
22074 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22075 if (!SWIG_IsOK(ecode5
)) {
22076 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22078 arg5
= static_cast< int >(val5
);
22080 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22081 if (!SWIG_IsOK(ecode6
)) {
22082 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22084 arg6
= static_cast< int >(val6
);
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22092 resultobj
= SWIG_Py_Void();
22099 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
= 0;
22101 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 PyObject
* obj2
= 0 ;
22113 char * kwnames
[] = {
22114 (char *) "self",(char *) "width",(char *) "height", NULL
22117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22119 if (!SWIG_IsOK(res1
)) {
22120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22122 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22124 if (!SWIG_IsOK(ecode2
)) {
22125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22127 arg2
= static_cast< int >(val2
);
22128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22129 if (!SWIG_IsOK(ecode3
)) {
22130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22132 arg3
= static_cast< int >(val3
);
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 (arg1
)->DoSetClientSize(arg2
,arg3
);
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22139 resultobj
= SWIG_Py_Void();
22146 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22147 PyObject
*resultobj
= 0;
22148 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22157 PyObject
* obj0
= 0 ;
22158 PyObject
* obj1
= 0 ;
22159 PyObject
* obj2
= 0 ;
22160 char * kwnames
[] = {
22161 (char *) "self",(char *) "x",(char *) "y", NULL
22164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22166 if (!SWIG_IsOK(res1
)) {
22167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22169 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22171 if (!SWIG_IsOK(ecode2
)) {
22172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22174 arg2
= static_cast< int >(val2
);
22175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22176 if (!SWIG_IsOK(ecode3
)) {
22177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22179 arg3
= static_cast< int >(val3
);
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22183 wxPyEndAllowThreads(__tstate
);
22184 if (PyErr_Occurred()) SWIG_fail
;
22186 resultobj
= SWIG_Py_Void();
22193 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22194 PyObject
*resultobj
= 0;
22195 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22196 int *arg2
= (int *) 0 ;
22197 int *arg3
= (int *) 0 ;
22201 int res2
= SWIG_TMPOBJ
;
22203 int res3
= SWIG_TMPOBJ
;
22204 PyObject
*swig_obj
[1] ;
22208 if (!args
) SWIG_fail
;
22209 swig_obj
[0] = args
;
22210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22211 if (!SWIG_IsOK(res1
)) {
22212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22214 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= SWIG_Py_Void();
22222 if (SWIG_IsTmpObj(res2
)) {
22223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22225 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22228 if (SWIG_IsTmpObj(res3
)) {
22229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22231 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22240 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22241 PyObject
*resultobj
= 0;
22242 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22243 int *arg2
= (int *) 0 ;
22244 int *arg3
= (int *) 0 ;
22248 int res2
= SWIG_TMPOBJ
;
22250 int res3
= SWIG_TMPOBJ
;
22251 PyObject
*swig_obj
[1] ;
22255 if (!args
) SWIG_fail
;
22256 swig_obj
[0] = args
;
22257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22258 if (!SWIG_IsOK(res1
)) {
22259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22261 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= SWIG_Py_Void();
22269 if (SWIG_IsTmpObj(res2
)) {
22270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22272 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22273 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22275 if (SWIG_IsTmpObj(res3
)) {
22276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22278 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22287 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22288 PyObject
*resultobj
= 0;
22289 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22290 int *arg2
= (int *) 0 ;
22291 int *arg3
= (int *) 0 ;
22295 int res2
= SWIG_TMPOBJ
;
22297 int res3
= SWIG_TMPOBJ
;
22298 PyObject
*swig_obj
[1] ;
22302 if (!args
) SWIG_fail
;
22303 swig_obj
[0] = args
;
22304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22305 if (!SWIG_IsOK(res1
)) {
22306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22308 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 resultobj
= SWIG_Py_Void();
22316 if (SWIG_IsTmpObj(res2
)) {
22317 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22319 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22320 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22322 if (SWIG_IsTmpObj(res3
)) {
22323 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22325 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22326 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22334 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22335 PyObject
*resultobj
= 0;
22336 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22340 PyObject
*swig_obj
[1] ;
22342 if (!args
) SWIG_fail
;
22343 swig_obj
[0] = args
;
22344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22345 if (!SWIG_IsOK(res1
)) {
22346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22348 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22355 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22362 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22363 PyObject
*resultobj
= 0;
22364 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22368 PyObject
*swig_obj
[1] ;
22370 if (!args
) SWIG_fail
;
22371 swig_obj
[0] = args
;
22372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22373 if (!SWIG_IsOK(res1
)) {
22374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22376 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22380 wxPyEndAllowThreads(__tstate
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22383 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22390 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22391 PyObject
*resultobj
= 0;
22392 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22393 SwigValueWrapper
<wxVisualAttributes
> result
;
22396 PyObject
*swig_obj
[1] ;
22398 if (!args
) SWIG_fail
;
22399 swig_obj
[0] = args
;
22400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22401 if (!SWIG_IsOK(res1
)) {
22402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22404 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 result
= (arg1
)->GetDefaultAttributes();
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22418 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22419 PyObject
*resultobj
= 0;
22420 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22423 PyObject
*swig_obj
[1] ;
22425 if (!args
) SWIG_fail
;
22426 swig_obj
[0] = args
;
22427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22428 if (!SWIG_IsOK(res1
)) {
22429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22431 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 (arg1
)->OnInternalIdle();
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22438 resultobj
= SWIG_Py_Void();
22445 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22448 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22449 return SWIG_Py_Void();
22452 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22453 return SWIG_Python_InitShadowInstance(args
);
22456 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
= 0;
22458 wxWindow
*arg1
= (wxWindow
*) 0 ;
22459 int arg2
= (int) (int)-1 ;
22460 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22461 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22462 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22463 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22464 long arg5
= (long) 0 ;
22465 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22466 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22467 wxPyPanel
*result
= 0 ;
22476 bool temp6
= false ;
22477 PyObject
* obj0
= 0 ;
22478 PyObject
* obj1
= 0 ;
22479 PyObject
* obj2
= 0 ;
22480 PyObject
* obj3
= 0 ;
22481 PyObject
* obj4
= 0 ;
22482 PyObject
* obj5
= 0 ;
22483 char * kwnames
[] = {
22484 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22489 if (!SWIG_IsOK(res1
)) {
22490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22492 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22495 if (!SWIG_IsOK(ecode2
)) {
22496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22498 arg2
= static_cast< int >(val2
);
22503 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22509 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22513 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22514 if (!SWIG_IsOK(ecode5
)) {
22515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22517 arg5
= static_cast< long >(val5
);
22521 arg6
= wxString_in_helper(obj5
);
22522 if (arg6
== NULL
) SWIG_fail
;
22527 if (!wxPyCheckForApp()) SWIG_fail
;
22528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22529 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22548 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22549 PyObject
*resultobj
= 0;
22550 wxPyPanel
*result
= 0 ;
22552 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22554 if (!wxPyCheckForApp()) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 result
= (wxPyPanel
*)new wxPyPanel();
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22567 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
= 0;
22569 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22570 PyObject
*arg2
= (PyObject
*) 0 ;
22571 PyObject
*arg3
= (PyObject
*) 0 ;
22574 PyObject
* obj0
= 0 ;
22575 PyObject
* obj1
= 0 ;
22576 PyObject
* obj2
= 0 ;
22577 char * kwnames
[] = {
22578 (char *) "self",(char *) "self",(char *) "_class", NULL
22581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22583 if (!SWIG_IsOK(res1
)) {
22584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22586 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 resultobj
= SWIG_Py_Void();
22602 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
= 0;
22604 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22605 wxDC
*arg2
= (wxDC
*) 0 ;
22611 PyObject
* obj0
= 0 ;
22612 PyObject
* obj1
= 0 ;
22613 char * kwnames
[] = {
22614 (char *) "self",(char *) "dc", NULL
22617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22619 if (!SWIG_IsOK(res1
)) {
22620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22622 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22624 if (!SWIG_IsOK(res2
)) {
22625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22627 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22643 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
= 0;
22645 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22660 PyObject
* obj0
= 0 ;
22661 PyObject
* obj1
= 0 ;
22662 PyObject
* obj2
= 0 ;
22663 PyObject
* obj3
= 0 ;
22664 PyObject
* obj4
= 0 ;
22665 char * kwnames
[] = {
22666 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22671 if (!SWIG_IsOK(res1
)) {
22672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22674 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22676 if (!SWIG_IsOK(ecode2
)) {
22677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22679 arg2
= static_cast< int >(val2
);
22680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22681 if (!SWIG_IsOK(ecode3
)) {
22682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22684 arg3
= static_cast< int >(val3
);
22685 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22686 if (!SWIG_IsOK(ecode4
)) {
22687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22689 arg4
= static_cast< int >(val4
);
22690 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22691 if (!SWIG_IsOK(ecode5
)) {
22692 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22694 arg5
= static_cast< int >(val5
);
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= SWIG_Py_Void();
22708 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
= 0;
22710 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22715 int arg6
= (int) wxSIZE_AUTO
;
22728 PyObject
* obj0
= 0 ;
22729 PyObject
* obj1
= 0 ;
22730 PyObject
* obj2
= 0 ;
22731 PyObject
* obj3
= 0 ;
22732 PyObject
* obj4
= 0 ;
22733 PyObject
* obj5
= 0 ;
22734 char * kwnames
[] = {
22735 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22740 if (!SWIG_IsOK(res1
)) {
22741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22743 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22745 if (!SWIG_IsOK(ecode2
)) {
22746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22748 arg2
= static_cast< int >(val2
);
22749 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22750 if (!SWIG_IsOK(ecode3
)) {
22751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22753 arg3
= static_cast< int >(val3
);
22754 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22755 if (!SWIG_IsOK(ecode4
)) {
22756 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22758 arg4
= static_cast< int >(val4
);
22759 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22760 if (!SWIG_IsOK(ecode5
)) {
22761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22763 arg5
= static_cast< int >(val5
);
22765 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22766 if (!SWIG_IsOK(ecode6
)) {
22767 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22769 arg6
= static_cast< int >(val6
);
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22774 wxPyEndAllowThreads(__tstate
);
22775 if (PyErr_Occurred()) SWIG_fail
;
22777 resultobj
= SWIG_Py_Void();
22784 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
= 0;
22786 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22795 PyObject
* obj0
= 0 ;
22796 PyObject
* obj1
= 0 ;
22797 PyObject
* obj2
= 0 ;
22798 char * kwnames
[] = {
22799 (char *) "self",(char *) "width",(char *) "height", NULL
22802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22804 if (!SWIG_IsOK(res1
)) {
22805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22807 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22809 if (!SWIG_IsOK(ecode2
)) {
22810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22812 arg2
= static_cast< int >(val2
);
22813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22814 if (!SWIG_IsOK(ecode3
)) {
22815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22817 arg3
= static_cast< int >(val3
);
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 (arg1
)->DoSetClientSize(arg2
,arg3
);
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 resultobj
= SWIG_Py_Void();
22831 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
= 0;
22833 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22842 PyObject
* obj0
= 0 ;
22843 PyObject
* obj1
= 0 ;
22844 PyObject
* obj2
= 0 ;
22845 char * kwnames
[] = {
22846 (char *) "self",(char *) "x",(char *) "y", NULL
22849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22851 if (!SWIG_IsOK(res1
)) {
22852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22854 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22856 if (!SWIG_IsOK(ecode2
)) {
22857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22859 arg2
= static_cast< int >(val2
);
22860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22861 if (!SWIG_IsOK(ecode3
)) {
22862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22864 arg3
= static_cast< int >(val3
);
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22867 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22868 wxPyEndAllowThreads(__tstate
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22871 resultobj
= SWIG_Py_Void();
22878 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22879 PyObject
*resultobj
= 0;
22880 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22881 int *arg2
= (int *) 0 ;
22882 int *arg3
= (int *) 0 ;
22886 int res2
= SWIG_TMPOBJ
;
22888 int res3
= SWIG_TMPOBJ
;
22889 PyObject
*swig_obj
[1] ;
22893 if (!args
) SWIG_fail
;
22894 swig_obj
[0] = args
;
22895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22896 if (!SWIG_IsOK(res1
)) {
22897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22899 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22906 resultobj
= SWIG_Py_Void();
22907 if (SWIG_IsTmpObj(res2
)) {
22908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22910 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22913 if (SWIG_IsTmpObj(res3
)) {
22914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22916 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22925 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22926 PyObject
*resultobj
= 0;
22927 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22928 int *arg2
= (int *) 0 ;
22929 int *arg3
= (int *) 0 ;
22933 int res2
= SWIG_TMPOBJ
;
22935 int res3
= SWIG_TMPOBJ
;
22936 PyObject
*swig_obj
[1] ;
22940 if (!args
) SWIG_fail
;
22941 swig_obj
[0] = args
;
22942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22943 if (!SWIG_IsOK(res1
)) {
22944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22946 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= SWIG_Py_Void();
22954 if (SWIG_IsTmpObj(res2
)) {
22955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22957 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22960 if (SWIG_IsTmpObj(res3
)) {
22961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22963 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22972 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22973 PyObject
*resultobj
= 0;
22974 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22975 int *arg2
= (int *) 0 ;
22976 int *arg3
= (int *) 0 ;
22980 int res2
= SWIG_TMPOBJ
;
22982 int res3
= SWIG_TMPOBJ
;
22983 PyObject
*swig_obj
[1] ;
22987 if (!args
) SWIG_fail
;
22988 swig_obj
[0] = args
;
22989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22990 if (!SWIG_IsOK(res1
)) {
22991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22993 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23000 resultobj
= SWIG_Py_Void();
23001 if (SWIG_IsTmpObj(res2
)) {
23002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23004 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23007 if (SWIG_IsTmpObj(res3
)) {
23008 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23010 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23019 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23020 PyObject
*resultobj
= 0;
23021 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23025 PyObject
*swig_obj
[1] ;
23027 if (!args
) SWIG_fail
;
23028 swig_obj
[0] = args
;
23029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23030 if (!SWIG_IsOK(res1
)) {
23031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23033 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23047 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23048 PyObject
*resultobj
= 0;
23049 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23053 PyObject
*swig_obj
[1] ;
23055 if (!args
) SWIG_fail
;
23056 swig_obj
[0] = args
;
23057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23058 if (!SWIG_IsOK(res1
)) {
23059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23061 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23075 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23076 PyObject
*resultobj
= 0;
23077 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23078 SwigValueWrapper
<wxVisualAttributes
> result
;
23081 PyObject
*swig_obj
[1] ;
23083 if (!args
) SWIG_fail
;
23084 swig_obj
[0] = args
;
23085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23086 if (!SWIG_IsOK(res1
)) {
23087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23089 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 result
= (arg1
)->GetDefaultAttributes();
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23096 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23103 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23104 PyObject
*resultobj
= 0;
23105 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23108 PyObject
*swig_obj
[1] ;
23110 if (!args
) SWIG_fail
;
23111 swig_obj
[0] = args
;
23112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23113 if (!SWIG_IsOK(res1
)) {
23114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23116 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 (arg1
)->OnInternalIdle();
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= SWIG_Py_Void();
23130 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23133 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
23134 return SWIG_Py_Void();
23137 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23138 return SWIG_Python_InitShadowInstance(args
);
23141 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23142 PyObject
*resultobj
= 0;
23143 wxWindow
*arg1
= (wxWindow
*) 0 ;
23144 int arg2
= (int) (int)-1 ;
23145 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23146 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23147 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23148 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23149 long arg5
= (long) 0 ;
23150 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23151 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23152 wxPyScrolledWindow
*result
= 0 ;
23161 bool temp6
= false ;
23162 PyObject
* obj0
= 0 ;
23163 PyObject
* obj1
= 0 ;
23164 PyObject
* obj2
= 0 ;
23165 PyObject
* obj3
= 0 ;
23166 PyObject
* obj4
= 0 ;
23167 PyObject
* obj5
= 0 ;
23168 char * kwnames
[] = {
23169 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23174 if (!SWIG_IsOK(res1
)) {
23175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23177 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23180 if (!SWIG_IsOK(ecode2
)) {
23181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23183 arg2
= static_cast< int >(val2
);
23188 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23194 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23198 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23199 if (!SWIG_IsOK(ecode5
)) {
23200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23202 arg5
= static_cast< long >(val5
);
23206 arg6
= wxString_in_helper(obj5
);
23207 if (arg6
== NULL
) SWIG_fail
;
23212 if (!wxPyCheckForApp()) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23233 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23234 PyObject
*resultobj
= 0;
23235 wxPyScrolledWindow
*result
= 0 ;
23237 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23239 if (!wxPyCheckForApp()) SWIG_fail
;
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23242 wxPyEndAllowThreads(__tstate
);
23243 if (PyErr_Occurred()) SWIG_fail
;
23245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23252 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23253 PyObject
*resultobj
= 0;
23254 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23255 PyObject
*arg2
= (PyObject
*) 0 ;
23256 PyObject
*arg3
= (PyObject
*) 0 ;
23259 PyObject
* obj0
= 0 ;
23260 PyObject
* obj1
= 0 ;
23261 PyObject
* obj2
= 0 ;
23262 char * kwnames
[] = {
23263 (char *) "self",(char *) "self",(char *) "_class", NULL
23266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23268 if (!SWIG_IsOK(res1
)) {
23269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23271 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 resultobj
= SWIG_Py_Void();
23287 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
= 0;
23289 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23290 wxDC
*arg2
= (wxDC
*) 0 ;
23296 PyObject
* obj0
= 0 ;
23297 PyObject
* obj1
= 0 ;
23298 char * kwnames
[] = {
23299 (char *) "self",(char *) "dc", NULL
23302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23304 if (!SWIG_IsOK(res1
)) {
23305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23307 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23308 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23309 if (!SWIG_IsOK(res2
)) {
23310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23312 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23328 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
= 0;
23330 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 PyObject
* obj2
= 0 ;
23348 PyObject
* obj3
= 0 ;
23349 PyObject
* obj4
= 0 ;
23350 char * kwnames
[] = {
23351 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23356 if (!SWIG_IsOK(res1
)) {
23357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23359 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23361 if (!SWIG_IsOK(ecode2
)) {
23362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23364 arg2
= static_cast< int >(val2
);
23365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23366 if (!SWIG_IsOK(ecode3
)) {
23367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23369 arg3
= static_cast< int >(val3
);
23370 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23371 if (!SWIG_IsOK(ecode4
)) {
23372 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23374 arg4
= static_cast< int >(val4
);
23375 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23376 if (!SWIG_IsOK(ecode5
)) {
23377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23379 arg5
= static_cast< int >(val5
);
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= SWIG_Py_Void();
23393 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
= 0;
23395 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23400 int arg6
= (int) wxSIZE_AUTO
;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 PyObject
* obj2
= 0 ;
23416 PyObject
* obj3
= 0 ;
23417 PyObject
* obj4
= 0 ;
23418 PyObject
* obj5
= 0 ;
23419 char * kwnames
[] = {
23420 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23425 if (!SWIG_IsOK(res1
)) {
23426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23428 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23430 if (!SWIG_IsOK(ecode2
)) {
23431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23433 arg2
= static_cast< int >(val2
);
23434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23435 if (!SWIG_IsOK(ecode3
)) {
23436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23438 arg3
= static_cast< int >(val3
);
23439 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23440 if (!SWIG_IsOK(ecode4
)) {
23441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23443 arg4
= static_cast< int >(val4
);
23444 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23445 if (!SWIG_IsOK(ecode5
)) {
23446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23448 arg5
= static_cast< int >(val5
);
23450 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23451 if (!SWIG_IsOK(ecode6
)) {
23452 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23454 arg6
= static_cast< int >(val6
);
23457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23462 resultobj
= SWIG_Py_Void();
23469 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23470 PyObject
*resultobj
= 0;
23471 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23480 PyObject
* obj0
= 0 ;
23481 PyObject
* obj1
= 0 ;
23482 PyObject
* obj2
= 0 ;
23483 char * kwnames
[] = {
23484 (char *) "self",(char *) "width",(char *) "height", NULL
23487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23489 if (!SWIG_IsOK(res1
)) {
23490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23492 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23494 if (!SWIG_IsOK(ecode2
)) {
23495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23497 arg2
= static_cast< int >(val2
);
23498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23499 if (!SWIG_IsOK(ecode3
)) {
23500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23502 arg3
= static_cast< int >(val3
);
23504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 (arg1
)->DoSetClientSize(arg2
,arg3
);
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23509 resultobj
= SWIG_Py_Void();
23516 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23517 PyObject
*resultobj
= 0;
23518 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23527 PyObject
* obj0
= 0 ;
23528 PyObject
* obj1
= 0 ;
23529 PyObject
* obj2
= 0 ;
23530 char * kwnames
[] = {
23531 (char *) "self",(char *) "x",(char *) "y", NULL
23534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23536 if (!SWIG_IsOK(res1
)) {
23537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23539 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23541 if (!SWIG_IsOK(ecode2
)) {
23542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23544 arg2
= static_cast< int >(val2
);
23545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23546 if (!SWIG_IsOK(ecode3
)) {
23547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23549 arg3
= static_cast< int >(val3
);
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= SWIG_Py_Void();
23563 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23564 PyObject
*resultobj
= 0;
23565 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23566 int *arg2
= (int *) 0 ;
23567 int *arg3
= (int *) 0 ;
23571 int res2
= SWIG_TMPOBJ
;
23573 int res3
= SWIG_TMPOBJ
;
23574 PyObject
*swig_obj
[1] ;
23578 if (!args
) SWIG_fail
;
23579 swig_obj
[0] = args
;
23580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23581 if (!SWIG_IsOK(res1
)) {
23582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23584 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= SWIG_Py_Void();
23592 if (SWIG_IsTmpObj(res2
)) {
23593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23595 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23598 if (SWIG_IsTmpObj(res3
)) {
23599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23601 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23610 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23611 PyObject
*resultobj
= 0;
23612 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23613 int *arg2
= (int *) 0 ;
23614 int *arg3
= (int *) 0 ;
23618 int res2
= SWIG_TMPOBJ
;
23620 int res3
= SWIG_TMPOBJ
;
23621 PyObject
*swig_obj
[1] ;
23625 if (!args
) SWIG_fail
;
23626 swig_obj
[0] = args
;
23627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23628 if (!SWIG_IsOK(res1
)) {
23629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23631 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 resultobj
= SWIG_Py_Void();
23639 if (SWIG_IsTmpObj(res2
)) {
23640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23642 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23645 if (SWIG_IsTmpObj(res3
)) {
23646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23648 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23657 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23658 PyObject
*resultobj
= 0;
23659 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23660 int *arg2
= (int *) 0 ;
23661 int *arg3
= (int *) 0 ;
23665 int res2
= SWIG_TMPOBJ
;
23667 int res3
= SWIG_TMPOBJ
;
23668 PyObject
*swig_obj
[1] ;
23672 if (!args
) SWIG_fail
;
23673 swig_obj
[0] = args
;
23674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23675 if (!SWIG_IsOK(res1
)) {
23676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23678 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23685 resultobj
= SWIG_Py_Void();
23686 if (SWIG_IsTmpObj(res2
)) {
23687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23689 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23692 if (SWIG_IsTmpObj(res3
)) {
23693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23695 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23704 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23705 PyObject
*resultobj
= 0;
23706 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23710 PyObject
*swig_obj
[1] ;
23712 if (!args
) SWIG_fail
;
23713 swig_obj
[0] = args
;
23714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23715 if (!SWIG_IsOK(res1
)) {
23716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23718 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23725 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23732 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23733 PyObject
*resultobj
= 0;
23734 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23738 PyObject
*swig_obj
[1] ;
23740 if (!args
) SWIG_fail
;
23741 swig_obj
[0] = args
;
23742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23743 if (!SWIG_IsOK(res1
)) {
23744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23746 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23760 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23761 PyObject
*resultobj
= 0;
23762 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23763 SwigValueWrapper
<wxVisualAttributes
> result
;
23766 PyObject
*swig_obj
[1] ;
23768 if (!args
) SWIG_fail
;
23769 swig_obj
[0] = args
;
23770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23771 if (!SWIG_IsOK(res1
)) {
23772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23774 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 result
= (arg1
)->GetDefaultAttributes();
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23788 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23789 PyObject
*resultobj
= 0;
23790 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23793 PyObject
*swig_obj
[1] ;
23795 if (!args
) SWIG_fail
;
23796 swig_obj
[0] = args
;
23797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23798 if (!SWIG_IsOK(res1
)) {
23799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23801 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 (arg1
)->OnInternalIdle();
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 resultobj
= SWIG_Py_Void();
23815 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23818 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23819 return SWIG_Py_Void();
23822 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23823 return SWIG_Python_InitShadowInstance(args
);
23826 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23827 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23832 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23833 PyObject
*pyobj
= 0;
23837 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23839 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23846 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23847 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23852 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23853 PyObject
*pyobj
= 0;
23857 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23859 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23866 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23867 PyObject
*resultobj
= 0;
23868 wxPrintData
*result
= 0 ;
23870 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 result
= (wxPrintData
*)new wxPrintData();
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23884 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23885 PyObject
*resultobj
= 0;
23886 wxPrintData
*arg1
= 0 ;
23887 wxPrintData
*result
= 0 ;
23891 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23893 if (!SWIG_IsOK(res1
)) {
23894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23899 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23903 wxPyEndAllowThreads(__tstate
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23913 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23917 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23920 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23923 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23927 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23932 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23933 PyObject
*resultobj
= 0;
23934 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23937 PyObject
*swig_obj
[1] ;
23939 if (!args
) SWIG_fail
;
23940 swig_obj
[0] = args
;
23941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23942 if (!SWIG_IsOK(res1
)) {
23943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23945 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 resultobj
= SWIG_Py_Void();
23960 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23961 PyObject
*resultobj
= 0;
23962 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23966 PyObject
*swig_obj
[1] ;
23968 if (!args
) SWIG_fail
;
23969 swig_obj
[0] = args
;
23970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23971 if (!SWIG_IsOK(res1
)) {
23972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23974 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 result
= (int)(arg1
)->GetNoCopies();
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 resultobj
= SWIG_From_int(static_cast< int >(result
));
23988 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23989 PyObject
*resultobj
= 0;
23990 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23994 PyObject
*swig_obj
[1] ;
23996 if (!args
) SWIG_fail
;
23997 swig_obj
[0] = args
;
23998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23999 if (!SWIG_IsOK(res1
)) {
24000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24002 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 result
= (bool)(arg1
)->GetCollate();
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24018 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24019 PyObject
*resultobj
= 0;
24020 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24024 PyObject
*swig_obj
[1] ;
24026 if (!args
) SWIG_fail
;
24027 swig_obj
[0] = args
;
24028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24029 if (!SWIG_IsOK(res1
)) {
24030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24032 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 result
= (int)(arg1
)->GetOrientation();
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= SWIG_From_int(static_cast< int >(result
));
24046 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24047 PyObject
*resultobj
= 0;
24048 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24052 PyObject
*swig_obj
[1] ;
24054 if (!args
) SWIG_fail
;
24055 swig_obj
[0] = args
;
24056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24057 if (!SWIG_IsOK(res1
)) {
24058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24060 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24076 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24077 PyObject
*resultobj
= 0;
24078 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24082 PyObject
*swig_obj
[1] ;
24084 if (!args
) SWIG_fail
;
24085 swig_obj
[0] = args
;
24086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24087 if (!SWIG_IsOK(res1
)) {
24088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
24090 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 result
= (bool)(arg1
)->IsOk();
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24106 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24107 PyObject
*resultobj
= 0;
24108 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24109 wxString
*result
= 0 ;
24112 PyObject
*swig_obj
[1] ;
24114 if (!args
) SWIG_fail
;
24115 swig_obj
[0] = args
;
24116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24117 if (!SWIG_IsOK(res1
)) {
24118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24120 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
24125 result
= (wxString
*) &_result_ref
;
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24132 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24134 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24143 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24144 PyObject
*resultobj
= 0;
24145 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24149 PyObject
*swig_obj
[1] ;
24151 if (!args
) SWIG_fail
;
24152 swig_obj
[0] = args
;
24153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24154 if (!SWIG_IsOK(res1
)) {
24155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24157 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= (bool)(arg1
)->GetColour();
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24173 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24174 PyObject
*resultobj
= 0;
24175 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24176 wxDuplexMode result
;
24179 PyObject
*swig_obj
[1] ;
24181 if (!args
) SWIG_fail
;
24182 swig_obj
[0] = args
;
24183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24184 if (!SWIG_IsOK(res1
)) {
24185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24187 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24190 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24191 wxPyEndAllowThreads(__tstate
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= SWIG_From_int(static_cast< int >(result
));
24201 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24202 PyObject
*resultobj
= 0;
24203 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24204 wxPaperSize result
;
24207 PyObject
*swig_obj
[1] ;
24209 if (!args
) SWIG_fail
;
24210 swig_obj
[0] = args
;
24211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24212 if (!SWIG_IsOK(res1
)) {
24213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24215 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24219 wxPyEndAllowThreads(__tstate
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24222 resultobj
= SWIG_From_int(static_cast< int >(result
));
24229 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24230 PyObject
*resultobj
= 0;
24231 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24232 wxSize
*result
= 0 ;
24235 PyObject
*swig_obj
[1] ;
24237 if (!args
) SWIG_fail
;
24238 swig_obj
[0] = args
;
24239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24240 if (!SWIG_IsOK(res1
)) {
24241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24243 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24248 result
= (wxSize
*) &_result_ref
;
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24260 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24261 PyObject
*resultobj
= 0;
24262 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24266 PyObject
*swig_obj
[1] ;
24268 if (!args
) SWIG_fail
;
24269 swig_obj
[0] = args
;
24270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24271 if (!SWIG_IsOK(res1
)) {
24272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24274 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 result
= (int)(arg1
)->GetQuality();
24278 wxPyEndAllowThreads(__tstate
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= SWIG_From_int(static_cast< int >(result
));
24288 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24289 PyObject
*resultobj
= 0;
24290 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24294 PyObject
*swig_obj
[1] ;
24296 if (!args
) SWIG_fail
;
24297 swig_obj
[0] = args
;
24298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24299 if (!SWIG_IsOK(res1
)) {
24300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24302 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= (wxPrintBin
)(arg1
)->GetBin();
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= SWIG_From_int(static_cast< int >(result
));
24316 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24317 PyObject
*resultobj
= 0;
24318 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24319 wxPrintMode result
;
24322 PyObject
*swig_obj
[1] ;
24324 if (!args
) SWIG_fail
;
24325 swig_obj
[0] = args
;
24326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24327 if (!SWIG_IsOK(res1
)) {
24328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24330 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24333 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= SWIG_From_int(static_cast< int >(result
));
24344 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24345 PyObject
*resultobj
= 0;
24346 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24350 PyObject
*swig_obj
[1] ;
24352 if (!args
) SWIG_fail
;
24353 swig_obj
[0] = args
;
24354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24355 if (!SWIG_IsOK(res1
)) {
24356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24358 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24361 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24365 resultobj
= SWIG_From_int(static_cast< int >(result
));
24372 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
= 0;
24374 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24380 PyObject
* obj0
= 0 ;
24381 PyObject
* obj1
= 0 ;
24382 char * kwnames
[] = {
24383 (char *) "self",(char *) "v", NULL
24386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24388 if (!SWIG_IsOK(res1
)) {
24389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24391 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24393 if (!SWIG_IsOK(ecode2
)) {
24394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24396 arg2
= static_cast< int >(val2
);
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24399 (arg1
)->SetNoCopies(arg2
);
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24403 resultobj
= SWIG_Py_Void();
24410 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24411 PyObject
*resultobj
= 0;
24412 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24418 PyObject
* obj0
= 0 ;
24419 PyObject
* obj1
= 0 ;
24420 char * kwnames
[] = {
24421 (char *) "self",(char *) "flag", NULL
24424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24426 if (!SWIG_IsOK(res1
)) {
24427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24429 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24430 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24431 if (!SWIG_IsOK(ecode2
)) {
24432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24434 arg2
= static_cast< bool >(val2
);
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 (arg1
)->SetCollate(arg2
);
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24441 resultobj
= SWIG_Py_Void();
24448 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
= 0;
24450 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24456 PyObject
* obj0
= 0 ;
24457 PyObject
* obj1
= 0 ;
24458 char * kwnames
[] = {
24459 (char *) "self",(char *) "orient", NULL
24462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24464 if (!SWIG_IsOK(res1
)) {
24465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24467 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24469 if (!SWIG_IsOK(ecode2
)) {
24470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24472 arg2
= static_cast< int >(val2
);
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 (arg1
)->SetOrientation(arg2
);
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 resultobj
= SWIG_Py_Void();
24486 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
= 0;
24488 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24494 PyObject
* obj0
= 0 ;
24495 PyObject
* obj1
= 0 ;
24496 char * kwnames
[] = {
24497 (char *) "self",(char *) "reversed", NULL
24500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24502 if (!SWIG_IsOK(res1
)) {
24503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24505 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24506 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24507 if (!SWIG_IsOK(ecode2
)) {
24508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24510 arg2
= static_cast< bool >(val2
);
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 (arg1
)->SetOrientationReversed(arg2
);
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= SWIG_Py_Void();
24524 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
= 0;
24526 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24527 wxString
*arg2
= 0 ;
24530 bool temp2
= false ;
24531 PyObject
* obj0
= 0 ;
24532 PyObject
* obj1
= 0 ;
24533 char * kwnames
[] = {
24534 (char *) "self",(char *) "name", NULL
24537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24539 if (!SWIG_IsOK(res1
)) {
24540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24542 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24544 arg2
= wxString_in_helper(obj1
);
24545 if (arg2
== NULL
) SWIG_fail
;
24549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24550 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= SWIG_Py_Void();
24569 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
= 0;
24571 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24577 PyObject
* obj0
= 0 ;
24578 PyObject
* obj1
= 0 ;
24579 char * kwnames
[] = {
24580 (char *) "self",(char *) "colour", NULL
24583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24585 if (!SWIG_IsOK(res1
)) {
24586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24588 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24589 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24590 if (!SWIG_IsOK(ecode2
)) {
24591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24593 arg2
= static_cast< bool >(val2
);
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 (arg1
)->SetColour(arg2
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 resultobj
= SWIG_Py_Void();
24607 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
= 0;
24609 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24610 wxDuplexMode arg2
;
24615 PyObject
* obj0
= 0 ;
24616 PyObject
* obj1
= 0 ;
24617 char * kwnames
[] = {
24618 (char *) "self",(char *) "duplex", NULL
24621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24623 if (!SWIG_IsOK(res1
)) {
24624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24626 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24628 if (!SWIG_IsOK(ecode2
)) {
24629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24631 arg2
= static_cast< wxDuplexMode
>(val2
);
24633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24634 (arg1
)->SetDuplex(arg2
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 resultobj
= SWIG_Py_Void();
24645 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
= 0;
24647 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24653 PyObject
* obj0
= 0 ;
24654 PyObject
* obj1
= 0 ;
24655 char * kwnames
[] = {
24656 (char *) "self",(char *) "sizeId", NULL
24659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24661 if (!SWIG_IsOK(res1
)) {
24662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24664 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24666 if (!SWIG_IsOK(ecode2
)) {
24667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24669 arg2
= static_cast< wxPaperSize
>(val2
);
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 (arg1
)->SetPaperId(arg2
);
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= SWIG_Py_Void();
24683 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
= 0;
24685 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char * kwnames
[] = {
24693 (char *) "self",(char *) "sz", NULL
24696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24698 if (!SWIG_IsOK(res1
)) {
24699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24701 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24704 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24709 wxPyEndAllowThreads(__tstate
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24712 resultobj
= SWIG_Py_Void();
24719 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24720 PyObject
*resultobj
= 0;
24721 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24727 PyObject
* obj0
= 0 ;
24728 PyObject
* obj1
= 0 ;
24729 char * kwnames
[] = {
24730 (char *) "self",(char *) "quality", NULL
24733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24735 if (!SWIG_IsOK(res1
)) {
24736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24738 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24740 if (!SWIG_IsOK(ecode2
)) {
24741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24743 arg2
= static_cast< int >(val2
);
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24746 (arg1
)->SetQuality(arg2
);
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 resultobj
= SWIG_Py_Void();
24757 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
= 0;
24759 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24765 PyObject
* obj0
= 0 ;
24766 PyObject
* obj1
= 0 ;
24767 char * kwnames
[] = {
24768 (char *) "self",(char *) "bin", NULL
24771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24773 if (!SWIG_IsOK(res1
)) {
24774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24776 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24778 if (!SWIG_IsOK(ecode2
)) {
24779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24781 arg2
= static_cast< wxPrintBin
>(val2
);
24783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24784 (arg1
)->SetBin(arg2
);
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24788 resultobj
= SWIG_Py_Void();
24795 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
= 0;
24797 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24803 PyObject
* obj0
= 0 ;
24804 PyObject
* obj1
= 0 ;
24805 char * kwnames
[] = {
24806 (char *) "self",(char *) "printMode", NULL
24809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24811 if (!SWIG_IsOK(res1
)) {
24812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24814 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24816 if (!SWIG_IsOK(ecode2
)) {
24817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24819 arg2
= static_cast< wxPrintMode
>(val2
);
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 (arg1
)->SetPrintMode(arg2
);
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 resultobj
= SWIG_Py_Void();
24833 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
= 0;
24835 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 char * kwnames
[] = {
24844 (char *) "self",(char *) "media", NULL
24847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24849 if (!SWIG_IsOK(res1
)) {
24850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24852 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24854 if (!SWIG_IsOK(ecode2
)) {
24855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24857 arg2
= static_cast< int >(val2
);
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 (arg1
)->SetMedia(arg2
);
24861 wxPyEndAllowThreads(__tstate
);
24862 if (PyErr_Occurred()) SWIG_fail
;
24864 resultobj
= SWIG_Py_Void();
24871 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24872 PyObject
*resultobj
= 0;
24873 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24877 PyObject
*swig_obj
[1] ;
24879 if (!args
) SWIG_fail
;
24880 swig_obj
[0] = args
;
24881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24882 if (!SWIG_IsOK(res1
)) {
24883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24885 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24905 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24906 PyObject
*resultobj
= 0;
24907 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24908 wxString
*arg2
= 0 ;
24911 bool temp2
= false ;
24912 PyObject
* obj0
= 0 ;
24913 PyObject
* obj1
= 0 ;
24914 char * kwnames
[] = {
24915 (char *) "self",(char *) "filename", NULL
24918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24920 if (!SWIG_IsOK(res1
)) {
24921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24923 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24925 arg2
= wxString_in_helper(obj1
);
24926 if (arg2
== NULL
) SWIG_fail
;
24930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24931 (arg1
)->SetFilename((wxString
const &)*arg2
);
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= SWIG_Py_Void();
24950 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24951 PyObject
*resultobj
= 0;
24952 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24953 PyObject
*result
= 0 ;
24956 PyObject
*swig_obj
[1] ;
24958 if (!args
) SWIG_fail
;
24959 swig_obj
[0] = args
;
24960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24961 if (!SWIG_IsOK(res1
)) {
24962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24964 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= result
;
24978 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24979 PyObject
*resultobj
= 0;
24980 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24981 PyObject
*arg2
= (PyObject
*) 0 ;
24984 PyObject
* obj0
= 0 ;
24985 PyObject
* obj1
= 0 ;
24986 char * kwnames
[] = {
24987 (char *) "self",(char *) "data", NULL
24990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24992 if (!SWIG_IsOK(res1
)) {
24993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24995 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 wxPrintData_SetPrivData(arg1
,arg2
);
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= SWIG_Py_Void();
25010 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25012 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25013 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
25014 return SWIG_Py_Void();
25017 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25018 return SWIG_Python_InitShadowInstance(args
);
25021 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25022 PyObject
*resultobj
= 0;
25023 wxPageSetupDialogData
*result
= 0 ;
25025 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
25029 wxPyEndAllowThreads(__tstate
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25039 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25040 PyObject
*resultobj
= 0;
25041 wxPageSetupDialogData
*arg1
= 0 ;
25042 wxPageSetupDialogData
*result
= 0 ;
25046 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
25048 if (!SWIG_IsOK(res1
)) {
25049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
25054 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25068 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25069 PyObject
*resultobj
= 0;
25070 wxPrintData
*arg1
= 0 ;
25071 wxPageSetupDialogData
*result
= 0 ;
25075 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25077 if (!SWIG_IsOK(res1
)) {
25078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25083 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
25097 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
25101 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
25104 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
25109 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
25110 _v
= SWIG_CheckState(res
);
25112 if (!_v
) goto check_2
;
25113 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
25118 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
25122 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
25127 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25128 PyObject
*resultobj
= 0;
25129 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25132 PyObject
*swig_obj
[1] ;
25134 if (!args
) SWIG_fail
;
25135 swig_obj
[0] = args
;
25136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
25137 if (!SWIG_IsOK(res1
)) {
25138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25140 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25148 resultobj
= SWIG_Py_Void();
25155 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
= 0;
25157 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25163 PyObject
* obj0
= 0 ;
25164 PyObject
* obj1
= 0 ;
25165 char * kwnames
[] = {
25166 (char *) "self",(char *) "flag", NULL
25169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25171 if (!SWIG_IsOK(res1
)) {
25172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25174 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25175 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25176 if (!SWIG_IsOK(ecode2
)) {
25177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25179 arg2
= static_cast< bool >(val2
);
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 (arg1
)->EnableHelp(arg2
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_Py_Void();
25193 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
= 0;
25195 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25201 PyObject
* obj0
= 0 ;
25202 PyObject
* obj1
= 0 ;
25203 char * kwnames
[] = {
25204 (char *) "self",(char *) "flag", NULL
25207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25209 if (!SWIG_IsOK(res1
)) {
25210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25212 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25213 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25214 if (!SWIG_IsOK(ecode2
)) {
25215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25217 arg2
= static_cast< bool >(val2
);
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 (arg1
)->EnableMargins(arg2
);
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= SWIG_Py_Void();
25231 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
= 0;
25233 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25239 PyObject
* obj0
= 0 ;
25240 PyObject
* obj1
= 0 ;
25241 char * kwnames
[] = {
25242 (char *) "self",(char *) "flag", NULL
25245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25247 if (!SWIG_IsOK(res1
)) {
25248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25250 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25251 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25252 if (!SWIG_IsOK(ecode2
)) {
25253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25255 arg2
= static_cast< bool >(val2
);
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 (arg1
)->EnableOrientation(arg2
);
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 resultobj
= SWIG_Py_Void();
25269 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
= 0;
25271 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25277 PyObject
* obj0
= 0 ;
25278 PyObject
* obj1
= 0 ;
25279 char * kwnames
[] = {
25280 (char *) "self",(char *) "flag", NULL
25283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25285 if (!SWIG_IsOK(res1
)) {
25286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25288 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25289 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25290 if (!SWIG_IsOK(ecode2
)) {
25291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25293 arg2
= static_cast< bool >(val2
);
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 (arg1
)->EnablePaper(arg2
);
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= SWIG_Py_Void();
25307 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25308 PyObject
*resultobj
= 0;
25309 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25315 PyObject
* obj0
= 0 ;
25316 PyObject
* obj1
= 0 ;
25317 char * kwnames
[] = {
25318 (char *) "self",(char *) "flag", NULL
25321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",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_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25326 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25327 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25328 if (!SWIG_IsOK(ecode2
)) {
25329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25331 arg2
= static_cast< bool >(val2
);
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 (arg1
)->EnablePrinter(arg2
);
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25338 resultobj
= SWIG_Py_Void();
25345 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25346 PyObject
*resultobj
= 0;
25347 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25351 PyObject
*swig_obj
[1] ;
25353 if (!args
) SWIG_fail
;
25354 swig_obj
[0] = args
;
25355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25356 if (!SWIG_IsOK(res1
)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25359 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 result
= (bool)(arg1
)->GetDefaultMinMargins();
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25375 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25376 PyObject
*resultobj
= 0;
25377 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25381 PyObject
*swig_obj
[1] ;
25383 if (!args
) SWIG_fail
;
25384 swig_obj
[0] = args
;
25385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25386 if (!SWIG_IsOK(res1
)) {
25387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25389 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 result
= (bool)(arg1
)->GetEnableMargins();
25393 wxPyEndAllowThreads(__tstate
);
25394 if (PyErr_Occurred()) SWIG_fail
;
25397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25405 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25406 PyObject
*resultobj
= 0;
25407 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25411 PyObject
*swig_obj
[1] ;
25413 if (!args
) SWIG_fail
;
25414 swig_obj
[0] = args
;
25415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25416 if (!SWIG_IsOK(res1
)) {
25417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25419 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 result
= (bool)(arg1
)->GetEnableOrientation();
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25435 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25436 PyObject
*resultobj
= 0;
25437 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25441 PyObject
*swig_obj
[1] ;
25443 if (!args
) SWIG_fail
;
25444 swig_obj
[0] = args
;
25445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25446 if (!SWIG_IsOK(res1
)) {
25447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25449 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 result
= (bool)(arg1
)->GetEnablePaper();
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25465 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25466 PyObject
*resultobj
= 0;
25467 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25471 PyObject
*swig_obj
[1] ;
25473 if (!args
) SWIG_fail
;
25474 swig_obj
[0] = args
;
25475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25476 if (!SWIG_IsOK(res1
)) {
25477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25479 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25482 result
= (bool)(arg1
)->GetEnablePrinter();
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25495 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25496 PyObject
*resultobj
= 0;
25497 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25501 PyObject
*swig_obj
[1] ;
25503 if (!args
) SWIG_fail
;
25504 swig_obj
[0] = args
;
25505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25506 if (!SWIG_IsOK(res1
)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25509 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 result
= (bool)(arg1
)->GetEnableHelp();
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25525 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25526 PyObject
*resultobj
= 0;
25527 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25531 PyObject
*swig_obj
[1] ;
25533 if (!args
) SWIG_fail
;
25534 swig_obj
[0] = args
;
25535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25536 if (!SWIG_IsOK(res1
)) {
25537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25539 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 result
= (bool)(arg1
)->GetDefaultInfo();
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25555 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25556 PyObject
*resultobj
= 0;
25557 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25561 PyObject
*swig_obj
[1] ;
25563 if (!args
) SWIG_fail
;
25564 swig_obj
[0] = args
;
25565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25566 if (!SWIG_IsOK(res1
)) {
25567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25569 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= (arg1
)->GetMarginTopLeft();
25573 wxPyEndAllowThreads(__tstate
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25576 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25583 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25584 PyObject
*resultobj
= 0;
25585 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25589 PyObject
*swig_obj
[1] ;
25591 if (!args
) SWIG_fail
;
25592 swig_obj
[0] = args
;
25593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25594 if (!SWIG_IsOK(res1
)) {
25595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25597 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 result
= (arg1
)->GetMarginBottomRight();
25601 wxPyEndAllowThreads(__tstate
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25604 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25611 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25612 PyObject
*resultobj
= 0;
25613 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25617 PyObject
*swig_obj
[1] ;
25619 if (!args
) SWIG_fail
;
25620 swig_obj
[0] = args
;
25621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25622 if (!SWIG_IsOK(res1
)) {
25623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25625 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 result
= (arg1
)->GetMinMarginTopLeft();
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25639 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25640 PyObject
*resultobj
= 0;
25641 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25645 PyObject
*swig_obj
[1] ;
25647 if (!args
) SWIG_fail
;
25648 swig_obj
[0] = args
;
25649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25650 if (!SWIG_IsOK(res1
)) {
25651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25653 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25656 result
= (arg1
)->GetMinMarginBottomRight();
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25667 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25668 PyObject
*resultobj
= 0;
25669 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25670 wxPaperSize result
;
25673 PyObject
*swig_obj
[1] ;
25675 if (!args
) SWIG_fail
;
25676 swig_obj
[0] = args
;
25677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25678 if (!SWIG_IsOK(res1
)) {
25679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25681 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_From_int(static_cast< int >(result
));
25695 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25696 PyObject
*resultobj
= 0;
25697 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25701 PyObject
*swig_obj
[1] ;
25703 if (!args
) SWIG_fail
;
25704 swig_obj
[0] = args
;
25705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25706 if (!SWIG_IsOK(res1
)) {
25707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25709 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 result
= (arg1
)->GetPaperSize();
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25723 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25724 PyObject
*resultobj
= 0;
25725 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25726 wxPrintData
*result
= 0 ;
25729 PyObject
*swig_obj
[1] ;
25731 if (!args
) SWIG_fail
;
25732 swig_obj
[0] = args
;
25733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25734 if (!SWIG_IsOK(res1
)) {
25735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25737 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25741 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25742 result
= (wxPrintData
*) &_result_ref
;
25744 wxPyEndAllowThreads(__tstate
);
25745 if (PyErr_Occurred()) SWIG_fail
;
25747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25754 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25755 PyObject
*resultobj
= 0;
25756 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25760 PyObject
*swig_obj
[1] ;
25762 if (!args
) SWIG_fail
;
25763 swig_obj
[0] = args
;
25764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25765 if (!SWIG_IsOK(res1
)) {
25766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25768 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25771 result
= (bool)(arg1
)->IsOk();
25772 wxPyEndAllowThreads(__tstate
);
25773 if (PyErr_Occurred()) SWIG_fail
;
25776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25784 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
= 0;
25786 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25792 PyObject
* obj0
= 0 ;
25793 PyObject
* obj1
= 0 ;
25794 char * kwnames
[] = {
25795 (char *) "self",(char *) "flag", NULL
25798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25800 if (!SWIG_IsOK(res1
)) {
25801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25803 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25804 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25805 if (!SWIG_IsOK(ecode2
)) {
25806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25808 arg2
= static_cast< bool >(val2
);
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 (arg1
)->SetDefaultInfo(arg2
);
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25815 resultobj
= SWIG_Py_Void();
25822 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25823 PyObject
*resultobj
= 0;
25824 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25830 PyObject
* obj0
= 0 ;
25831 PyObject
* obj1
= 0 ;
25832 char * kwnames
[] = {
25833 (char *) "self",(char *) "flag", NULL
25836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25838 if (!SWIG_IsOK(res1
)) {
25839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25841 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25842 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25843 if (!SWIG_IsOK(ecode2
)) {
25844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25846 arg2
= static_cast< bool >(val2
);
25848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25849 (arg1
)->SetDefaultMinMargins(arg2
);
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25853 resultobj
= SWIG_Py_Void();
25860 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25861 PyObject
*resultobj
= 0;
25862 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25863 wxPoint
*arg2
= 0 ;
25867 PyObject
* obj0
= 0 ;
25868 PyObject
* obj1
= 0 ;
25869 char * kwnames
[] = {
25870 (char *) "self",(char *) "pt", NULL
25873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25875 if (!SWIG_IsOK(res1
)) {
25876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25878 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25881 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 resultobj
= SWIG_Py_Void();
25896 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
= 0;
25898 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25899 wxPoint
*arg2
= 0 ;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 char * kwnames
[] = {
25906 (char *) "self",(char *) "pt", NULL
25909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25911 if (!SWIG_IsOK(res1
)) {
25912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25914 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25925 resultobj
= SWIG_Py_Void();
25932 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
= 0;
25934 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25935 wxPoint
*arg2
= 0 ;
25939 PyObject
* obj0
= 0 ;
25940 PyObject
* obj1
= 0 ;
25941 char * kwnames
[] = {
25942 (char *) "self",(char *) "pt", NULL
25945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25947 if (!SWIG_IsOK(res1
)) {
25948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25950 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25953 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25958 wxPyEndAllowThreads(__tstate
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25961 resultobj
= SWIG_Py_Void();
25968 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
= 0;
25970 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25971 wxPoint
*arg2
= 0 ;
25975 PyObject
* obj0
= 0 ;
25976 PyObject
* obj1
= 0 ;
25977 char * kwnames
[] = {
25978 (char *) "self",(char *) "pt", NULL
25981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25983 if (!SWIG_IsOK(res1
)) {
25984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25986 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25989 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25997 resultobj
= SWIG_Py_Void();
26004 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
= 0;
26006 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26012 PyObject
* obj0
= 0 ;
26013 PyObject
* obj1
= 0 ;
26014 char * kwnames
[] = {
26015 (char *) "self",(char *) "id", NULL
26018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26020 if (!SWIG_IsOK(res1
)) {
26021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26023 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26025 if (!SWIG_IsOK(ecode2
)) {
26026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26028 arg2
= static_cast< wxPaperSize
>(val2
);
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26031 (arg1
)->SetPaperId(arg2
);
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 resultobj
= SWIG_Py_Void();
26042 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
= 0;
26044 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 char * kwnames
[] = {
26052 (char *) "self",(char *) "size", NULL
26055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26057 if (!SWIG_IsOK(res1
)) {
26058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26060 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26063 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 resultobj
= SWIG_Py_Void();
26078 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
= 0;
26080 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26081 wxPrintData
*arg2
= 0 ;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 char * kwnames
[] = {
26089 (char *) "self",(char *) "printData", NULL
26092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26094 if (!SWIG_IsOK(res1
)) {
26095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26097 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26099 if (!SWIG_IsOK(res2
)) {
26100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26105 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26108 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26109 wxPyEndAllowThreads(__tstate
);
26110 if (PyErr_Occurred()) SWIG_fail
;
26112 resultobj
= SWIG_Py_Void();
26119 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26120 PyObject
*resultobj
= 0;
26121 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26124 PyObject
*swig_obj
[1] ;
26126 if (!args
) SWIG_fail
;
26127 swig_obj
[0] = args
;
26128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26129 if (!SWIG_IsOK(res1
)) {
26130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26132 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->CalculateIdFromPaperSize();
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= SWIG_Py_Void();
26146 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26147 PyObject
*resultobj
= 0;
26148 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
26151 PyObject
*swig_obj
[1] ;
26153 if (!args
) SWIG_fail
;
26154 swig_obj
[0] = args
;
26155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26156 if (!SWIG_IsOK(res1
)) {
26157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26159 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 (arg1
)->CalculatePaperSizeFromId();
26163 wxPyEndAllowThreads(__tstate
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= SWIG_Py_Void();
26173 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26176 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
26177 return SWIG_Py_Void();
26180 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26181 return SWIG_Python_InitShadowInstance(args
);
26184 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
= 0;
26186 wxWindow
*arg1
= (wxWindow
*) 0 ;
26187 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
26188 wxPageSetupDialog
*result
= 0 ;
26193 PyObject
* obj0
= 0 ;
26194 PyObject
* obj1
= 0 ;
26195 char * kwnames
[] = {
26196 (char *) "parent",(char *) "data", NULL
26199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26201 if (!SWIG_IsOK(res1
)) {
26202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26204 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26207 if (!SWIG_IsOK(res2
)) {
26208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26210 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26213 if (!wxPyCheckForApp()) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26226 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26227 PyObject
*resultobj
= 0;
26228 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26231 PyObject
*swig_obj
[1] ;
26233 if (!args
) SWIG_fail
;
26234 swig_obj
[0] = args
;
26235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26236 if (!SWIG_IsOK(res1
)) {
26237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26239 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26247 resultobj
= SWIG_Py_Void();
26254 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26255 PyObject
*resultobj
= 0;
26256 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26257 wxPageSetupDialogData
*result
= 0 ;
26260 PyObject
*swig_obj
[1] ;
26262 if (!args
) SWIG_fail
;
26263 swig_obj
[0] = args
;
26264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26265 if (!SWIG_IsOK(res1
)) {
26266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26268 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26272 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26273 result
= (wxPageSetupDialogData
*) &_result_ref
;
26275 wxPyEndAllowThreads(__tstate
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26285 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26286 PyObject
*resultobj
= 0;
26287 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26288 wxPageSetupDialogData
*result
= 0 ;
26291 PyObject
*swig_obj
[1] ;
26293 if (!args
) SWIG_fail
;
26294 swig_obj
[0] = args
;
26295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26296 if (!SWIG_IsOK(res1
)) {
26297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26299 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26304 result
= (wxPageSetupDialogData
*) &_result_ref
;
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26316 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26317 PyObject
*resultobj
= 0;
26318 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26322 PyObject
*swig_obj
[1] ;
26324 if (!args
) SWIG_fail
;
26325 swig_obj
[0] = args
;
26326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26327 if (!SWIG_IsOK(res1
)) {
26328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26330 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 result
= (int)(arg1
)->ShowModal();
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= SWIG_From_int(static_cast< int >(result
));
26344 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26347 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26348 return SWIG_Py_Void();
26351 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26352 return SWIG_Python_InitShadowInstance(args
);
26355 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26356 PyObject
*resultobj
= 0;
26357 wxPrintDialogData
*result
= 0 ;
26359 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26373 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26374 PyObject
*resultobj
= 0;
26375 wxPrintData
*arg1
= 0 ;
26376 wxPrintDialogData
*result
= 0 ;
26380 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26382 if (!SWIG_IsOK(res1
)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26388 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26392 wxPyEndAllowThreads(__tstate
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26402 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26403 PyObject
*resultobj
= 0;
26404 wxPrintDialogData
*arg1
= 0 ;
26405 wxPrintDialogData
*result
= 0 ;
26409 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26411 if (!SWIG_IsOK(res1
)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26417 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26420 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26431 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26435 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26438 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26443 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26444 _v
= SWIG_CheckState(res
);
26446 if (!_v
) goto check_2
;
26447 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26452 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26456 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26461 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26462 PyObject
*resultobj
= 0;
26463 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26466 PyObject
*swig_obj
[1] ;
26468 if (!args
) SWIG_fail
;
26469 swig_obj
[0] = args
;
26470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26471 if (!SWIG_IsOK(res1
)) {
26472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26474 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 resultobj
= SWIG_Py_Void();
26489 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26490 PyObject
*resultobj
= 0;
26491 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26495 PyObject
*swig_obj
[1] ;
26497 if (!args
) SWIG_fail
;
26498 swig_obj
[0] = args
;
26499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26500 if (!SWIG_IsOK(res1
)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26503 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= SWIG_From_int(static_cast< int >(result
));
26517 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26518 PyObject
*resultobj
= 0;
26519 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26523 PyObject
*swig_obj
[1] ;
26525 if (!args
) SWIG_fail
;
26526 swig_obj
[0] = args
;
26527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26528 if (!SWIG_IsOK(res1
)) {
26529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26531 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26538 resultobj
= SWIG_From_int(static_cast< int >(result
));
26545 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26546 PyObject
*resultobj
= 0;
26547 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26551 PyObject
*swig_obj
[1] ;
26553 if (!args
) SWIG_fail
;
26554 swig_obj
[0] = args
;
26555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26556 if (!SWIG_IsOK(res1
)) {
26557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26559 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26562 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26566 resultobj
= SWIG_From_int(static_cast< int >(result
));
26573 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26574 PyObject
*resultobj
= 0;
26575 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26579 PyObject
*swig_obj
[1] ;
26581 if (!args
) SWIG_fail
;
26582 swig_obj
[0] = args
;
26583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26584 if (!SWIG_IsOK(res1
)) {
26585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26587 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= SWIG_From_int(static_cast< int >(result
));
26601 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26602 PyObject
*resultobj
= 0;
26603 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26607 PyObject
*swig_obj
[1] ;
26609 if (!args
) SWIG_fail
;
26610 swig_obj
[0] = args
;
26611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26612 if (!SWIG_IsOK(res1
)) {
26613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26615 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26622 resultobj
= SWIG_From_int(static_cast< int >(result
));
26629 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26630 PyObject
*resultobj
= 0;
26631 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26635 PyObject
*swig_obj
[1] ;
26637 if (!args
) SWIG_fail
;
26638 swig_obj
[0] = args
;
26639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26640 if (!SWIG_IsOK(res1
)) {
26641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26643 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26659 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26660 PyObject
*resultobj
= 0;
26661 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26665 PyObject
*swig_obj
[1] ;
26667 if (!args
) SWIG_fail
;
26668 swig_obj
[0] = args
;
26669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26670 if (!SWIG_IsOK(res1
)) {
26671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26673 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26689 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26690 PyObject
*resultobj
= 0;
26691 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26695 PyObject
*swig_obj
[1] ;
26697 if (!args
) SWIG_fail
;
26698 swig_obj
[0] = args
;
26699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26700 if (!SWIG_IsOK(res1
)) {
26701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26703 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26706 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26719 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26720 PyObject
*resultobj
= 0;
26721 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26725 PyObject
*swig_obj
[1] ;
26727 if (!args
) SWIG_fail
;
26728 swig_obj
[0] = args
;
26729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26730 if (!SWIG_IsOK(res1
)) {
26731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26733 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26749 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26750 PyObject
*resultobj
= 0;
26751 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26757 PyObject
* obj0
= 0 ;
26758 PyObject
* obj1
= 0 ;
26759 char * kwnames
[] = {
26760 (char *) "self",(char *) "v", NULL
26763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26765 if (!SWIG_IsOK(res1
)) {
26766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26768 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26770 if (!SWIG_IsOK(ecode2
)) {
26771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26773 arg2
= static_cast< int >(val2
);
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 (arg1
)->SetFromPage(arg2
);
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26780 resultobj
= SWIG_Py_Void();
26787 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
= 0;
26789 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26795 PyObject
* obj0
= 0 ;
26796 PyObject
* obj1
= 0 ;
26797 char * kwnames
[] = {
26798 (char *) "self",(char *) "v", NULL
26801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26803 if (!SWIG_IsOK(res1
)) {
26804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26806 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26808 if (!SWIG_IsOK(ecode2
)) {
26809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26811 arg2
= static_cast< int >(val2
);
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 (arg1
)->SetToPage(arg2
);
26815 wxPyEndAllowThreads(__tstate
);
26816 if (PyErr_Occurred()) SWIG_fail
;
26818 resultobj
= SWIG_Py_Void();
26825 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26826 PyObject
*resultobj
= 0;
26827 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26833 PyObject
* obj0
= 0 ;
26834 PyObject
* obj1
= 0 ;
26835 char * kwnames
[] = {
26836 (char *) "self",(char *) "v", NULL
26839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26841 if (!SWIG_IsOK(res1
)) {
26842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26844 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26846 if (!SWIG_IsOK(ecode2
)) {
26847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26849 arg2
= static_cast< int >(val2
);
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 (arg1
)->SetMinPage(arg2
);
26853 wxPyEndAllowThreads(__tstate
);
26854 if (PyErr_Occurred()) SWIG_fail
;
26856 resultobj
= SWIG_Py_Void();
26863 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26864 PyObject
*resultobj
= 0;
26865 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26871 PyObject
* obj0
= 0 ;
26872 PyObject
* obj1
= 0 ;
26873 char * kwnames
[] = {
26874 (char *) "self",(char *) "v", NULL
26877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26879 if (!SWIG_IsOK(res1
)) {
26880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26882 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26884 if (!SWIG_IsOK(ecode2
)) {
26885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26887 arg2
= static_cast< int >(val2
);
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 (arg1
)->SetMaxPage(arg2
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 resultobj
= SWIG_Py_Void();
26901 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
= 0;
26903 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26909 PyObject
* obj0
= 0 ;
26910 PyObject
* obj1
= 0 ;
26911 char * kwnames
[] = {
26912 (char *) "self",(char *) "v", NULL
26915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26917 if (!SWIG_IsOK(res1
)) {
26918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26920 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26922 if (!SWIG_IsOK(ecode2
)) {
26923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26925 arg2
= static_cast< int >(val2
);
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 (arg1
)->SetNoCopies(arg2
);
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= SWIG_Py_Void();
26939 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26940 PyObject
*resultobj
= 0;
26941 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 char * kwnames
[] = {
26950 (char *) "self",(char *) "flag", NULL
26953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26955 if (!SWIG_IsOK(res1
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26958 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26959 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26960 if (!SWIG_IsOK(ecode2
)) {
26961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26963 arg2
= static_cast< bool >(val2
);
26965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26966 (arg1
)->SetAllPages(arg2
);
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 resultobj
= SWIG_Py_Void();
26977 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
= 0;
26979 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26985 PyObject
* obj0
= 0 ;
26986 PyObject
* obj1
= 0 ;
26987 char * kwnames
[] = {
26988 (char *) "self",(char *) "flag", NULL
26991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26993 if (!SWIG_IsOK(res1
)) {
26994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26996 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26997 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26998 if (!SWIG_IsOK(ecode2
)) {
26999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
27001 arg2
= static_cast< bool >(val2
);
27003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27004 (arg1
)->SetSelection(arg2
);
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= SWIG_Py_Void();
27015 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
= 0;
27017 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27023 PyObject
* obj0
= 0 ;
27024 PyObject
* obj1
= 0 ;
27025 char * kwnames
[] = {
27026 (char *) "self",(char *) "flag", NULL
27029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27031 if (!SWIG_IsOK(res1
)) {
27032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27034 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27035 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27036 if (!SWIG_IsOK(ecode2
)) {
27037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
27039 arg2
= static_cast< bool >(val2
);
27041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 (arg1
)->SetCollate(arg2
);
27043 wxPyEndAllowThreads(__tstate
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= SWIG_Py_Void();
27053 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
= 0;
27055 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27061 PyObject
* obj0
= 0 ;
27062 PyObject
* obj1
= 0 ;
27063 char * kwnames
[] = {
27064 (char *) "self",(char *) "flag", NULL
27067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27069 if (!SWIG_IsOK(res1
)) {
27070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27072 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27073 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27074 if (!SWIG_IsOK(ecode2
)) {
27075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27077 arg2
= static_cast< bool >(val2
);
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 (arg1
)->SetPrintToFile(arg2
);
27081 wxPyEndAllowThreads(__tstate
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27084 resultobj
= SWIG_Py_Void();
27091 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27092 PyObject
*resultobj
= 0;
27093 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27099 PyObject
* obj0
= 0 ;
27100 PyObject
* obj1
= 0 ;
27101 char * kwnames
[] = {
27102 (char *) "self",(char *) "flag", NULL
27105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27107 if (!SWIG_IsOK(res1
)) {
27108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27110 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27111 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27112 if (!SWIG_IsOK(ecode2
)) {
27113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27115 arg2
= static_cast< bool >(val2
);
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 (arg1
)->EnablePrintToFile(arg2
);
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27122 resultobj
= SWIG_Py_Void();
27129 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
= 0;
27131 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27137 PyObject
* obj0
= 0 ;
27138 PyObject
* obj1
= 0 ;
27139 char * kwnames
[] = {
27140 (char *) "self",(char *) "flag", NULL
27143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27145 if (!SWIG_IsOK(res1
)) {
27146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27148 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27149 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27150 if (!SWIG_IsOK(ecode2
)) {
27151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27153 arg2
= static_cast< bool >(val2
);
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27156 (arg1
)->EnableSelection(arg2
);
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 resultobj
= SWIG_Py_Void();
27167 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
= 0;
27169 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27175 PyObject
* obj0
= 0 ;
27176 PyObject
* obj1
= 0 ;
27177 char * kwnames
[] = {
27178 (char *) "self",(char *) "flag", NULL
27181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27183 if (!SWIG_IsOK(res1
)) {
27184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27186 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27187 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27188 if (!SWIG_IsOK(ecode2
)) {
27189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27191 arg2
= static_cast< bool >(val2
);
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 (arg1
)->EnablePageNumbers(arg2
);
27195 wxPyEndAllowThreads(__tstate
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= SWIG_Py_Void();
27205 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27206 PyObject
*resultobj
= 0;
27207 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 char * kwnames
[] = {
27216 (char *) "self",(char *) "flag", NULL
27219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27221 if (!SWIG_IsOK(res1
)) {
27222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27224 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27225 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27226 if (!SWIG_IsOK(ecode2
)) {
27227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27229 arg2
= static_cast< bool >(val2
);
27231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27232 (arg1
)->EnableHelp(arg2
);
27233 wxPyEndAllowThreads(__tstate
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27236 resultobj
= SWIG_Py_Void();
27243 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27244 PyObject
*resultobj
= 0;
27245 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27249 PyObject
*swig_obj
[1] ;
27251 if (!args
) SWIG_fail
;
27252 swig_obj
[0] = args
;
27253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27254 if (!SWIG_IsOK(res1
)) {
27255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27257 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27273 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27274 PyObject
*resultobj
= 0;
27275 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27279 PyObject
*swig_obj
[1] ;
27281 if (!args
) SWIG_fail
;
27282 swig_obj
[0] = args
;
27283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27284 if (!SWIG_IsOK(res1
)) {
27285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27287 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27303 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27304 PyObject
*resultobj
= 0;
27305 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27309 PyObject
*swig_obj
[1] ;
27311 if (!args
) SWIG_fail
;
27312 swig_obj
[0] = args
;
27313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27314 if (!SWIG_IsOK(res1
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27317 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27321 wxPyEndAllowThreads(__tstate
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27333 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27334 PyObject
*resultobj
= 0;
27335 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27339 PyObject
*swig_obj
[1] ;
27341 if (!args
) SWIG_fail
;
27342 swig_obj
[0] = args
;
27343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27344 if (!SWIG_IsOK(res1
)) {
27345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27347 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27363 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27364 PyObject
*resultobj
= 0;
27365 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27369 PyObject
*swig_obj
[1] ;
27371 if (!args
) SWIG_fail
;
27372 swig_obj
[0] = args
;
27373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27374 if (!SWIG_IsOK(res1
)) {
27375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27377 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27393 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27394 PyObject
*resultobj
= 0;
27395 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27396 wxPrintData
*result
= 0 ;
27399 PyObject
*swig_obj
[1] ;
27401 if (!args
) SWIG_fail
;
27402 swig_obj
[0] = args
;
27403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27404 if (!SWIG_IsOK(res1
)) {
27405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27407 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27412 result
= (wxPrintData
*) &_result_ref
;
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27424 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
= 0;
27426 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27427 wxPrintData
*arg2
= 0 ;
27432 PyObject
* obj0
= 0 ;
27433 PyObject
* obj1
= 0 ;
27434 char * kwnames
[] = {
27435 (char *) "self",(char *) "printData", NULL
27438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27440 if (!SWIG_IsOK(res1
)) {
27441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27443 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27444 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27445 if (!SWIG_IsOK(res2
)) {
27446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27451 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27454 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27455 wxPyEndAllowThreads(__tstate
);
27456 if (PyErr_Occurred()) SWIG_fail
;
27458 resultobj
= SWIG_Py_Void();
27465 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27468 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27469 return SWIG_Py_Void();
27472 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27473 return SWIG_Python_InitShadowInstance(args
);
27476 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27477 PyObject
*resultobj
= 0;
27478 wxWindow
*arg1
= (wxWindow
*) 0 ;
27479 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27480 wxPrintDialog
*result
= 0 ;
27485 PyObject
* obj0
= 0 ;
27486 PyObject
* obj1
= 0 ;
27487 char * kwnames
[] = {
27488 (char *) "parent",(char *) "data", NULL
27491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27493 if (!SWIG_IsOK(res1
)) {
27494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27496 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27499 if (!SWIG_IsOK(res2
)) {
27500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27502 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27505 if (!wxPyCheckForApp()) SWIG_fail
;
27506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27518 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27519 PyObject
*resultobj
= 0;
27520 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27523 PyObject
*swig_obj
[1] ;
27525 if (!args
) SWIG_fail
;
27526 swig_obj
[0] = args
;
27527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27528 if (!SWIG_IsOK(res1
)) {
27529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27531 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27539 resultobj
= SWIG_Py_Void();
27546 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27547 PyObject
*resultobj
= 0;
27548 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27552 PyObject
*swig_obj
[1] ;
27554 if (!args
) SWIG_fail
;
27555 swig_obj
[0] = args
;
27556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27557 if (!SWIG_IsOK(res1
)) {
27558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27560 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 result
= (int)(arg1
)->ShowModal();
27564 wxPyEndAllowThreads(__tstate
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27567 resultobj
= SWIG_From_int(static_cast< int >(result
));
27574 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27575 PyObject
*resultobj
= 0;
27576 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27577 wxPrintDialogData
*result
= 0 ;
27580 PyObject
*swig_obj
[1] ;
27582 if (!args
) SWIG_fail
;
27583 swig_obj
[0] = args
;
27584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27585 if (!SWIG_IsOK(res1
)) {
27586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27588 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27592 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27593 result
= (wxPrintDialogData
*) &_result_ref
;
27595 wxPyEndAllowThreads(__tstate
);
27596 if (PyErr_Occurred()) SWIG_fail
;
27598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27605 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27606 PyObject
*resultobj
= 0;
27607 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27608 wxPrintData
*result
= 0 ;
27611 PyObject
*swig_obj
[1] ;
27613 if (!args
) SWIG_fail
;
27614 swig_obj
[0] = args
;
27615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27616 if (!SWIG_IsOK(res1
)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27619 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27624 result
= (wxPrintData
*) &_result_ref
;
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27636 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27637 PyObject
*resultobj
= 0;
27638 wxPrintDialog
*arg1
= (wxPrintDialog
*) 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_wxPrintDialog
, 0 | 0 );
27647 if (!SWIG_IsOK(res1
)) {
27648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27650 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27653 result
= (wxDC
*)(arg1
)->GetPrintDC();
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27658 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27666 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27669 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27670 return SWIG_Py_Void();
27673 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27674 return SWIG_Python_InitShadowInstance(args
);
27677 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
= 0;
27679 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27680 wxPrinter
*result
= 0 ;
27683 PyObject
* obj0
= 0 ;
27684 char * kwnames
[] = {
27685 (char *) "data", NULL
27688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27691 if (!SWIG_IsOK(res1
)) {
27692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27694 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27697 if (!wxPyCheckForApp()) SWIG_fail
;
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 result
= (wxPrinter
*)new wxPrinter(arg1
);
27700 wxPyEndAllowThreads(__tstate
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27710 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 PyObject
*resultobj
= 0;
27712 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27715 PyObject
*swig_obj
[1] ;
27717 if (!args
) SWIG_fail
;
27718 swig_obj
[0] = args
;
27719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27720 if (!SWIG_IsOK(res1
)) {
27721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27723 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27728 wxPyEndAllowThreads(__tstate
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27731 resultobj
= SWIG_Py_Void();
27738 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27739 PyObject
*resultobj
= 0;
27740 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27741 wxWindow
*arg2
= (wxWindow
*) 0 ;
27742 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27743 wxWindow
*result
= 0 ;
27750 PyObject
* obj0
= 0 ;
27751 PyObject
* obj1
= 0 ;
27752 PyObject
* obj2
= 0 ;
27753 char * kwnames
[] = {
27754 (char *) "self",(char *) "parent",(char *) "printout", NULL
27757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27759 if (!SWIG_IsOK(res1
)) {
27760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27762 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27764 if (!SWIG_IsOK(res2
)) {
27765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27767 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27768 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27769 if (!SWIG_IsOK(res3
)) {
27770 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27772 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27775 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27776 wxPyEndAllowThreads(__tstate
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27780 resultobj
= wxPyMake_wxObject(result
, 0);
27788 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27789 PyObject
*resultobj
= 0;
27790 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27791 wxWindow
*arg2
= (wxWindow
*) 0 ;
27792 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27793 wxString
*arg4
= 0 ;
27800 bool temp4
= false ;
27801 PyObject
* obj0
= 0 ;
27802 PyObject
* obj1
= 0 ;
27803 PyObject
* obj2
= 0 ;
27804 PyObject
* obj3
= 0 ;
27805 char * kwnames
[] = {
27806 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27811 if (!SWIG_IsOK(res1
)) {
27812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27814 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27816 if (!SWIG_IsOK(res2
)) {
27817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27819 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27820 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27821 if (!SWIG_IsOK(res3
)) {
27822 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27824 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27826 arg4
= wxString_in_helper(obj3
);
27827 if (arg4
== NULL
) SWIG_fail
;
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27836 resultobj
= SWIG_Py_Void();
27851 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
= 0;
27853 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27854 wxWindow
*arg2
= (wxWindow
*) 0 ;
27860 PyObject
* obj0
= 0 ;
27861 PyObject
* obj1
= 0 ;
27862 char * kwnames
[] = {
27863 (char *) "self",(char *) "parent", NULL
27866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27868 if (!SWIG_IsOK(res1
)) {
27869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27871 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27872 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27873 if (!SWIG_IsOK(res2
)) {
27874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27876 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27879 result
= (bool)(arg1
)->Setup(arg2
);
27880 wxPyEndAllowThreads(__tstate
);
27881 if (PyErr_Occurred()) SWIG_fail
;
27884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27892 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
= 0;
27894 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27895 wxWindow
*arg2
= (wxWindow
*) 0 ;
27896 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27897 bool arg4
= (bool) true ;
27907 PyObject
* obj0
= 0 ;
27908 PyObject
* obj1
= 0 ;
27909 PyObject
* obj2
= 0 ;
27910 PyObject
* obj3
= 0 ;
27911 char * kwnames
[] = {
27912 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27917 if (!SWIG_IsOK(res1
)) {
27918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27920 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27922 if (!SWIG_IsOK(res2
)) {
27923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27925 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27926 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27927 if (!SWIG_IsOK(res3
)) {
27928 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27930 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27932 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27933 if (!SWIG_IsOK(ecode4
)) {
27934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27936 arg4
= static_cast< bool >(val4
);
27939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27940 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27941 wxPyEndAllowThreads(__tstate
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27953 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27954 PyObject
*resultobj
= 0;
27955 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27956 wxWindow
*arg2
= (wxWindow
*) 0 ;
27962 PyObject
* obj0
= 0 ;
27963 PyObject
* obj1
= 0 ;
27964 char * kwnames
[] = {
27965 (char *) "self",(char *) "parent", NULL
27968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27970 if (!SWIG_IsOK(res1
)) {
27971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27973 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27975 if (!SWIG_IsOK(res2
)) {
27976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27978 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27981 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27982 wxPyEndAllowThreads(__tstate
);
27983 if (PyErr_Occurred()) SWIG_fail
;
27986 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27994 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27995 PyObject
*resultobj
= 0;
27996 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27997 wxPrintDialogData
*result
= 0 ;
28000 PyObject
*swig_obj
[1] ;
28002 if (!args
) SWIG_fail
;
28003 swig_obj
[0] = args
;
28004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28005 if (!SWIG_IsOK(res1
)) {
28006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
28008 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28012 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
28013 result
= (wxPrintDialogData
*) &_result_ref
;
28015 wxPyEndAllowThreads(__tstate
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28025 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28026 PyObject
*resultobj
= 0;
28027 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
28031 PyObject
*swig_obj
[1] ;
28033 if (!args
) SWIG_fail
;
28034 swig_obj
[0] = args
;
28035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
28036 if (!SWIG_IsOK(res1
)) {
28037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
28039 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
28041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28042 result
= (bool)(arg1
)->GetAbort();
28043 wxPyEndAllowThreads(__tstate
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28055 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28056 PyObject
*resultobj
= 0;
28057 wxPrinterError result
;
28059 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
28061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28062 result
= (wxPrinterError
)wxPrinter::GetLastError();
28063 wxPyEndAllowThreads(__tstate
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= SWIG_From_int(static_cast< int >(result
));
28073 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28076 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
28077 return SWIG_Py_Void();
28080 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28081 return SWIG_Python_InitShadowInstance(args
);
28084 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28085 PyObject
*resultobj
= 0;
28086 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
28087 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28088 wxPyPrintout
*result
= 0 ;
28089 bool temp1
= false ;
28090 PyObject
* obj0
= 0 ;
28091 char * kwnames
[] = {
28092 (char *) "title", NULL
28095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
28098 arg1
= wxString_in_helper(obj0
);
28099 if (arg1
== NULL
) SWIG_fail
;
28104 if (!wxPyCheckForApp()) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
28125 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28126 PyObject
*resultobj
= 0;
28127 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28130 PyObject
*swig_obj
[1] ;
28132 if (!args
) SWIG_fail
;
28133 swig_obj
[0] = args
;
28134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28135 if (!SWIG_IsOK(res1
)) {
28136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28138 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28143 wxPyEndAllowThreads(__tstate
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= SWIG_Py_Void();
28153 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
= 0;
28155 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28156 PyObject
*arg2
= (PyObject
*) 0 ;
28157 PyObject
*arg3
= (PyObject
*) 0 ;
28160 PyObject
* obj0
= 0 ;
28161 PyObject
* obj1
= 0 ;
28162 PyObject
* obj2
= 0 ;
28163 char * kwnames
[] = {
28164 (char *) "self",(char *) "self",(char *) "_class", NULL
28167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28169 if (!SWIG_IsOK(res1
)) {
28170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28172 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28181 resultobj
= SWIG_Py_Void();
28188 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28189 PyObject
*resultobj
= 0;
28190 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28194 PyObject
*swig_obj
[1] ;
28196 if (!args
) SWIG_fail
;
28197 swig_obj
[0] = args
;
28198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28199 if (!SWIG_IsOK(res1
)) {
28200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28202 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28205 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
28206 wxPyEndAllowThreads(__tstate
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28222 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28223 PyObject
*resultobj
= 0;
28224 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28228 PyObject
*swig_obj
[1] ;
28230 if (!args
) SWIG_fail
;
28231 swig_obj
[0] = args
;
28232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28233 if (!SWIG_IsOK(res1
)) {
28234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28236 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 result
= (wxDC
*)(arg1
)->GetDC();
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28244 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28252 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28253 PyObject
*resultobj
= 0;
28254 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28255 wxDC
*arg2
= (wxDC
*) 0 ;
28260 PyObject
* obj0
= 0 ;
28261 PyObject
* obj1
= 0 ;
28262 char * kwnames
[] = {
28263 (char *) "self",(char *) "dc", NULL
28266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28268 if (!SWIG_IsOK(res1
)) {
28269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28271 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28272 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28273 if (!SWIG_IsOK(res2
)) {
28274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28276 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 (arg1
)->SetDC(arg2
);
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28283 resultobj
= SWIG_Py_Void();
28290 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28291 PyObject
*resultobj
= 0;
28292 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28297 PyObject
* obj0
= 0 ;
28298 PyObject
* obj1
= 0 ;
28299 char * kwnames
[] = {
28300 (char *) "self",(char *) "imageSize", NULL
28303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28305 if (!SWIG_IsOK(res1
)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28308 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28311 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= SWIG_Py_Void();
28326 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
= 0;
28328 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28333 PyObject
* obj0
= 0 ;
28334 PyObject
* obj1
= 0 ;
28335 char * kwnames
[] = {
28336 (char *) "self",(char *) "imageSize", NULL
28339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28341 if (!SWIG_IsOK(res1
)) {
28342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28344 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28347 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28351 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28352 wxPyEndAllowThreads(__tstate
);
28353 if (PyErr_Occurred()) SWIG_fail
;
28355 resultobj
= SWIG_Py_Void();
28362 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
= 0;
28364 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28366 wxPageSetupDialogData
*arg3
= 0 ;
28372 PyObject
* obj0
= 0 ;
28373 PyObject
* obj1
= 0 ;
28374 PyObject
* obj2
= 0 ;
28375 char * kwnames
[] = {
28376 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28381 if (!SWIG_IsOK(res1
)) {
28382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28384 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28387 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28389 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28390 if (!SWIG_IsOK(res3
)) {
28391 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28396 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28399 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28403 resultobj
= SWIG_Py_Void();
28410 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28411 PyObject
*resultobj
= 0;
28412 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28415 PyObject
*swig_obj
[1] ;
28417 if (!args
) SWIG_fail
;
28418 swig_obj
[0] = args
;
28419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28420 if (!SWIG_IsOK(res1
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28423 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 (arg1
)->MapScreenSizeToPaper();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_Py_Void();
28437 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28438 PyObject
*resultobj
= 0;
28439 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28442 PyObject
*swig_obj
[1] ;
28444 if (!args
) SWIG_fail
;
28445 swig_obj
[0] = args
;
28446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28447 if (!SWIG_IsOK(res1
)) {
28448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28450 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 (arg1
)->MapScreenSizeToPage();
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28457 resultobj
= SWIG_Py_Void();
28464 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28465 PyObject
*resultobj
= 0;
28466 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28467 wxPageSetupDialogData
*arg2
= 0 ;
28472 PyObject
* obj0
= 0 ;
28473 PyObject
* obj1
= 0 ;
28474 char * kwnames
[] = {
28475 (char *) "self",(char *) "pageSetupData", NULL
28478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28480 if (!SWIG_IsOK(res1
)) {
28481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28483 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28485 if (!SWIG_IsOK(res2
)) {
28486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28491 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 resultobj
= SWIG_Py_Void();
28505 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28506 PyObject
*resultobj
= 0;
28507 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28510 PyObject
*swig_obj
[1] ;
28512 if (!args
) SWIG_fail
;
28513 swig_obj
[0] = args
;
28514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28515 if (!SWIG_IsOK(res1
)) {
28516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28518 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28521 (arg1
)->MapScreenSizeToDevice();
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 resultobj
= SWIG_Py_Void();
28532 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28533 PyObject
*resultobj
= 0;
28534 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28538 PyObject
*swig_obj
[1] ;
28540 if (!args
) SWIG_fail
;
28541 swig_obj
[0] = args
;
28542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28543 if (!SWIG_IsOK(res1
)) {
28544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28546 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28549 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28550 wxPyEndAllowThreads(__tstate
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28553 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28560 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28561 PyObject
*resultobj
= 0;
28562 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28566 PyObject
*swig_obj
[1] ;
28568 if (!args
) SWIG_fail
;
28569 swig_obj
[0] = args
;
28570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28571 if (!SWIG_IsOK(res1
)) {
28572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28574 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28578 wxPyEndAllowThreads(__tstate
);
28579 if (PyErr_Occurred()) SWIG_fail
;
28581 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28588 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28589 PyObject
*resultobj
= 0;
28590 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28591 wxPageSetupDialogData
*arg2
= 0 ;
28597 PyObject
* obj0
= 0 ;
28598 PyObject
* obj1
= 0 ;
28599 char * kwnames
[] = {
28600 (char *) "self",(char *) "pageSetupData", NULL
28603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28605 if (!SWIG_IsOK(res1
)) {
28606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28608 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28610 if (!SWIG_IsOK(res2
)) {
28611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28616 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28619 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28630 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
= 0;
28632 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28641 PyObject
* obj0
= 0 ;
28642 PyObject
* obj1
= 0 ;
28643 PyObject
* obj2
= 0 ;
28644 char * kwnames
[] = {
28645 (char *) "self",(char *) "x",(char *) "y", NULL
28648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28650 if (!SWIG_IsOK(res1
)) {
28651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28653 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28655 if (!SWIG_IsOK(ecode2
)) {
28656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28658 arg2
= static_cast< int >(val2
);
28659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28660 if (!SWIG_IsOK(ecode3
)) {
28661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28663 arg3
= static_cast< int >(val3
);
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28667 wxPyEndAllowThreads(__tstate
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28670 resultobj
= SWIG_Py_Void();
28677 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28678 PyObject
*resultobj
= 0;
28679 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28688 PyObject
* obj0
= 0 ;
28689 PyObject
* obj1
= 0 ;
28690 PyObject
* obj2
= 0 ;
28691 char * kwnames
[] = {
28692 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28697 if (!SWIG_IsOK(res1
)) {
28698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28700 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28702 if (!SWIG_IsOK(ecode2
)) {
28703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28705 arg2
= static_cast< int >(val2
);
28706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28707 if (!SWIG_IsOK(ecode3
)) {
28708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28710 arg3
= static_cast< int >(val3
);
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 resultobj
= SWIG_Py_Void();
28724 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
= 0;
28726 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28735 PyObject
* obj0
= 0 ;
28736 PyObject
* obj1
= 0 ;
28737 PyObject
* obj2
= 0 ;
28738 char * kwnames
[] = {
28739 (char *) "self",(char *) "w",(char *) "h", NULL
28742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28744 if (!SWIG_IsOK(res1
)) {
28745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28747 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28749 if (!SWIG_IsOK(ecode2
)) {
28750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28752 arg2
= static_cast< int >(val2
);
28753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28754 if (!SWIG_IsOK(ecode3
)) {
28755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28757 arg3
= static_cast< int >(val3
);
28759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28760 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28761 wxPyEndAllowThreads(__tstate
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28764 resultobj
= SWIG_Py_Void();
28771 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28772 PyObject
*resultobj
= 0;
28773 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28774 int *arg2
= (int *) 0 ;
28775 int *arg3
= (int *) 0 ;
28779 int res2
= SWIG_TMPOBJ
;
28781 int res3
= SWIG_TMPOBJ
;
28782 PyObject
*swig_obj
[1] ;
28786 if (!args
) SWIG_fail
;
28787 swig_obj
[0] = args
;
28788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28789 if (!SWIG_IsOK(res1
)) {
28790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28792 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28796 wxPyEndAllowThreads(__tstate
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28799 resultobj
= SWIG_Py_Void();
28800 if (SWIG_IsTmpObj(res2
)) {
28801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28803 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28806 if (SWIG_IsTmpObj(res3
)) {
28807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28809 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28818 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28819 PyObject
*resultobj
= 0;
28820 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 PyObject
* obj2
= 0 ;
28832 char * kwnames
[] = {
28833 (char *) "self",(char *) "w",(char *) "h", NULL
28836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28838 if (!SWIG_IsOK(res1
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28841 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28843 if (!SWIG_IsOK(ecode2
)) {
28844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28846 arg2
= static_cast< int >(val2
);
28847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28848 if (!SWIG_IsOK(ecode3
)) {
28849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28851 arg3
= static_cast< int >(val3
);
28853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28854 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28855 wxPyEndAllowThreads(__tstate
);
28856 if (PyErr_Occurred()) SWIG_fail
;
28858 resultobj
= SWIG_Py_Void();
28865 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28866 PyObject
*resultobj
= 0;
28867 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28868 int *arg2
= (int *) 0 ;
28869 int *arg3
= (int *) 0 ;
28873 int res2
= SWIG_TMPOBJ
;
28875 int res3
= SWIG_TMPOBJ
;
28876 PyObject
*swig_obj
[1] ;
28880 if (!args
) SWIG_fail
;
28881 swig_obj
[0] = args
;
28882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28883 if (!SWIG_IsOK(res1
)) {
28884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28886 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28889 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28890 wxPyEndAllowThreads(__tstate
);
28891 if (PyErr_Occurred()) SWIG_fail
;
28893 resultobj
= SWIG_Py_Void();
28894 if (SWIG_IsTmpObj(res2
)) {
28895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28897 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28900 if (SWIG_IsTmpObj(res3
)) {
28901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28903 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28912 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28913 PyObject
*resultobj
= 0;
28914 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28923 PyObject
* obj0
= 0 ;
28924 PyObject
* obj1
= 0 ;
28925 PyObject
* obj2
= 0 ;
28926 char * kwnames
[] = {
28927 (char *) "self",(char *) "x",(char *) "y", NULL
28930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28932 if (!SWIG_IsOK(res1
)) {
28933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28935 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28937 if (!SWIG_IsOK(ecode2
)) {
28938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28940 arg2
= static_cast< int >(val2
);
28941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28942 if (!SWIG_IsOK(ecode3
)) {
28943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28945 arg3
= static_cast< int >(val3
);
28947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 (arg1
)->SetPPIScreen(arg2
,arg3
);
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28952 resultobj
= SWIG_Py_Void();
28959 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28960 PyObject
*resultobj
= 0;
28961 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28962 int *arg2
= (int *) 0 ;
28963 int *arg3
= (int *) 0 ;
28967 int res2
= SWIG_TMPOBJ
;
28969 int res3
= SWIG_TMPOBJ
;
28970 PyObject
*swig_obj
[1] ;
28974 if (!args
) SWIG_fail
;
28975 swig_obj
[0] = args
;
28976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28977 if (!SWIG_IsOK(res1
)) {
28978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28980 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28983 (arg1
)->GetPPIScreen(arg2
,arg3
);
28984 wxPyEndAllowThreads(__tstate
);
28985 if (PyErr_Occurred()) SWIG_fail
;
28987 resultobj
= SWIG_Py_Void();
28988 if (SWIG_IsTmpObj(res2
)) {
28989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28991 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28994 if (SWIG_IsTmpObj(res3
)) {
28995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28997 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29006 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29007 PyObject
*resultobj
= 0;
29008 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29017 PyObject
* obj0
= 0 ;
29018 PyObject
* obj1
= 0 ;
29019 PyObject
* obj2
= 0 ;
29020 char * kwnames
[] = {
29021 (char *) "self",(char *) "x",(char *) "y", NULL
29024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29026 if (!SWIG_IsOK(res1
)) {
29027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29029 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29031 if (!SWIG_IsOK(ecode2
)) {
29032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
29034 arg2
= static_cast< int >(val2
);
29035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29036 if (!SWIG_IsOK(ecode3
)) {
29037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
29039 arg3
= static_cast< int >(val3
);
29041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29042 (arg1
)->SetPPIPrinter(arg2
,arg3
);
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29046 resultobj
= SWIG_Py_Void();
29053 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29054 PyObject
*resultobj
= 0;
29055 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29056 int *arg2
= (int *) 0 ;
29057 int *arg3
= (int *) 0 ;
29061 int res2
= SWIG_TMPOBJ
;
29063 int res3
= SWIG_TMPOBJ
;
29064 PyObject
*swig_obj
[1] ;
29068 if (!args
) SWIG_fail
;
29069 swig_obj
[0] = args
;
29070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29071 if (!SWIG_IsOK(res1
)) {
29072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29074 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29077 (arg1
)->GetPPIPrinter(arg2
,arg3
);
29078 wxPyEndAllowThreads(__tstate
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29081 resultobj
= SWIG_Py_Void();
29082 if (SWIG_IsTmpObj(res2
)) {
29083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29085 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29088 if (SWIG_IsTmpObj(res3
)) {
29089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29091 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29100 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
= 0;
29102 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29107 PyObject
* obj0
= 0 ;
29108 PyObject
* obj1
= 0 ;
29109 char * kwnames
[] = {
29110 (char *) "self",(char *) "paperRectPixels", NULL
29113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29115 if (!SWIG_IsOK(res1
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29118 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29121 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29125 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29129 resultobj
= SWIG_Py_Void();
29136 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29137 PyObject
*resultobj
= 0;
29138 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29142 PyObject
*swig_obj
[1] ;
29144 if (!args
) SWIG_fail
;
29145 swig_obj
[0] = args
;
29146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29147 if (!SWIG_IsOK(res1
)) {
29148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29150 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
29154 wxPyEndAllowThreads(__tstate
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29157 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29164 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29165 PyObject
*resultobj
= 0;
29166 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29170 PyObject
*swig_obj
[1] ;
29172 if (!args
) SWIG_fail
;
29173 swig_obj
[0] = args
;
29174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29175 if (!SWIG_IsOK(res1
)) {
29176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29178 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 result
= (bool)(arg1
)->IsPreview();
29182 wxPyEndAllowThreads(__tstate
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29194 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
= 0;
29196 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29202 PyObject
* obj0
= 0 ;
29203 PyObject
* obj1
= 0 ;
29204 char * kwnames
[] = {
29205 (char *) "self",(char *) "p", NULL
29208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29210 if (!SWIG_IsOK(res1
)) {
29211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29213 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29214 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29215 if (!SWIG_IsOK(ecode2
)) {
29216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29218 arg2
= static_cast< bool >(val2
);
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 (arg1
)->SetIsPreview(arg2
);
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= SWIG_Py_Void();
29232 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
= 0;
29234 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29244 PyObject
* obj0
= 0 ;
29245 PyObject
* obj1
= 0 ;
29246 PyObject
* obj2
= 0 ;
29247 char * kwnames
[] = {
29248 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29253 if (!SWIG_IsOK(res1
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29256 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29258 if (!SWIG_IsOK(ecode2
)) {
29259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29261 arg2
= static_cast< int >(val2
);
29262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29263 if (!SWIG_IsOK(ecode3
)) {
29264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29266 arg3
= static_cast< int >(val3
);
29268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29269 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
29270 wxPyEndAllowThreads(__tstate
);
29271 if (PyErr_Occurred()) SWIG_fail
;
29274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29282 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29283 PyObject
*resultobj
= 0;
29284 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29287 PyObject
*swig_obj
[1] ;
29289 if (!args
) SWIG_fail
;
29290 swig_obj
[0] = args
;
29291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29292 if (!SWIG_IsOK(res1
)) {
29293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29295 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29298 (arg1
)->OnEndDocument();
29299 wxPyEndAllowThreads(__tstate
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29302 resultobj
= SWIG_Py_Void();
29309 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29310 PyObject
*resultobj
= 0;
29311 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29314 PyObject
*swig_obj
[1] ;
29316 if (!args
) SWIG_fail
;
29317 swig_obj
[0] = args
;
29318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29319 if (!SWIG_IsOK(res1
)) {
29320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29322 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29325 (arg1
)->OnBeginPrinting();
29326 wxPyEndAllowThreads(__tstate
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 resultobj
= SWIG_Py_Void();
29336 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29337 PyObject
*resultobj
= 0;
29338 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29341 PyObject
*swig_obj
[1] ;
29343 if (!args
) SWIG_fail
;
29344 swig_obj
[0] = args
;
29345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29346 if (!SWIG_IsOK(res1
)) {
29347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29349 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29352 (arg1
)->OnEndPrinting();
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= SWIG_Py_Void();
29363 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29364 PyObject
*resultobj
= 0;
29365 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29368 PyObject
*swig_obj
[1] ;
29370 if (!args
) SWIG_fail
;
29371 swig_obj
[0] = args
;
29372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29373 if (!SWIG_IsOK(res1
)) {
29374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29376 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 (arg1
)->OnPreparePrinting();
29380 wxPyEndAllowThreads(__tstate
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29383 resultobj
= SWIG_Py_Void();
29390 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29391 PyObject
*resultobj
= 0;
29392 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29399 PyObject
* obj0
= 0 ;
29400 PyObject
* obj1
= 0 ;
29401 char * kwnames
[] = {
29402 (char *) "self",(char *) "page", NULL
29405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29407 if (!SWIG_IsOK(res1
)) {
29408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29410 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29412 if (!SWIG_IsOK(ecode2
)) {
29413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29415 arg2
= static_cast< int >(val2
);
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 result
= (bool)(arg1
)->HasPage(arg2
);
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29431 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29432 PyObject
*resultobj
= 0;
29433 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29434 int *arg2
= (int *) 0 ;
29435 int *arg3
= (int *) 0 ;
29436 int *arg4
= (int *) 0 ;
29437 int *arg5
= (int *) 0 ;
29441 int res2
= SWIG_TMPOBJ
;
29443 int res3
= SWIG_TMPOBJ
;
29445 int res4
= SWIG_TMPOBJ
;
29447 int res5
= SWIG_TMPOBJ
;
29448 PyObject
*swig_obj
[1] ;
29454 if (!args
) SWIG_fail
;
29455 swig_obj
[0] = args
;
29456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29457 if (!SWIG_IsOK(res1
)) {
29458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29460 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29463 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29467 resultobj
= SWIG_Py_Void();
29468 if (SWIG_IsTmpObj(res2
)) {
29469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29471 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29474 if (SWIG_IsTmpObj(res3
)) {
29475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29477 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29480 if (SWIG_IsTmpObj(res4
)) {
29481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29483 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29486 if (SWIG_IsTmpObj(res5
)) {
29487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29489 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29498 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29501 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29502 return SWIG_Py_Void();
29505 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29506 return SWIG_Python_InitShadowInstance(args
);
29509 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29510 PyObject
*resultobj
= 0;
29511 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29512 wxWindow
*arg2
= (wxWindow
*) 0 ;
29513 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29514 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29515 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29516 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29517 long arg5
= (long) 0 ;
29518 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29519 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29520 wxPreviewCanvas
*result
= 0 ;
29529 bool temp6
= false ;
29530 PyObject
* obj0
= 0 ;
29531 PyObject
* obj1
= 0 ;
29532 PyObject
* obj2
= 0 ;
29533 PyObject
* obj3
= 0 ;
29534 PyObject
* obj4
= 0 ;
29535 PyObject
* obj5
= 0 ;
29536 char * kwnames
[] = {
29537 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29542 if (!SWIG_IsOK(res1
)) {
29543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29545 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29546 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29547 if (!SWIG_IsOK(res2
)) {
29548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29550 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29554 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29560 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29564 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29565 if (!SWIG_IsOK(ecode5
)) {
29566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29568 arg5
= static_cast< long >(val5
);
29572 arg6
= wxString_in_helper(obj5
);
29573 if (arg6
== NULL
) SWIG_fail
;
29578 if (!wxPyCheckForApp()) SWIG_fail
;
29579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29580 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29581 wxPyEndAllowThreads(__tstate
);
29582 if (PyErr_Occurred()) SWIG_fail
;
29584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29599 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29602 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29603 return SWIG_Py_Void();
29606 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29607 return SWIG_Python_InitShadowInstance(args
);
29610 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29611 PyObject
*resultobj
= 0;
29612 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29613 wxFrame
*arg2
= (wxFrame
*) 0 ;
29614 wxString
*arg3
= 0 ;
29615 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29616 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29617 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29618 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29619 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29620 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29621 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29622 wxPreviewFrame
*result
= 0 ;
29626 bool temp3
= false ;
29631 bool temp7
= false ;
29632 PyObject
* obj0
= 0 ;
29633 PyObject
* obj1
= 0 ;
29634 PyObject
* obj2
= 0 ;
29635 PyObject
* obj3
= 0 ;
29636 PyObject
* obj4
= 0 ;
29637 PyObject
* obj5
= 0 ;
29638 PyObject
* obj6
= 0 ;
29639 char * kwnames
[] = {
29640 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29644 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29645 if (!SWIG_IsOK(res1
)) {
29646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29649 if (!SWIG_IsOK(res2
)) {
29650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29652 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29654 arg3
= wxString_in_helper(obj2
);
29655 if (arg3
== NULL
) SWIG_fail
;
29661 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29667 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29671 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29672 if (!SWIG_IsOK(ecode6
)) {
29673 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29675 arg6
= static_cast< long >(val6
);
29679 arg7
= wxString_in_helper(obj6
);
29680 if (arg7
== NULL
) SWIG_fail
;
29685 if (!wxPyCheckForApp()) SWIG_fail
;
29686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29687 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29688 wxPyEndAllowThreads(__tstate
);
29689 if (PyErr_Occurred()) SWIG_fail
;
29691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29714 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29715 PyObject
*resultobj
= 0;
29716 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29719 PyObject
*swig_obj
[1] ;
29721 if (!args
) SWIG_fail
;
29722 swig_obj
[0] = args
;
29723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29724 if (!SWIG_IsOK(res1
)) {
29725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29727 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 (arg1
)->Initialize();
29731 wxPyEndAllowThreads(__tstate
);
29732 if (PyErr_Occurred()) SWIG_fail
;
29734 resultobj
= SWIG_Py_Void();
29741 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29742 PyObject
*resultobj
= 0;
29743 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29746 PyObject
*swig_obj
[1] ;
29748 if (!args
) SWIG_fail
;
29749 swig_obj
[0] = args
;
29750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29751 if (!SWIG_IsOK(res1
)) {
29752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29754 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 (arg1
)->CreateControlBar();
29758 wxPyEndAllowThreads(__tstate
);
29759 if (PyErr_Occurred()) SWIG_fail
;
29761 resultobj
= SWIG_Py_Void();
29768 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29769 PyObject
*resultobj
= 0;
29770 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29773 PyObject
*swig_obj
[1] ;
29775 if (!args
) SWIG_fail
;
29776 swig_obj
[0] = args
;
29777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29778 if (!SWIG_IsOK(res1
)) {
29779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29781 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29784 (arg1
)->CreateCanvas();
29785 wxPyEndAllowThreads(__tstate
);
29786 if (PyErr_Occurred()) SWIG_fail
;
29788 resultobj
= SWIG_Py_Void();
29795 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29796 PyObject
*resultobj
= 0;
29797 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29798 wxPreviewControlBar
*result
= 0 ;
29801 PyObject
*swig_obj
[1] ;
29803 if (!args
) SWIG_fail
;
29804 swig_obj
[0] = args
;
29805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29806 if (!SWIG_IsOK(res1
)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29809 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29823 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29826 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29827 return SWIG_Py_Void();
29830 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29831 return SWIG_Python_InitShadowInstance(args
);
29834 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29835 PyObject
*resultobj
= 0;
29836 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29838 wxWindow
*arg3
= (wxWindow
*) 0 ;
29839 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29840 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29841 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29842 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29843 long arg6
= (long) wxTAB_TRAVERSAL
;
29844 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29845 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29846 wxPreviewControlBar
*result
= 0 ;
29857 bool temp7
= false ;
29858 PyObject
* obj0
= 0 ;
29859 PyObject
* obj1
= 0 ;
29860 PyObject
* obj2
= 0 ;
29861 PyObject
* obj3
= 0 ;
29862 PyObject
* obj4
= 0 ;
29863 PyObject
* obj5
= 0 ;
29864 PyObject
* obj6
= 0 ;
29865 char * kwnames
[] = {
29866 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29871 if (!SWIG_IsOK(res1
)) {
29872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29874 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29875 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29876 if (!SWIG_IsOK(ecode2
)) {
29877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29879 arg2
= static_cast< long >(val2
);
29880 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29881 if (!SWIG_IsOK(res3
)) {
29882 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29884 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29898 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29899 if (!SWIG_IsOK(ecode6
)) {
29900 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29902 arg6
= static_cast< long >(val6
);
29906 arg7
= wxString_in_helper(obj6
);
29907 if (arg7
== NULL
) SWIG_fail
;
29912 if (!wxPyCheckForApp()) SWIG_fail
;
29913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29914 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29915 wxPyEndAllowThreads(__tstate
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29933 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29934 PyObject
*resultobj
= 0;
29935 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29939 PyObject
*swig_obj
[1] ;
29941 if (!args
) SWIG_fail
;
29942 swig_obj
[0] = args
;
29943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29944 if (!SWIG_IsOK(res1
)) {
29945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29947 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29950 result
= (int)(arg1
)->GetZoomControl();
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29954 resultobj
= SWIG_From_int(static_cast< int >(result
));
29961 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29962 PyObject
*resultobj
= 0;
29963 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29969 PyObject
* obj0
= 0 ;
29970 PyObject
* obj1
= 0 ;
29971 char * kwnames
[] = {
29972 (char *) "self",(char *) "zoom", NULL
29975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29977 if (!SWIG_IsOK(res1
)) {
29978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29980 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29982 if (!SWIG_IsOK(ecode2
)) {
29983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29985 arg2
= static_cast< int >(val2
);
29987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29988 (arg1
)->SetZoomControl(arg2
);
29989 wxPyEndAllowThreads(__tstate
);
29990 if (PyErr_Occurred()) SWIG_fail
;
29992 resultobj
= SWIG_Py_Void();
29999 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30000 PyObject
*resultobj
= 0;
30001 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30002 wxPrintPreview
*result
= 0 ;
30005 PyObject
*swig_obj
[1] ;
30007 if (!args
) SWIG_fail
;
30008 swig_obj
[0] = args
;
30009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30010 if (!SWIG_IsOK(res1
)) {
30011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30013 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30016 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
30017 wxPyEndAllowThreads(__tstate
);
30018 if (PyErr_Occurred()) SWIG_fail
;
30020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30027 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30028 PyObject
*resultobj
= 0;
30029 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30032 PyObject
*swig_obj
[1] ;
30034 if (!args
) SWIG_fail
;
30035 swig_obj
[0] = args
;
30036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30037 if (!SWIG_IsOK(res1
)) {
30038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30040 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 wxPyEndAllowThreads(__tstate
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30047 resultobj
= SWIG_Py_Void();
30054 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30055 PyObject
*resultobj
= 0;
30056 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30059 PyObject
*swig_obj
[1] ;
30061 if (!args
) SWIG_fail
;
30062 swig_obj
[0] = args
;
30063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30067 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 (arg1
)->OnPrevious();
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= SWIG_Py_Void();
30081 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30082 PyObject
*resultobj
= 0;
30083 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30086 PyObject
*swig_obj
[1] ;
30088 if (!args
) SWIG_fail
;
30089 swig_obj
[0] = args
;
30090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30091 if (!SWIG_IsOK(res1
)) {
30092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30094 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30098 wxPyEndAllowThreads(__tstate
);
30099 if (PyErr_Occurred()) SWIG_fail
;
30101 resultobj
= SWIG_Py_Void();
30108 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30109 PyObject
*resultobj
= 0;
30110 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30113 PyObject
*swig_obj
[1] ;
30115 if (!args
) SWIG_fail
;
30116 swig_obj
[0] = args
;
30117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30118 if (!SWIG_IsOK(res1
)) {
30119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30121 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30128 resultobj
= SWIG_Py_Void();
30135 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30136 PyObject
*resultobj
= 0;
30137 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
30140 PyObject
*swig_obj
[1] ;
30142 if (!args
) SWIG_fail
;
30143 swig_obj
[0] = args
;
30144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30145 if (!SWIG_IsOK(res1
)) {
30146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30148 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
30150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30152 wxPyEndAllowThreads(__tstate
);
30153 if (PyErr_Occurred()) SWIG_fail
;
30155 resultobj
= SWIG_Py_Void();
30162 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30165 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
30166 return SWIG_Py_Void();
30169 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30170 return SWIG_Python_InitShadowInstance(args
);
30173 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30174 PyObject
*resultobj
= 0;
30175 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30176 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30177 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30178 wxPrintPreview
*result
= 0 ;
30184 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30185 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30186 if (!SWIG_IsOK(res1
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30189 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30190 if (!SWIG_IsOK(res2
)) {
30191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30194 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30195 if (!SWIG_IsOK(res3
)) {
30196 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30198 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30201 if (!wxPyCheckForApp()) SWIG_fail
;
30202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30203 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30204 wxPyEndAllowThreads(__tstate
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30214 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30215 PyObject
*resultobj
= 0;
30216 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30217 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30218 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30219 wxPrintPreview
*result
= 0 ;
30225 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30226 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30227 if (!SWIG_IsOK(res1
)) {
30228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30230 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30231 if (!SWIG_IsOK(res2
)) {
30232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30234 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30235 if (!SWIG_IsOK(res3
)) {
30236 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30238 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30240 if (!wxPyCheckForApp()) SWIG_fail
;
30241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30242 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30253 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
30257 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
30259 if ((argc
>= 2) && (argc
<= 3)) {
30264 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30265 _v
= SWIG_CheckState(res
);
30267 if (!_v
) goto check_1
;
30269 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
30274 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
30278 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
30283 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30284 PyObject
*resultobj
= 0;
30285 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30288 PyObject
*swig_obj
[1] ;
30290 if (!args
) SWIG_fail
;
30291 swig_obj
[0] = args
;
30292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30293 if (!SWIG_IsOK(res1
)) {
30294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30296 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 wxPyEndAllowThreads(__tstate
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30304 resultobj
= SWIG_Py_Void();
30311 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
= 0;
30313 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30320 PyObject
* obj0
= 0 ;
30321 PyObject
* obj1
= 0 ;
30322 char * kwnames
[] = {
30323 (char *) "self",(char *) "pageNum", NULL
30326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30328 if (!SWIG_IsOK(res1
)) {
30329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30331 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30333 if (!SWIG_IsOK(ecode2
)) {
30334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30336 arg2
= static_cast< int >(val2
);
30338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30339 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30352 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30353 PyObject
*resultobj
= 0;
30354 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30358 PyObject
*swig_obj
[1] ;
30360 if (!args
) SWIG_fail
;
30361 swig_obj
[0] = args
;
30362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30363 if (!SWIG_IsOK(res1
)) {
30364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30366 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30369 result
= (int)(arg1
)->GetCurrentPage();
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= SWIG_From_int(static_cast< int >(result
));
30380 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30381 PyObject
*resultobj
= 0;
30382 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30383 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30387 PyObject
* obj0
= 0 ;
30388 PyObject
* obj1
= 0 ;
30389 char * kwnames
[] = {
30390 (char *) "self",(char *) "printout", NULL
30393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30395 if (!SWIG_IsOK(res1
)) {
30396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30398 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30399 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30400 if (!SWIG_IsOK(res2
)) {
30401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30405 (arg1
)->SetPrintout(arg2
);
30406 wxPyEndAllowThreads(__tstate
);
30407 if (PyErr_Occurred()) SWIG_fail
;
30409 resultobj
= SWIG_Py_Void();
30416 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30417 PyObject
*resultobj
= 0;
30418 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30419 wxPyPrintout
*result
= 0 ;
30422 PyObject
*swig_obj
[1] ;
30424 if (!args
) SWIG_fail
;
30425 swig_obj
[0] = args
;
30426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30427 if (!SWIG_IsOK(res1
)) {
30428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30430 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30434 wxPyEndAllowThreads(__tstate
);
30435 if (PyErr_Occurred()) SWIG_fail
;
30438 resultobj
= wxPyMake_wxObject(result
, 0);
30446 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30447 PyObject
*resultobj
= 0;
30448 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30449 wxPyPrintout
*result
= 0 ;
30452 PyObject
*swig_obj
[1] ;
30454 if (!args
) SWIG_fail
;
30455 swig_obj
[0] = args
;
30456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30457 if (!SWIG_IsOK(res1
)) {
30458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30460 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30463 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30464 wxPyEndAllowThreads(__tstate
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30468 resultobj
= wxPyMake_wxObject(result
, 0);
30476 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30477 PyObject
*resultobj
= 0;
30478 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30479 wxFrame
*arg2
= (wxFrame
*) 0 ;
30484 PyObject
* obj0
= 0 ;
30485 PyObject
* obj1
= 0 ;
30486 char * kwnames
[] = {
30487 (char *) "self",(char *) "frame", NULL
30490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30492 if (!SWIG_IsOK(res1
)) {
30493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30495 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30497 if (!SWIG_IsOK(res2
)) {
30498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30500 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 (arg1
)->SetFrame(arg2
);
30504 wxPyEndAllowThreads(__tstate
);
30505 if (PyErr_Occurred()) SWIG_fail
;
30507 resultobj
= SWIG_Py_Void();
30514 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30515 PyObject
*resultobj
= 0;
30516 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30517 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30522 PyObject
* obj0
= 0 ;
30523 PyObject
* obj1
= 0 ;
30524 char * kwnames
[] = {
30525 (char *) "self",(char *) "canvas", NULL
30528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30530 if (!SWIG_IsOK(res1
)) {
30531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30533 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30535 if (!SWIG_IsOK(res2
)) {
30536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30538 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30541 (arg1
)->SetCanvas(arg2
);
30542 wxPyEndAllowThreads(__tstate
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30545 resultobj
= SWIG_Py_Void();
30552 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30553 PyObject
*resultobj
= 0;
30554 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30555 wxFrame
*result
= 0 ;
30558 PyObject
*swig_obj
[1] ;
30560 if (!args
) SWIG_fail
;
30561 swig_obj
[0] = args
;
30562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30563 if (!SWIG_IsOK(res1
)) {
30564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30566 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30569 result
= (wxFrame
*)(arg1
)->GetFrame();
30570 wxPyEndAllowThreads(__tstate
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30574 resultobj
= wxPyMake_wxObject(result
, 0);
30582 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30583 PyObject
*resultobj
= 0;
30584 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30585 wxPreviewCanvas
*result
= 0 ;
30588 PyObject
*swig_obj
[1] ;
30590 if (!args
) SWIG_fail
;
30591 swig_obj
[0] = args
;
30592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30593 if (!SWIG_IsOK(res1
)) {
30594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30596 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30600 wxPyEndAllowThreads(__tstate
);
30601 if (PyErr_Occurred()) SWIG_fail
;
30603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30610 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30611 PyObject
*resultobj
= 0;
30612 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30613 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30622 PyObject
* obj0
= 0 ;
30623 PyObject
* obj1
= 0 ;
30624 PyObject
* obj2
= 0 ;
30625 char * kwnames
[] = {
30626 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30631 if (!SWIG_IsOK(res1
)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30634 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30636 if (!SWIG_IsOK(res2
)) {
30637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30639 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30640 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30641 if (!SWIG_IsOK(res3
)) {
30642 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30647 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30650 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30651 wxPyEndAllowThreads(__tstate
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30663 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30664 PyObject
*resultobj
= 0;
30665 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30666 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30675 PyObject
* obj0
= 0 ;
30676 PyObject
* obj1
= 0 ;
30677 PyObject
* obj2
= 0 ;
30678 char * kwnames
[] = {
30679 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30684 if (!SWIG_IsOK(res1
)) {
30685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30687 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30689 if (!SWIG_IsOK(res2
)) {
30690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30692 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30693 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30694 if (!SWIG_IsOK(res3
)) {
30695 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30700 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30703 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30704 wxPyEndAllowThreads(__tstate
);
30705 if (PyErr_Occurred()) SWIG_fail
;
30708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30716 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30717 PyObject
*resultobj
= 0;
30718 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30725 PyObject
* obj0
= 0 ;
30726 PyObject
* obj1
= 0 ;
30727 char * kwnames
[] = {
30728 (char *) "self",(char *) "pageNum", NULL
30731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30733 if (!SWIG_IsOK(res1
)) {
30734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30736 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30738 if (!SWIG_IsOK(ecode2
)) {
30739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30741 arg2
= static_cast< int >(val2
);
30743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30744 result
= (bool)(arg1
)->RenderPage(arg2
);
30745 wxPyEndAllowThreads(__tstate
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30757 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30758 PyObject
*resultobj
= 0;
30759 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30760 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30765 PyObject
* obj0
= 0 ;
30766 PyObject
* obj1
= 0 ;
30767 char * kwnames
[] = {
30768 (char *) "self",(char *) "canvas", NULL
30771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30773 if (!SWIG_IsOK(res1
)) {
30774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30776 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30778 if (!SWIG_IsOK(res2
)) {
30779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30781 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30784 (arg1
)->AdjustScrollbars(arg2
);
30785 wxPyEndAllowThreads(__tstate
);
30786 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= SWIG_Py_Void();
30795 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30796 PyObject
*resultobj
= 0;
30797 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30798 wxPrintDialogData
*result
= 0 ;
30801 PyObject
*swig_obj
[1] ;
30803 if (!args
) SWIG_fail
;
30804 swig_obj
[0] = args
;
30805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30806 if (!SWIG_IsOK(res1
)) {
30807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30809 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30813 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30814 result
= (wxPrintDialogData
*) &_result_ref
;
30816 wxPyEndAllowThreads(__tstate
);
30817 if (PyErr_Occurred()) SWIG_fail
;
30819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30826 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30827 PyObject
*resultobj
= 0;
30828 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30834 PyObject
* obj0
= 0 ;
30835 PyObject
* obj1
= 0 ;
30836 char * kwnames
[] = {
30837 (char *) "self",(char *) "percent", NULL
30840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30842 if (!SWIG_IsOK(res1
)) {
30843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30845 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30847 if (!SWIG_IsOK(ecode2
)) {
30848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30850 arg2
= static_cast< int >(val2
);
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 (arg1
)->SetZoom(arg2
);
30854 wxPyEndAllowThreads(__tstate
);
30855 if (PyErr_Occurred()) SWIG_fail
;
30857 resultobj
= SWIG_Py_Void();
30864 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30865 PyObject
*resultobj
= 0;
30866 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30870 PyObject
*swig_obj
[1] ;
30872 if (!args
) SWIG_fail
;
30873 swig_obj
[0] = args
;
30874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30875 if (!SWIG_IsOK(res1
)) {
30876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30878 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30881 result
= (int)(arg1
)->GetZoom();
30882 wxPyEndAllowThreads(__tstate
);
30883 if (PyErr_Occurred()) SWIG_fail
;
30885 resultobj
= SWIG_From_int(static_cast< int >(result
));
30892 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30893 PyObject
*resultobj
= 0;
30894 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30898 PyObject
*swig_obj
[1] ;
30900 if (!args
) SWIG_fail
;
30901 swig_obj
[0] = args
;
30902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30903 if (!SWIG_IsOK(res1
)) {
30904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30906 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30909 result
= (int)(arg1
)->GetMaxPage();
30910 wxPyEndAllowThreads(__tstate
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30913 resultobj
= SWIG_From_int(static_cast< int >(result
));
30920 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30921 PyObject
*resultobj
= 0;
30922 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30926 PyObject
*swig_obj
[1] ;
30928 if (!args
) SWIG_fail
;
30929 swig_obj
[0] = args
;
30930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30931 if (!SWIG_IsOK(res1
)) {
30932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30934 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30937 result
= (int)(arg1
)->GetMinPage();
30938 wxPyEndAllowThreads(__tstate
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30941 resultobj
= SWIG_From_int(static_cast< int >(result
));
30948 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30949 PyObject
*resultobj
= 0;
30950 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30954 PyObject
*swig_obj
[1] ;
30956 if (!args
) SWIG_fail
;
30957 swig_obj
[0] = args
;
30958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30959 if (!SWIG_IsOK(res1
)) {
30960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30962 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 result
= (bool)(arg1
)->IsOk();
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30978 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30979 PyObject
*resultobj
= 0;
30980 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30986 PyObject
* obj0
= 0 ;
30987 PyObject
* obj1
= 0 ;
30988 char * kwnames
[] = {
30989 (char *) "self",(char *) "ok", NULL
30992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30994 if (!SWIG_IsOK(res1
)) {
30995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30997 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30998 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30999 if (!SWIG_IsOK(ecode2
)) {
31000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
31002 arg2
= static_cast< bool >(val2
);
31004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31005 (arg1
)->SetOk(arg2
);
31006 wxPyEndAllowThreads(__tstate
);
31007 if (PyErr_Occurred()) SWIG_fail
;
31009 resultobj
= SWIG_Py_Void();
31016 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
= 0;
31018 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31025 PyObject
* obj0
= 0 ;
31026 PyObject
* obj1
= 0 ;
31027 char * kwnames
[] = {
31028 (char *) "self",(char *) "interactive", NULL
31031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31033 if (!SWIG_IsOK(res1
)) {
31034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31036 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31037 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31038 if (!SWIG_IsOK(ecode2
)) {
31039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
31041 arg2
= static_cast< bool >(val2
);
31043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31044 result
= (bool)(arg1
)->Print(arg2
);
31045 wxPyEndAllowThreads(__tstate
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31057 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31058 PyObject
*resultobj
= 0;
31059 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31062 PyObject
*swig_obj
[1] ;
31064 if (!args
) SWIG_fail
;
31065 swig_obj
[0] = args
;
31066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31067 if (!SWIG_IsOK(res1
)) {
31068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31070 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31073 (arg1
)->DetermineScaling();
31074 wxPyEndAllowThreads(__tstate
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= SWIG_Py_Void();
31084 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31087 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
31088 return SWIG_Py_Void();
31091 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31092 return SWIG_Python_InitShadowInstance(args
);
31095 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31096 PyObject
*resultobj
= 0;
31097 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31098 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31099 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
31100 wxPyPrintPreview
*result
= 0 ;
31106 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
31107 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31108 if (!SWIG_IsOK(res1
)) {
31109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31111 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31112 if (!SWIG_IsOK(res2
)) {
31113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31116 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
31117 if (!SWIG_IsOK(res3
)) {
31118 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
31120 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
31123 if (!wxPyCheckForApp()) SWIG_fail
;
31124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31125 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31126 wxPyEndAllowThreads(__tstate
);
31127 if (PyErr_Occurred()) SWIG_fail
;
31129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31136 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31137 PyObject
*resultobj
= 0;
31138 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
31139 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
31140 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
31141 wxPyPrintPreview
*result
= 0 ;
31147 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
31148 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31149 if (!SWIG_IsOK(res1
)) {
31150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31152 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
31153 if (!SWIG_IsOK(res2
)) {
31154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31156 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
31157 if (!SWIG_IsOK(res3
)) {
31158 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31160 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
31162 if (!wxPyCheckForApp()) SWIG_fail
;
31163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31164 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
31165 wxPyEndAllowThreads(__tstate
);
31166 if (PyErr_Occurred()) SWIG_fail
;
31168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
31175 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
31179 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
31181 if ((argc
>= 2) && (argc
<= 3)) {
31186 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
31187 _v
= SWIG_CheckState(res
);
31189 if (!_v
) goto check_1
;
31191 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
31196 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
31200 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
31205 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31206 PyObject
*resultobj
= 0;
31207 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
31208 PyObject
*arg2
= (PyObject
*) 0 ;
31209 PyObject
*arg3
= (PyObject
*) 0 ;
31212 PyObject
* obj0
= 0 ;
31213 PyObject
* obj1
= 0 ;
31214 PyObject
* obj2
= 0 ;
31215 char * kwnames
[] = {
31216 (char *) "self",(char *) "self",(char *) "_class", NULL
31219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
31221 if (!SWIG_IsOK(res1
)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31224 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
31228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31229 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31230 wxPyEndAllowThreads(__tstate
);
31231 if (PyErr_Occurred()) SWIG_fail
;
31233 resultobj
= SWIG_Py_Void();
31240 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31243 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
31244 return SWIG_Py_Void();
31247 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31248 return SWIG_Python_InitShadowInstance(args
);
31251 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31252 PyObject
*resultobj
= 0;
31253 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31254 wxFrame
*arg2
= (wxFrame
*) 0 ;
31255 wxString
*arg3
= 0 ;
31256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31260 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31261 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31262 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31263 wxPyPreviewFrame
*result
= 0 ;
31267 bool temp3
= false ;
31272 bool temp7
= false ;
31273 PyObject
* obj0
= 0 ;
31274 PyObject
* obj1
= 0 ;
31275 PyObject
* obj2
= 0 ;
31276 PyObject
* obj3
= 0 ;
31277 PyObject
* obj4
= 0 ;
31278 PyObject
* obj5
= 0 ;
31279 PyObject
* obj6
= 0 ;
31280 char * kwnames
[] = {
31281 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31285 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31286 if (!SWIG_IsOK(res1
)) {
31287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31289 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31290 if (!SWIG_IsOK(res2
)) {
31291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31293 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31295 arg3
= wxString_in_helper(obj2
);
31296 if (arg3
== NULL
) SWIG_fail
;
31302 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31308 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31312 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31313 if (!SWIG_IsOK(ecode6
)) {
31314 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31316 arg6
= static_cast< long >(val6
);
31320 arg7
= wxString_in_helper(obj6
);
31321 if (arg7
== NULL
) SWIG_fail
;
31326 if (!wxPyCheckForApp()) SWIG_fail
;
31327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31328 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31329 wxPyEndAllowThreads(__tstate
);
31330 if (PyErr_Occurred()) SWIG_fail
;
31332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31355 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31356 PyObject
*resultobj
= 0;
31357 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31358 PyObject
*arg2
= (PyObject
*) 0 ;
31359 PyObject
*arg3
= (PyObject
*) 0 ;
31362 PyObject
* obj0
= 0 ;
31363 PyObject
* obj1
= 0 ;
31364 PyObject
* obj2
= 0 ;
31365 char * kwnames
[] = {
31366 (char *) "self",(char *) "self",(char *) "_class", NULL
31369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31371 if (!SWIG_IsOK(res1
)) {
31372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31374 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31379 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31380 wxPyEndAllowThreads(__tstate
);
31381 if (PyErr_Occurred()) SWIG_fail
;
31383 resultobj
= SWIG_Py_Void();
31390 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31391 PyObject
*resultobj
= 0;
31392 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31393 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31398 PyObject
* obj0
= 0 ;
31399 PyObject
* obj1
= 0 ;
31400 char * kwnames
[] = {
31401 (char *) "self",(char *) "canvas", NULL
31404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31406 if (!SWIG_IsOK(res1
)) {
31407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31409 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31410 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31411 if (!SWIG_IsOK(res2
)) {
31412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31414 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31417 (arg1
)->SetPreviewCanvas(arg2
);
31418 wxPyEndAllowThreads(__tstate
);
31419 if (PyErr_Occurred()) SWIG_fail
;
31421 resultobj
= SWIG_Py_Void();
31428 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31429 PyObject
*resultobj
= 0;
31430 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31431 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31436 PyObject
* obj0
= 0 ;
31437 PyObject
* obj1
= 0 ;
31438 char * kwnames
[] = {
31439 (char *) "self",(char *) "bar", NULL
31442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31444 if (!SWIG_IsOK(res1
)) {
31445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31447 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31448 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31449 if (!SWIG_IsOK(res2
)) {
31450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31452 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31455 (arg1
)->SetControlBar(arg2
);
31456 wxPyEndAllowThreads(__tstate
);
31457 if (PyErr_Occurred()) SWIG_fail
;
31459 resultobj
= SWIG_Py_Void();
31466 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31467 PyObject
*resultobj
= 0;
31468 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31471 PyObject
*swig_obj
[1] ;
31473 if (!args
) SWIG_fail
;
31474 swig_obj
[0] = args
;
31475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31476 if (!SWIG_IsOK(res1
)) {
31477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31479 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31482 (arg1
)->Initialize();
31483 wxPyEndAllowThreads(__tstate
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31486 resultobj
= SWIG_Py_Void();
31493 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31494 PyObject
*resultobj
= 0;
31495 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31498 PyObject
*swig_obj
[1] ;
31500 if (!args
) SWIG_fail
;
31501 swig_obj
[0] = args
;
31502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31503 if (!SWIG_IsOK(res1
)) {
31504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31506 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 (arg1
)->CreateCanvas();
31510 wxPyEndAllowThreads(__tstate
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= SWIG_Py_Void();
31520 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31521 PyObject
*resultobj
= 0;
31522 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31525 PyObject
*swig_obj
[1] ;
31527 if (!args
) SWIG_fail
;
31528 swig_obj
[0] = args
;
31529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31530 if (!SWIG_IsOK(res1
)) {
31531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31533 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31536 (arg1
)->CreateControlBar();
31537 wxPyEndAllowThreads(__tstate
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31540 resultobj
= SWIG_Py_Void();
31547 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31550 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31551 return SWIG_Py_Void();
31554 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31555 return SWIG_Python_InitShadowInstance(args
);
31558 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31559 PyObject
*resultobj
= 0;
31560 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31562 wxWindow
*arg3
= (wxWindow
*) 0 ;
31563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31567 long arg6
= (long) 0 ;
31568 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31569 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31570 wxPyPreviewControlBar
*result
= 0 ;
31580 bool temp7
= false ;
31581 PyObject
* obj0
= 0 ;
31582 PyObject
* obj1
= 0 ;
31583 PyObject
* obj2
= 0 ;
31584 PyObject
* obj3
= 0 ;
31585 PyObject
* obj4
= 0 ;
31586 PyObject
* obj5
= 0 ;
31587 PyObject
* obj6
= 0 ;
31588 char * kwnames
[] = {
31589 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31593 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31594 if (!SWIG_IsOK(res1
)) {
31595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31597 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31598 if (!SWIG_IsOK(ecode2
)) {
31599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31601 arg2
= static_cast< long >(val2
);
31602 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31603 if (!SWIG_IsOK(res3
)) {
31604 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31606 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31610 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31616 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31620 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31621 if (!SWIG_IsOK(ecode6
)) {
31622 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31624 arg6
= static_cast< long >(val6
);
31628 arg7
= wxString_in_helper(obj6
);
31629 if (arg7
== NULL
) SWIG_fail
;
31634 if (!wxPyCheckForApp()) SWIG_fail
;
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31636 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31637 wxPyEndAllowThreads(__tstate
);
31638 if (PyErr_Occurred()) SWIG_fail
;
31640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31655 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31656 PyObject
*resultobj
= 0;
31657 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31658 PyObject
*arg2
= (PyObject
*) 0 ;
31659 PyObject
*arg3
= (PyObject
*) 0 ;
31662 PyObject
* obj0
= 0 ;
31663 PyObject
* obj1
= 0 ;
31664 PyObject
* obj2
= 0 ;
31665 char * kwnames
[] = {
31666 (char *) "self",(char *) "self",(char *) "_class", NULL
31669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31671 if (!SWIG_IsOK(res1
)) {
31672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31674 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31679 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31680 wxPyEndAllowThreads(__tstate
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31683 resultobj
= SWIG_Py_Void();
31690 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31691 PyObject
*resultobj
= 0;
31692 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31693 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31697 PyObject
* obj0
= 0 ;
31698 PyObject
* obj1
= 0 ;
31699 char * kwnames
[] = {
31700 (char *) "self",(char *) "preview", NULL
31703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31705 if (!SWIG_IsOK(res1
)) {
31706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31708 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31709 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31710 if (!SWIG_IsOK(res2
)) {
31711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31715 (arg1
)->SetPrintPreview(arg2
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_Py_Void();
31726 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31727 PyObject
*resultobj
= 0;
31728 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31731 PyObject
*swig_obj
[1] ;
31733 if (!args
) SWIG_fail
;
31734 swig_obj
[0] = args
;
31735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31736 if (!SWIG_IsOK(res1
)) {
31737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31739 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31742 (arg1
)->CreateButtons();
31743 wxPyEndAllowThreads(__tstate
);
31744 if (PyErr_Occurred()) SWIG_fail
;
31746 resultobj
= SWIG_Py_Void();
31753 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31754 PyObject
*resultobj
= 0;
31755 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31761 PyObject
* obj0
= 0 ;
31762 PyObject
* obj1
= 0 ;
31763 char * kwnames
[] = {
31764 (char *) "self",(char *) "zoom", NULL
31767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31769 if (!SWIG_IsOK(res1
)) {
31770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31772 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31774 if (!SWIG_IsOK(ecode2
)) {
31775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31777 arg2
= static_cast< int >(val2
);
31779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31780 (arg1
)->SetZoomControl(arg2
);
31781 wxPyEndAllowThreads(__tstate
);
31782 if (PyErr_Occurred()) SWIG_fail
;
31784 resultobj
= SWIG_Py_Void();
31791 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31793 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31794 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31795 return SWIG_Py_Void();
31798 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31799 return SWIG_Python_InitShadowInstance(args
);
31802 static PyMethodDef SwigMethods
[] = {
31803 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31805 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31807 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31809 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31810 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31812 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31819 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31821 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31823 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31824 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31825 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31826 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31827 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31830 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31833 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31834 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31836 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31838 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31839 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31840 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31841 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31845 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31847 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31851 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31853 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31855 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31858 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31859 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31861 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31863 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31865 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31868 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31875 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31877 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31882 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31883 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31885 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31888 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31890 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31892 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31897 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31898 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31901 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31902 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31904 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31906 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31907 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31910 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31911 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31912 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31914 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31915 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31916 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31917 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31918 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31920 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31923 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31932 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31933 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31935 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31936 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31938 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31940 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31941 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31943 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31949 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31950 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31953 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31954 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31956 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31958 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31960 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31962 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31964 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31966 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31967 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31970 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31971 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31972 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31973 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31974 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31975 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31977 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31985 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31987 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31990 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31991 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31994 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31995 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31997 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31998 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31999 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
32002 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
32004 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
32006 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
32007 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
32008 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
32011 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
32013 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
32015 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
32017 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
32019 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
32020 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
32021 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
32024 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
32026 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
32027 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
32028 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
32030 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
32032 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
32033 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
32037 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
32038 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
32039 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
32040 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
32044 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
32045 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
32047 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
32050 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
32051 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
32053 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
32056 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
32057 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
32058 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
32061 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
32062 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
32063 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
32065 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
32074 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
32075 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
32076 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
32077 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
32079 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
32080 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32083 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32084 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
32086 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
32089 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
32090 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
32091 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
32094 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
32095 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
32097 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
32098 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
32100 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
32105 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
32106 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
32112 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
32113 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
32115 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
32119 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32121 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32122 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
32124 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
32126 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
32127 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
32128 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
32129 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
32131 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
32132 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
32133 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
32135 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
32137 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
32138 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
32140 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
32141 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
32142 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
32143 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
32144 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
32145 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
32150 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
32151 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
32153 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
32154 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
32155 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
32158 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
32159 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
32162 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
32163 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
32171 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
32172 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
32173 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
32174 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
32175 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
32176 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
32177 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
32178 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
32179 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
32180 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
32183 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32184 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32185 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
32187 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
32188 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
32190 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
32191 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
32193 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32195 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32196 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32198 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32199 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
32201 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32202 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32203 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
32204 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
32205 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
32207 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
32208 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
32209 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
32210 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
32211 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
32212 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
32219 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
32220 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
32222 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
32223 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
32224 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
32227 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
32228 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
32232 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
32233 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
32234 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
32236 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
32237 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
32238 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
32239 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
32243 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
32244 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
32246 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
32247 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
32248 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
32249 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
32253 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
32254 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
32256 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
32258 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
32260 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
32261 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
32263 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
32265 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
32266 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
32267 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
32268 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
32269 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
32270 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
32272 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
32273 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
32275 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
32277 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
32278 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32279 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32281 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32283 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32284 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32286 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32293 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32294 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32295 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32296 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32297 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32298 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32299 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32300 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32301 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32303 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32310 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32311 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32312 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32313 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32314 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32315 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32316 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32317 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32318 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32320 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32327 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32328 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32329 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32330 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32331 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32332 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32333 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32334 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32335 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32336 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32337 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32338 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32339 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32340 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
32341 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32342 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32343 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32344 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32345 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32346 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32347 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32348 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32349 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32350 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32351 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32365 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32367 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32369 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32370 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32371 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32372 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32378 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32379 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32380 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32381 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32382 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32383 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32384 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32385 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32386 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32387 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32388 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32389 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32390 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32391 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32392 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32402 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32403 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32404 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32405 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32407 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32408 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32409 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32410 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32411 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32412 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32413 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32414 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32415 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32416 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32417 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32418 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32419 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32420 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32421 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32422 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32423 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32437 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32438 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32439 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32440 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32441 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32442 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32444 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32445 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32447 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32448 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32449 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32450 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32451 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32452 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32453 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32455 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32461 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32462 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32463 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32464 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32465 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32467 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32469 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32470 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32475 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32476 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32478 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32479 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32480 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32485 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32487 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32489 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32491 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32493 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32494 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32497 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32498 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32499 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32500 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32501 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32502 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32503 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32504 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32506 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32507 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32509 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32510 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32511 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32512 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32513 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32514 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32515 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32516 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32517 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32518 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32519 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32520 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32521 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32522 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32523 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32524 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32525 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32526 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32527 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32528 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32529 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32531 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32532 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32535 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32536 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32537 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32538 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32539 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32541 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32542 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32543 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32544 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32545 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32546 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32547 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32548 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32549 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32550 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32551 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32552 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32553 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32554 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32555 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32556 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32557 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32560 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32561 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32562 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32563 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32564 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32565 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32566 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32568 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32569 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32570 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32571 { NULL
, NULL
, 0, NULL
}
32575 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32577 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32578 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32580 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32581 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32583 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32584 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32586 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32587 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32589 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32590 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32592 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32593 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32595 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32596 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32598 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32599 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32601 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32602 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32604 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32605 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32607 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32608 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32610 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32611 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32613 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32614 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32616 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32617 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32619 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32620 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32622 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32623 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32625 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32626 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32628 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32629 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32631 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32632 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32634 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32635 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32637 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32638 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32640 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32641 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32643 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32644 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32646 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32647 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32649 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32650 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32652 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32653 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32655 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32656 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32658 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32659 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32661 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32662 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32664 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32665 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32667 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32668 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32670 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32671 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32673 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32674 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32676 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32677 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32679 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32680 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32682 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32683 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32685 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32686 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32688 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32689 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32691 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32692 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32694 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32695 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32697 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32698 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32700 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32701 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32703 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32704 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32706 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32707 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32709 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32710 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32712 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32713 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32715 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
32716 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
32718 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32719 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32721 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32722 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32724 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32727 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32730 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32733 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32734 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32736 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32737 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32739 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32740 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32742 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32743 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32745 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32746 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32748 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32749 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32751 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32752 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32754 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32755 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32757 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32758 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32760 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32761 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32763 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32764 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32766 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32767 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32769 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32770 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32772 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32773 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32775 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32776 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32778 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32779 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32781 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32782 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32784 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32785 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32787 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32788 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32790 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32791 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32793 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32794 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32796 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32797 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32799 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32800 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32802 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32803 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32805 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32806 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32808 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32809 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32811 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32812 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32814 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32815 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32817 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32818 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32820 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32821 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32823 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32824 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32826 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32827 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32829 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32830 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32832 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32833 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32835 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32836 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32838 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32839 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32841 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32842 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32844 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32845 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32847 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32848 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32850 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32851 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32853 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32854 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32856 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32857 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32859 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32860 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32862 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32863 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32865 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32866 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32868 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32869 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32871 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32872 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32874 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32875 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32877 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32878 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32880 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32881 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32883 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
32884 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32886 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32887 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32889 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32890 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32892 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32893 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32895 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32896 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32898 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32899 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32901 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32902 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32904 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32905 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32907 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32908 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32910 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32911 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32913 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32916 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32919 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32920 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32922 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32923 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32925 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32926 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32928 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32929 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32931 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32932 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32934 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32935 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32937 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32938 return (void *)((wxObject
*) ((wxSizer
*) x
));
32940 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32941 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32943 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32946 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32949 static void *_p_wxEventTo_p_wxObject(void *x
) {
32950 return (void *)((wxObject
*) ((wxEvent
*) x
));
32952 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32953 return (void *)((wxObject
*) ((wxFontData
*) x
));
32955 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32956 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32958 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32959 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32961 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32962 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32964 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32965 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32967 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32968 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32970 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32971 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32973 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32974 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32976 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32977 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32979 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32980 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32982 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32983 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32985 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32986 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32988 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32989 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32991 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32992 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32994 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32995 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32997 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33000 static void *_p_wxControlTo_p_wxObject(void *x
) {
33001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33003 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33004 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33006 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
33007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33009 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33010 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33012 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
33013 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
33015 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33016 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33018 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
33019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33021 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
33022 return (void *)((wxObject
*) ((wxColourData
*) x
));
33024 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33025 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33027 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33030 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
33031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
33033 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
33034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33036 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
33037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33039 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
33040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33042 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
33043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33045 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
33046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33048 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
33049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33051 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
33052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33054 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
33055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33057 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
33058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33060 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
33061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33063 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33064 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33066 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
33067 return (void *)((wxObject
*) ((wxPrinter
*) x
));
33069 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33070 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33072 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
33073 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
33075 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33076 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33078 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33079 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33081 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33082 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33084 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33085 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33087 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33088 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33090 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33091 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33093 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33094 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33096 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33097 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33099 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33100 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33102 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33103 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33105 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33106 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33108 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33109 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33111 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33112 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33114 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33115 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33117 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33118 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33120 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33121 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33123 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33124 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33126 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
33127 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
33129 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33130 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33132 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33133 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33135 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33136 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33138 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
33139 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
33141 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33142 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33144 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
33145 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
33147 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
33148 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
33150 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
33151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33153 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
33154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33156 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
33157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33159 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33160 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33162 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
33163 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
33165 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
33166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33168 static void *_p_wxImageTo_p_wxObject(void *x
) {
33169 return (void *)((wxObject
*) ((wxImage
*) x
));
33171 static void *_p_wxFrameTo_p_wxObject(void *x
) {
33172 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
33174 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
33175 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
33177 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33178 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33180 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
33181 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
33183 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
33184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
33186 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
33187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33189 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33190 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33192 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33193 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33195 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33196 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33198 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33199 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33201 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33202 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33204 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33205 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33207 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33208 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33210 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33213 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33216 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33219 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33222 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33225 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33228 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33231 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33234 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33237 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33240 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33243 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33244 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33246 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33247 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33249 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33250 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33252 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33253 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33255 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33258 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33259 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33261 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33264 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33267 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33268 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
33270 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33271 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
33273 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33274 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33276 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33277 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33279 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33280 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33282 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33283 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33285 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33286 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33288 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33289 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33291 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33292 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33294 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33295 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33297 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33298 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33300 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33303 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33306 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33307 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33309 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33310 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33312 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33313 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33315 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33318 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33319 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33321 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33322 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33324 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33327 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33328 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33330 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33331 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33333 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33334 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33336 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33337 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33339 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
33340 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33342 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33343 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33345 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
33346 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33348 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33349 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33351 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33352 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33354 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33355 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33357 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33358 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33360 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33361 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33363 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33364 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33366 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33367 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33369 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33370 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33372 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33373 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33375 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33376 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33378 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33379 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33381 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33382 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33384 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33385 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33387 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33388 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33390 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33391 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33393 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33394 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33396 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33397 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33399 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33400 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33402 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33403 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33405 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33406 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33408 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33409 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33411 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33412 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33414 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33415 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33417 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33418 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33420 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33421 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33423 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33424 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33426 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33427 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33429 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33430 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33432 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33433 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33435 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33436 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33438 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33439 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33441 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33442 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33444 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33445 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33447 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33448 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33450 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33451 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33453 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33454 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33456 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33457 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33459 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33460 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33462 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33463 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33465 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33466 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33468 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33469 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33471 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33472 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33474 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33475 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33477 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33478 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33480 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33481 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33483 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33484 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33486 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33487 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33489 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33490 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33492 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33493 return (void *)((wxWindow
*) ((wxControl
*) x
));
33495 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33496 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33498 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33499 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33501 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33502 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33504 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33505 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33507 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33508 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33510 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33511 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33513 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
33514 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33516 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33517 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33519 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33520 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33522 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33523 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33525 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33526 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33528 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33529 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33531 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33532 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33534 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33535 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33537 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33538 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33540 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33541 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33543 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33544 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33546 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33547 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33549 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33550 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33552 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33553 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33555 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33556 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33558 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33559 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33561 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33562 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33564 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33565 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33567 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33568 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33570 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33571 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33573 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33574 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33576 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33577 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33579 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33580 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33582 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33583 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33585 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33586 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33588 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33589 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33591 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33592 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33594 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33595 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33597 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33598 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33600 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33601 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33603 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
33604 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33606 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33607 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33609 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33610 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33612 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33613 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33615 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33616 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33618 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33619 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33621 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33622 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33624 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33625 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33627 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33628 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33630 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33631 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33633 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33634 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33636 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33637 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33639 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33640 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33642 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33643 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33645 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33646 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33648 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33649 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33651 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33652 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33654 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33655 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33657 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33658 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33660 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33661 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33663 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33664 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33665 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};
33666 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33667 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33668 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33669 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33670 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33671 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33672 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33673 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33674 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33675 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33676 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33677 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33678 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33679 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33680 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33681 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33682 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33683 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33684 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33685 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33686 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33687 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33688 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33689 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33690 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33691 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33692 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33693 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33694 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33695 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33696 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33697 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33698 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33699 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33700 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33701 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33702 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33703 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33704 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33705 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33706 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33707 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33708 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33709 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33710 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33711 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33712 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33713 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33714 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33715 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33716 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33717 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33718 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33719 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33720 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33721 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33722 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33723 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33724 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33725 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33726 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33727 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33728 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33729 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33730 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33731 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33732 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33733 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33734 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33735 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33736 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33737 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33738 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33739 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33740 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33741 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33742 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33743 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33744 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33745 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33746 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33747 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33748 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33749 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33750 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33751 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33752 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33753 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33754 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33755 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33756 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33757 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33758 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33759 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33760 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33761 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33762 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33763 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33764 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33765 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33766 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33767 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33768 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33769 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33770 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33771 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33772 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33773 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33774 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33775 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33776 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33777 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33778 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33779 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33780 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33781 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33782 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33783 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33784 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33785 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33786 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33787 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33788 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33789 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33790 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33791 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33792 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33793 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33794 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33795 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33796 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33797 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33798 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33799 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33800 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33801 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33802 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33803 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33804 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33805 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33806 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33807 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33808 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33809 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33810 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33811 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33812 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33813 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33814 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33815 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33816 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33817 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33818 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33819 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33820 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33821 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33822 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33823 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33824 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33825 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33826 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33827 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33828 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33829 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33830 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33831 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33833 static swig_type_info
*swig_type_initial
[] = {
33836 &_swigt__p_form_ops_t
,
33838 &_swigt__p_unsigned_char
,
33839 &_swigt__p_unsigned_int
,
33840 &_swigt__p_unsigned_long
,
33841 &_swigt__p_wxANIHandler
,
33842 &_swigt__p_wxAcceleratorTable
,
33843 &_swigt__p_wxActivateEvent
,
33844 &_swigt__p_wxArrayInt
,
33845 &_swigt__p_wxArrayString
,
33846 &_swigt__p_wxBMPHandler
,
33847 &_swigt__p_wxBitmap
,
33848 &_swigt__p_wxBoxSizer
,
33849 &_swigt__p_wxCURHandler
,
33850 &_swigt__p_wxCalculateLayoutEvent
,
33851 &_swigt__p_wxChildFocusEvent
,
33852 &_swigt__p_wxClipboardTextEvent
,
33853 &_swigt__p_wxCloseEvent
,
33854 &_swigt__p_wxColour
,
33855 &_swigt__p_wxColourData
,
33856 &_swigt__p_wxColourDialog
,
33857 &_swigt__p_wxCommandEvent
,
33858 &_swigt__p_wxContextMenuEvent
,
33859 &_swigt__p_wxControl
,
33860 &_swigt__p_wxControlWithItems
,
33862 &_swigt__p_wxDateEvent
,
33863 &_swigt__p_wxDialog
,
33864 &_swigt__p_wxDirDialog
,
33865 &_swigt__p_wxDisplayChangedEvent
,
33866 &_swigt__p_wxDropFilesEvent
,
33867 &_swigt__p_wxDuplexMode
,
33868 &_swigt__p_wxEraseEvent
,
33869 &_swigt__p_wxEvent
,
33870 &_swigt__p_wxEvtHandler
,
33871 &_swigt__p_wxFSFile
,
33872 &_swigt__p_wxFileDialog
,
33873 &_swigt__p_wxFileSystem
,
33874 &_swigt__p_wxFindDialogEvent
,
33875 &_swigt__p_wxFindReplaceData
,
33876 &_swigt__p_wxFindReplaceDialog
,
33877 &_swigt__p_wxFlexGridSizer
,
33878 &_swigt__p_wxFocusEvent
,
33880 &_swigt__p_wxFontData
,
33881 &_swigt__p_wxFontDialog
,
33882 &_swigt__p_wxFrame
,
33883 &_swigt__p_wxGBSizerItem
,
33884 &_swigt__p_wxGIFHandler
,
33885 &_swigt__p_wxGridBagSizer
,
33886 &_swigt__p_wxGridSizer
,
33887 &_swigt__p_wxHtmlLinkInfo
,
33888 &_swigt__p_wxICOHandler
,
33890 &_swigt__p_wxIconBundle
,
33891 &_swigt__p_wxIconizeEvent
,
33892 &_swigt__p_wxIdleEvent
,
33893 &_swigt__p_wxImage
,
33894 &_swigt__p_wxImageHandler
,
33895 &_swigt__p_wxIndividualLayoutConstraint
,
33896 &_swigt__p_wxInitDialogEvent
,
33897 &_swigt__p_wxItemContainer
,
33898 &_swigt__p_wxJPEGHandler
,
33899 &_swigt__p_wxKeyEvent
,
33900 &_swigt__p_wxLayoutAlgorithm
,
33901 &_swigt__p_wxLayoutConstraints
,
33902 &_swigt__p_wxMDIChildFrame
,
33903 &_swigt__p_wxMDIClientWindow
,
33904 &_swigt__p_wxMDIParentFrame
,
33905 &_swigt__p_wxMaximizeEvent
,
33907 &_swigt__p_wxMenuBar
,
33908 &_swigt__p_wxMenuEvent
,
33909 &_swigt__p_wxMenuItem
,
33910 &_swigt__p_wxMessageDialog
,
33911 &_swigt__p_wxMiniFrame
,
33912 &_swigt__p_wxMouseCaptureChangedEvent
,
33913 &_swigt__p_wxMouseCaptureLostEvent
,
33914 &_swigt__p_wxMouseEvent
,
33915 &_swigt__p_wxMoveEvent
,
33916 &_swigt__p_wxMultiChoiceDialog
,
33917 &_swigt__p_wxNavigationKeyEvent
,
33918 &_swigt__p_wxNcPaintEvent
,
33919 &_swigt__p_wxNotifyEvent
,
33920 &_swigt__p_wxNumberEntryDialog
,
33921 &_swigt__p_wxObject
,
33922 &_swigt__p_wxPCXHandler
,
33923 &_swigt__p_wxPNGHandler
,
33924 &_swigt__p_wxPNMHandler
,
33925 &_swigt__p_wxPageSetupDialog
,
33926 &_swigt__p_wxPageSetupDialogData
,
33927 &_swigt__p_wxPaintEvent
,
33928 &_swigt__p_wxPaletteChangedEvent
,
33929 &_swigt__p_wxPanel
,
33930 &_swigt__p_wxPaperSize
,
33931 &_swigt__p_wxPasswordEntryDialog
,
33932 &_swigt__p_wxPoint
,
33933 &_swigt__p_wxPopupWindow
,
33934 &_swigt__p_wxPreviewCanvas
,
33935 &_swigt__p_wxPreviewControlBar
,
33936 &_swigt__p_wxPreviewFrame
,
33937 &_swigt__p_wxPrintData
,
33938 &_swigt__p_wxPrintDialog
,
33939 &_swigt__p_wxPrintDialogData
,
33940 &_swigt__p_wxPrintPreview
,
33941 &_swigt__p_wxPrinter
,
33942 &_swigt__p_wxProgressDialog
,
33943 &_swigt__p_wxPyApp
,
33944 &_swigt__p_wxPyCommandEvent
,
33945 &_swigt__p_wxPyEvent
,
33946 &_swigt__p_wxPyHtmlListBox
,
33947 &_swigt__p_wxPyImageHandler
,
33948 &_swigt__p_wxPyPanel
,
33949 &_swigt__p_wxPyPopupTransientWindow
,
33950 &_swigt__p_wxPyPreviewControlBar
,
33951 &_swigt__p_wxPyPreviewFrame
,
33952 &_swigt__p_wxPyPrintPreview
,
33953 &_swigt__p_wxPyPrintout
,
33954 &_swigt__p_wxPyScrolledWindow
,
33955 &_swigt__p_wxPySizer
,
33956 &_swigt__p_wxPyTaskBarIcon
,
33957 &_swigt__p_wxPyVListBox
,
33958 &_swigt__p_wxPyVScrolledWindow
,
33959 &_swigt__p_wxPyValidator
,
33960 &_swigt__p_wxPyWindow
,
33961 &_swigt__p_wxQueryLayoutInfoEvent
,
33962 &_swigt__p_wxQueryNewPaletteEvent
,
33964 &_swigt__p_wxRegion
,
33965 &_swigt__p_wxSashEvent
,
33966 &_swigt__p_wxSashLayoutWindow
,
33967 &_swigt__p_wxSashWindow
,
33968 &_swigt__p_wxScrollEvent
,
33969 &_swigt__p_wxScrollWinEvent
,
33970 &_swigt__p_wxScrolledWindow
,
33971 &_swigt__p_wxSetCursorEvent
,
33972 &_swigt__p_wxShowEvent
,
33973 &_swigt__p_wxSimpleHtmlListBox
,
33974 &_swigt__p_wxSingleChoiceDialog
,
33976 &_swigt__p_wxSizeEvent
,
33977 &_swigt__p_wxSizer
,
33978 &_swigt__p_wxSizerItem
,
33979 &_swigt__p_wxSplashScreen
,
33980 &_swigt__p_wxSplashScreenWindow
,
33981 &_swigt__p_wxSplitterEvent
,
33982 &_swigt__p_wxSplitterWindow
,
33983 &_swigt__p_wxStaticBoxSizer
,
33984 &_swigt__p_wxStatusBar
,
33985 &_swigt__p_wxStdDialogButtonSizer
,
33986 &_swigt__p_wxString
,
33987 &_swigt__p_wxSysColourChangedEvent
,
33988 &_swigt__p_wxTGAHandler
,
33989 &_swigt__p_wxTIFFHandler
,
33990 &_swigt__p_wxTaskBarIcon
,
33991 &_swigt__p_wxTaskBarIconEvent
,
33992 &_swigt__p_wxTextEntryDialog
,
33993 &_swigt__p_wxTipWindow
,
33994 &_swigt__p_wxToolBar
,
33995 &_swigt__p_wxTopLevelWindow
,
33996 &_swigt__p_wxUpdateUIEvent
,
33997 &_swigt__p_wxValidator
,
33998 &_swigt__p_wxVisualAttributes
,
33999 &_swigt__p_wxWindow
,
34000 &_swigt__p_wxWindowCreateEvent
,
34001 &_swigt__p_wxWindowDestroyEvent
,
34002 &_swigt__p_wxXPMHandler
,
34005 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
34006 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
34007 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
34008 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
34009 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
34010 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
34011 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
34012 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
34013 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
34014 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
34015 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
34016 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
34017 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
34018 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
34019 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34020 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
34021 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
34022 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
34023 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34024 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34025 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34026 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34027 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
34028 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}};
34029 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
34030 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}};
34031 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
34032 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
34033 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
34034 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34035 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34036 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
34037 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
34038 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34039 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34040 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
34041 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
34042 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
34043 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34044 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34045 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
34046 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
34047 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
34048 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34049 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
34050 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34051 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34052 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34053 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
34054 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
34055 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
34056 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
34057 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34058 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
34059 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}};
34060 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
34061 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
34062 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
34063 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
34064 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
34065 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
34066 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
34067 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
34068 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
34069 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34070 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
34071 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
34072 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
34073 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
34074 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
34075 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
34076 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
34077 static swig_cast_info _swigc__p_wxItemContainer
[] = { {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxItemContainer
, 0, 0, 0},{0, 0, 0, 0}};
34078 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
34079 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
34080 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
34081 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
34082 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
34083 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
34084 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
34085 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
34086 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34087 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}};
34088 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34089 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
34090 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34091 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
34092 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
34093 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34094 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34095 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
34096 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
34097 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34098 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
34099 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
34100 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
34101 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
34102 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
34103 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
34104 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
34105 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
34106 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34107 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34108 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
34109 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
34110 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34111 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34112 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
34113 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
34114 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
34115 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
34116 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
34117 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
34118 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
34119 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
34120 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34121 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
34122 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
34123 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
34124 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
34125 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
34126 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
34127 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}};
34128 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}};
34129 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
34130 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
34131 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
34132 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}};
34133 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
34134 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
34135 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox
, 0, 0},{0, 0, 0, 0}};
34136 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
34137 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0},{0, 0, 0, 0}};
34138 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
34139 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
34140 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
34141 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
34142 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
34143 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34144 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
34145 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = { {&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}};
34146 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
34147 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
34148 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
34149 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
34150 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
34151 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
34152 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}};
34153 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
34154 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}};
34155 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
34156 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
34157 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
34158 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
34159 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
34160 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
34161 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
34162 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
34163 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
34164 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
34165 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
34166 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
34167 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}};
34168 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
34169 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
34170 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
34171 static swig_cast_info _swigc__p_wxValidator
[] = { {&_swigt__p_wxValidator
, 0, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxValidator
, 0, 0},{0, 0, 0, 0}};
34172 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
34173 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
34175 static swig_cast_info
*swig_cast_initial
[] = {
34178 _swigc__p_form_ops_t
,
34180 _swigc__p_unsigned_char
,
34181 _swigc__p_unsigned_int
,
34182 _swigc__p_unsigned_long
,
34183 _swigc__p_wxANIHandler
,
34184 _swigc__p_wxAcceleratorTable
,
34185 _swigc__p_wxActivateEvent
,
34186 _swigc__p_wxArrayInt
,
34187 _swigc__p_wxArrayString
,
34188 _swigc__p_wxBMPHandler
,
34189 _swigc__p_wxBitmap
,
34190 _swigc__p_wxBoxSizer
,
34191 _swigc__p_wxCURHandler
,
34192 _swigc__p_wxCalculateLayoutEvent
,
34193 _swigc__p_wxChildFocusEvent
,
34194 _swigc__p_wxClipboardTextEvent
,
34195 _swigc__p_wxCloseEvent
,
34196 _swigc__p_wxColour
,
34197 _swigc__p_wxColourData
,
34198 _swigc__p_wxColourDialog
,
34199 _swigc__p_wxCommandEvent
,
34200 _swigc__p_wxContextMenuEvent
,
34201 _swigc__p_wxControl
,
34202 _swigc__p_wxControlWithItems
,
34204 _swigc__p_wxDateEvent
,
34205 _swigc__p_wxDialog
,
34206 _swigc__p_wxDirDialog
,
34207 _swigc__p_wxDisplayChangedEvent
,
34208 _swigc__p_wxDropFilesEvent
,
34209 _swigc__p_wxDuplexMode
,
34210 _swigc__p_wxEraseEvent
,
34212 _swigc__p_wxEvtHandler
,
34213 _swigc__p_wxFSFile
,
34214 _swigc__p_wxFileDialog
,
34215 _swigc__p_wxFileSystem
,
34216 _swigc__p_wxFindDialogEvent
,
34217 _swigc__p_wxFindReplaceData
,
34218 _swigc__p_wxFindReplaceDialog
,
34219 _swigc__p_wxFlexGridSizer
,
34220 _swigc__p_wxFocusEvent
,
34222 _swigc__p_wxFontData
,
34223 _swigc__p_wxFontDialog
,
34225 _swigc__p_wxGBSizerItem
,
34226 _swigc__p_wxGIFHandler
,
34227 _swigc__p_wxGridBagSizer
,
34228 _swigc__p_wxGridSizer
,
34229 _swigc__p_wxHtmlLinkInfo
,
34230 _swigc__p_wxICOHandler
,
34232 _swigc__p_wxIconBundle
,
34233 _swigc__p_wxIconizeEvent
,
34234 _swigc__p_wxIdleEvent
,
34236 _swigc__p_wxImageHandler
,
34237 _swigc__p_wxIndividualLayoutConstraint
,
34238 _swigc__p_wxInitDialogEvent
,
34239 _swigc__p_wxItemContainer
,
34240 _swigc__p_wxJPEGHandler
,
34241 _swigc__p_wxKeyEvent
,
34242 _swigc__p_wxLayoutAlgorithm
,
34243 _swigc__p_wxLayoutConstraints
,
34244 _swigc__p_wxMDIChildFrame
,
34245 _swigc__p_wxMDIClientWindow
,
34246 _swigc__p_wxMDIParentFrame
,
34247 _swigc__p_wxMaximizeEvent
,
34249 _swigc__p_wxMenuBar
,
34250 _swigc__p_wxMenuEvent
,
34251 _swigc__p_wxMenuItem
,
34252 _swigc__p_wxMessageDialog
,
34253 _swigc__p_wxMiniFrame
,
34254 _swigc__p_wxMouseCaptureChangedEvent
,
34255 _swigc__p_wxMouseCaptureLostEvent
,
34256 _swigc__p_wxMouseEvent
,
34257 _swigc__p_wxMoveEvent
,
34258 _swigc__p_wxMultiChoiceDialog
,
34259 _swigc__p_wxNavigationKeyEvent
,
34260 _swigc__p_wxNcPaintEvent
,
34261 _swigc__p_wxNotifyEvent
,
34262 _swigc__p_wxNumberEntryDialog
,
34263 _swigc__p_wxObject
,
34264 _swigc__p_wxPCXHandler
,
34265 _swigc__p_wxPNGHandler
,
34266 _swigc__p_wxPNMHandler
,
34267 _swigc__p_wxPageSetupDialog
,
34268 _swigc__p_wxPageSetupDialogData
,
34269 _swigc__p_wxPaintEvent
,
34270 _swigc__p_wxPaletteChangedEvent
,
34272 _swigc__p_wxPaperSize
,
34273 _swigc__p_wxPasswordEntryDialog
,
34275 _swigc__p_wxPopupWindow
,
34276 _swigc__p_wxPreviewCanvas
,
34277 _swigc__p_wxPreviewControlBar
,
34278 _swigc__p_wxPreviewFrame
,
34279 _swigc__p_wxPrintData
,
34280 _swigc__p_wxPrintDialog
,
34281 _swigc__p_wxPrintDialogData
,
34282 _swigc__p_wxPrintPreview
,
34283 _swigc__p_wxPrinter
,
34284 _swigc__p_wxProgressDialog
,
34286 _swigc__p_wxPyCommandEvent
,
34287 _swigc__p_wxPyEvent
,
34288 _swigc__p_wxPyHtmlListBox
,
34289 _swigc__p_wxPyImageHandler
,
34290 _swigc__p_wxPyPanel
,
34291 _swigc__p_wxPyPopupTransientWindow
,
34292 _swigc__p_wxPyPreviewControlBar
,
34293 _swigc__p_wxPyPreviewFrame
,
34294 _swigc__p_wxPyPrintPreview
,
34295 _swigc__p_wxPyPrintout
,
34296 _swigc__p_wxPyScrolledWindow
,
34297 _swigc__p_wxPySizer
,
34298 _swigc__p_wxPyTaskBarIcon
,
34299 _swigc__p_wxPyVListBox
,
34300 _swigc__p_wxPyVScrolledWindow
,
34301 _swigc__p_wxPyValidator
,
34302 _swigc__p_wxPyWindow
,
34303 _swigc__p_wxQueryLayoutInfoEvent
,
34304 _swigc__p_wxQueryNewPaletteEvent
,
34306 _swigc__p_wxRegion
,
34307 _swigc__p_wxSashEvent
,
34308 _swigc__p_wxSashLayoutWindow
,
34309 _swigc__p_wxSashWindow
,
34310 _swigc__p_wxScrollEvent
,
34311 _swigc__p_wxScrollWinEvent
,
34312 _swigc__p_wxScrolledWindow
,
34313 _swigc__p_wxSetCursorEvent
,
34314 _swigc__p_wxShowEvent
,
34315 _swigc__p_wxSimpleHtmlListBox
,
34316 _swigc__p_wxSingleChoiceDialog
,
34318 _swigc__p_wxSizeEvent
,
34320 _swigc__p_wxSizerItem
,
34321 _swigc__p_wxSplashScreen
,
34322 _swigc__p_wxSplashScreenWindow
,
34323 _swigc__p_wxSplitterEvent
,
34324 _swigc__p_wxSplitterWindow
,
34325 _swigc__p_wxStaticBoxSizer
,
34326 _swigc__p_wxStatusBar
,
34327 _swigc__p_wxStdDialogButtonSizer
,
34328 _swigc__p_wxString
,
34329 _swigc__p_wxSysColourChangedEvent
,
34330 _swigc__p_wxTGAHandler
,
34331 _swigc__p_wxTIFFHandler
,
34332 _swigc__p_wxTaskBarIcon
,
34333 _swigc__p_wxTaskBarIconEvent
,
34334 _swigc__p_wxTextEntryDialog
,
34335 _swigc__p_wxTipWindow
,
34336 _swigc__p_wxToolBar
,
34337 _swigc__p_wxTopLevelWindow
,
34338 _swigc__p_wxUpdateUIEvent
,
34339 _swigc__p_wxValidator
,
34340 _swigc__p_wxVisualAttributes
,
34341 _swigc__p_wxWindow
,
34342 _swigc__p_wxWindowCreateEvent
,
34343 _swigc__p_wxWindowDestroyEvent
,
34344 _swigc__p_wxXPMHandler
,
34348 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34350 static swig_const_info swig_const_table
[] = {
34351 {0, 0, 0, 0.0, 0, 0}};
34356 /* -----------------------------------------------------------------------------
34357 * Type initialization:
34358 * This problem is tough by the requirement that no dynamic
34359 * memory is used. Also, since swig_type_info structures store pointers to
34360 * swig_cast_info structures and swig_cast_info structures store pointers back
34361 * to swig_type_info structures, we need some lookup code at initialization.
34362 * The idea is that swig generates all the structures that are needed.
34363 * The runtime then collects these partially filled structures.
34364 * The SWIG_InitializeModule function takes these initial arrays out of
34365 * swig_module, and does all the lookup, filling in the swig_module.types
34366 * array with the correct data and linking the correct swig_cast_info
34367 * structures together.
34369 * The generated swig_type_info structures are assigned staticly to an initial
34370 * array. We just loop though that array, and handle each type individually.
34371 * First we lookup if this type has been already loaded, and if so, use the
34372 * loaded structure instead of the generated one. Then we have to fill in the
34373 * cast linked list. The cast data is initially stored in something like a
34374 * two-dimensional array. Each row corresponds to a type (there are the same
34375 * number of rows as there are in the swig_type_initial array). Each entry in
34376 * a column is one of the swig_cast_info structures for that type.
34377 * The cast_initial array is actually an array of arrays, because each row has
34378 * a variable number of columns. So to actually build the cast linked list,
34379 * we find the array of casts associated with the type, and loop through it
34380 * adding the casts to the list. The one last trick we need to do is making
34381 * sure the type pointer in the swig_cast_info struct is correct.
34383 * First off, we lookup the cast->type name to see if it is already loaded.
34384 * There are three cases to handle:
34385 * 1) If the cast->type has already been loaded AND the type we are adding
34386 * casting info to has not been loaded (it is in this module), THEN we
34387 * replace the cast->type pointer with the type pointer that has already
34389 * 2) If BOTH types (the one we are adding casting info to, and the
34390 * cast->type) are loaded, THEN the cast info has already been loaded by
34391 * the previous module so we just ignore it.
34392 * 3) Finally, if cast->type has not already been loaded, then we add that
34393 * swig_cast_info to the linked list (because the cast->type) pointer will
34395 * ----------------------------------------------------------------------------- */
34405 #define SWIGRUNTIME_DEBUG
34409 SWIG_InitializeModule(void *clientdata
) {
34411 swig_module_info
*module_head
;
34412 static int init_run
= 0;
34414 clientdata
= clientdata
;
34416 if (init_run
) return;
34419 /* Initialize the swig_module */
34420 swig_module
.type_initial
= swig_type_initial
;
34421 swig_module
.cast_initial
= swig_cast_initial
;
34423 /* Try and load any already created modules */
34424 module_head
= SWIG_GetModule(clientdata
);
34426 swig_module
.next
= module_head
->next
;
34427 module_head
->next
= &swig_module
;
34429 /* This is the first module loaded */
34430 swig_module
.next
= &swig_module
;
34431 SWIG_SetModule(clientdata
, &swig_module
);
34434 /* Now work on filling in swig_module.types */
34435 #ifdef SWIGRUNTIME_DEBUG
34436 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34438 for (i
= 0; i
< swig_module
.size
; ++i
) {
34439 swig_type_info
*type
= 0;
34440 swig_type_info
*ret
;
34441 swig_cast_info
*cast
;
34443 #ifdef SWIGRUNTIME_DEBUG
34444 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34447 /* if there is another module already loaded */
34448 if (swig_module
.next
!= &swig_module
) {
34449 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34452 /* Overwrite clientdata field */
34453 #ifdef SWIGRUNTIME_DEBUG
34454 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34456 if (swig_module
.type_initial
[i
]->clientdata
) {
34457 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34458 #ifdef SWIGRUNTIME_DEBUG
34459 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34463 type
= swig_module
.type_initial
[i
];
34466 /* Insert casting types */
34467 cast
= swig_module
.cast_initial
[i
];
34468 while (cast
->type
) {
34469 /* Don't need to add information already in the list */
34471 #ifdef SWIGRUNTIME_DEBUG
34472 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34474 if (swig_module
.next
!= &swig_module
) {
34475 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34476 #ifdef SWIGRUNTIME_DEBUG
34477 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34481 if (type
== swig_module
.type_initial
[i
]) {
34482 #ifdef SWIGRUNTIME_DEBUG
34483 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34488 /* Check for casting already in the list */
34489 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34490 #ifdef SWIGRUNTIME_DEBUG
34491 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34493 if (!ocast
) ret
= 0;
34498 #ifdef SWIGRUNTIME_DEBUG
34499 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34502 type
->cast
->prev
= cast
;
34503 cast
->next
= type
->cast
;
34509 /* Set entry in modules->types array equal to the type */
34510 swig_module
.types
[i
] = type
;
34512 swig_module
.types
[i
] = 0;
34514 #ifdef SWIGRUNTIME_DEBUG
34515 printf("**** SWIG_InitializeModule: Cast List ******\n");
34516 for (i
= 0; i
< swig_module
.size
; ++i
) {
34518 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34519 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34520 while (cast
->type
) {
34521 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34525 printf("---- Total casts: %d\n",j
);
34527 printf("**** SWIG_InitializeModule: Cast List ******\n");
34531 /* This function will propagate the clientdata field of type to
34532 * any new swig_type_info structures that have been added into the list
34533 * of equivalent types. It is like calling
34534 * SWIG_TypeClientData(type, clientdata) a second time.
34537 SWIG_PropagateClientData(void) {
34539 swig_cast_info
*equiv
;
34540 static int init_run
= 0;
34542 if (init_run
) return;
34545 for (i
= 0; i
< swig_module
.size
; i
++) {
34546 if (swig_module
.types
[i
]->clientdata
) {
34547 equiv
= swig_module
.types
[i
]->cast
;
34549 if (!equiv
->converter
) {
34550 if (equiv
->type
&& !equiv
->type
->clientdata
)
34551 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34553 equiv
= equiv
->next
;
34573 /* Python-specific SWIG API */
34574 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34575 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34576 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34578 /* -----------------------------------------------------------------------------
34579 * global variable support code.
34580 * ----------------------------------------------------------------------------- */
34582 typedef struct swig_globalvar
{
34583 char *name
; /* Name of global variable */
34584 PyObject
*(*get_attr
)(void); /* Return the current value */
34585 int (*set_attr
)(PyObject
*); /* Set the value */
34586 struct swig_globalvar
*next
;
34589 typedef struct swig_varlinkobject
{
34591 swig_globalvar
*vars
;
34592 } swig_varlinkobject
;
34594 SWIGINTERN PyObject
*
34595 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34596 return PyString_FromString("<Swig global variables>");
34599 SWIGINTERN PyObject
*
34600 swig_varlink_str(swig_varlinkobject
*v
) {
34601 PyObject
*str
= PyString_FromString("(");
34602 swig_globalvar
*var
;
34603 for (var
= v
->vars
; var
; var
=var
->next
) {
34604 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34605 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34607 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34612 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34613 PyObject
*str
= swig_varlink_str(v
);
34614 fprintf(fp
,"Swig global variables ");
34615 fprintf(fp
,"%s\n", PyString_AsString(str
));
34621 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34622 swig_globalvar
*var
= v
->vars
;
34624 swig_globalvar
*n
= var
->next
;
34631 SWIGINTERN PyObject
*
34632 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34633 PyObject
*res
= NULL
;
34634 swig_globalvar
*var
= v
->vars
;
34636 if (strcmp(var
->name
,n
) == 0) {
34637 res
= (*var
->get_attr
)();
34642 if (res
== NULL
&& !PyErr_Occurred()) {
34643 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34649 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34651 swig_globalvar
*var
= v
->vars
;
34653 if (strcmp(var
->name
,n
) == 0) {
34654 res
= (*var
->set_attr
)(p
);
34659 if (res
== 1 && !PyErr_Occurred()) {
34660 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34665 SWIGINTERN PyTypeObject
*
34666 swig_varlink_type(void) {
34667 static char varlink__doc__
[] = "Swig var link object";
34668 static PyTypeObject varlink_type
;
34669 static int type_init
= 0;
34671 const PyTypeObject tmp
34673 PyObject_HEAD_INIT(NULL
)
34674 0, /* Number of items in variable part (ob_size) */
34675 (char *)"swigvarlink", /* Type name (tp_name) */
34676 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34677 0, /* Itemsize (tp_itemsize) */
34678 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34679 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34680 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34681 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34682 0, /* tp_compare */
34683 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34684 0, /* tp_as_number */
34685 0, /* tp_as_sequence */
34686 0, /* tp_as_mapping */
34689 (reprfunc
)swig_varlink_str
, /* tp_str */
34690 0, /* tp_getattro */
34691 0, /* tp_setattro */
34692 0, /* tp_as_buffer */
34694 varlink__doc__
, /* tp_doc */
34695 0, /* tp_traverse */
34697 0, /* tp_richcompare */
34698 0, /* tp_weaklistoffset */
34699 #if PY_VERSION_HEX >= 0x02020000
34700 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34702 #if PY_VERSION_HEX >= 0x02030000
34705 #ifdef COUNT_ALLOCS
34706 0,0,0,0 /* tp_alloc -> tp_next */
34709 varlink_type
= tmp
;
34710 varlink_type
.ob_type
= &PyType_Type
;
34713 return &varlink_type
;
34716 /* Create a variable linking object for use later */
34717 SWIGINTERN PyObject
*
34718 SWIG_Python_newvarlink(void) {
34719 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34723 return ((PyObject
*) result
);
34727 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34728 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34729 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34731 size_t size
= strlen(name
)+1;
34732 gv
->name
= (char *)malloc(size
);
34734 strncpy(gv
->name
,name
,size
);
34735 gv
->get_attr
= get_attr
;
34736 gv
->set_attr
= set_attr
;
34737 gv
->next
= v
->vars
;
34743 SWIGINTERN PyObject
*
34745 static PyObject
*_SWIG_globals
= 0;
34746 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34747 return _SWIG_globals
;
34750 /* -----------------------------------------------------------------------------
34751 * constants/methods manipulation
34752 * ----------------------------------------------------------------------------- */
34754 /* Install Constants */
34756 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34759 for (i
= 0; constants
[i
].type
; ++i
) {
34760 switch(constants
[i
].type
) {
34761 case SWIG_PY_POINTER
:
34762 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34764 case SWIG_PY_BINARY
:
34765 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34772 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34778 /* -----------------------------------------------------------------------------*/
34779 /* Fix SwigMethods to carry the callback ptrs when needed */
34780 /* -----------------------------------------------------------------------------*/
34783 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34784 swig_const_info
*const_table
,
34785 swig_type_info
**types
,
34786 swig_type_info
**types_initial
) {
34788 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34789 const char *c
= methods
[i
].ml_doc
;
34790 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34792 swig_const_info
*ci
= 0;
34793 const char *name
= c
+ 10;
34794 for (j
= 0; const_table
[j
].type
; ++j
) {
34795 if (strncmp(const_table
[j
].name
, name
,
34796 strlen(const_table
[j
].name
)) == 0) {
34797 ci
= &(const_table
[j
]);
34802 size_t shift
= (ci
->ptype
) - types
;
34803 swig_type_info
*ty
= types_initial
[shift
];
34804 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34805 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34806 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34809 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34811 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34813 strncpy(buff
, "swig_ptr: ", 10);
34815 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34816 methods
[i
].ml_doc
= ndoc
;
34828 /* -----------------------------------------------------------------------------*
34829 * Partial Init method
34830 * -----------------------------------------------------------------------------*/
34835 SWIGEXPORT
void SWIG_init(void) {
34838 /* Fix SwigMethods to carry the callback ptrs when needed */
34839 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34841 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34842 d
= PyModule_GetDict(m
);
34844 SWIG_InitializeModule(0);
34845 SWIG_InstallConstants(d
,swig_const_table
);
34848 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34849 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34850 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34851 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34852 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34853 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34854 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34855 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34856 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34857 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34858 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34859 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34860 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34861 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34862 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34863 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34864 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34865 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34866 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34867 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34868 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34869 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34870 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34871 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34872 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34873 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34874 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34875 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34876 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34877 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34878 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34879 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34880 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34881 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34882 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34883 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34884 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34885 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34886 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34887 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34888 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34889 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34890 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34891 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34892 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34893 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34894 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
34895 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34896 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34897 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34898 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34899 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34900 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34901 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34902 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34903 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34904 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34905 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34906 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34907 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34908 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34909 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34910 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34911 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34912 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34913 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34914 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34915 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34916 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34917 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34918 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34919 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34920 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34921 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34922 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34923 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34924 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34925 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34926 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34927 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34928 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34929 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34930 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34931 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34932 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34933 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34934 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34935 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34936 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34937 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34938 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34939 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34940 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34941 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34942 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34943 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34944 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34945 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34946 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34947 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34948 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34949 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34950 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34951 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34952 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34953 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34954 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
34955 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
34956 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
34958 // Map renamed classes back to their common name for OOR
34959 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34960 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34961 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34963 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34964 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34965 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34966 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34967 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34968 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34969 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34970 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34971 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34972 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34973 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34974 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34975 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34976 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34977 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34978 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34979 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34980 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34981 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34982 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34983 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34984 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34985 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34986 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34987 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34988 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34989 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34990 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34991 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34992 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34993 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34994 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34995 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34996 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34997 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34998 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34999 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
35000 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
35001 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
35002 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
35003 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
35004 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
35005 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
35006 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
35007 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
35008 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
35009 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
35010 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
35011 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
35012 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
35013 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
35014 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
35015 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
35016 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
35017 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
35018 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
35019 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
35020 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
35021 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
35022 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
35023 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
35024 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
35025 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
35026 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
35027 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
35028 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
35029 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
35030 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
35031 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
35032 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
35033 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
35034 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
35035 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
35036 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
35037 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
35038 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
35039 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
35040 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
35041 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
35042 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
35043 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
35044 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
35045 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
35046 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
35047 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
35048 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
35049 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
35050 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
35051 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
35052 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
35053 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
35054 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
35055 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
35056 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
35057 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
35058 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
35059 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
35060 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
35061 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
35062 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
35063 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
35064 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
35065 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
35066 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
35068 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");